Custom output

Send a JSON Schema, and each result carries a data object in that shape.

The output object

output on a search is an OutputSpec. Both fields are optional.

FieldWhat it holds
formatjson (default), jsonl or csv.
schemaJSON Schema for each person's data object.

Send a schema

Describe one person's data object, not the whole response.

{
  "titles": ["Head of Operations"],
  "locations": ["Lisbon"],
  "output": {
    "format": "json",
    "schema": {
      "type": "object",
      "properties": {
        "team_size": {
          "type": ["integer", "null"],
          "description": "People in the team they lead now."
        },
        "languages": {
          "type": ["array", "null"],
          "items": { "type": "string" }
        }
      },
      "required": ["team_size", "languages"]
    }
  }
}

What comes back

The data object sits next to the core fields. Score, summary, verdicts, sources and verification date are always returned, whatever your schema asks for.

{
  "person_id": "per_example_01",
  "name": "Maria Okafor",
  "score": 82,
  "summary": { "must_haves_met": "0 of 0", "nice_to_haves_met": "0 of 0", "unknown": [], "red_flags": [] },
  "must_haves": [],
  "nice_to_haves": [],
  "verified_at": "2026-12-03T09:00:20Z",
  "sources": [
    {
      "provider": "mock",
      "url": "https://lendful.example/team",
      "fetched_at": "2026-12-03T09:00:20Z"
    }
  ],
  "data": {
    "team_size": 12,
    "languages": null
  }
}

Here Humos had no evidence about languages, so the value is null. Plan for null in any field. It means unknown, not empty, zero or false.

sources belongs to the person as a whole. A source for each field inside data is not specified yet. Keep the sources with any value you copy elsewhere.

The safe subset

Humos accepts a subset of JSON Schema.

RuleWhat to do
No recursionDo not let a schema refer back to itself.
Bounded size and depthKeep it small and fairly flat.
additionalPropertiesForced to false. List every field you want.
No evidenceThe value is null.

Not specified yet

The size and depth limits, the supported keywords, and how an unsupported schema is reported. Stick to plain objects, arrays, strings, numbers, booleans and enums. Allow null in your types, handle errors, and validate data on your side before you store it.

JSONL and CSV

You can ask for jsonl or csv in format.

{
  "format": "csv"
}

Not specified yet

How JSONL and CSV results are delivered, which content type they use, and how nested values map to CSV columns. The contract only describes JSON responses. Use json if you need defined behaviour today.