{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/compabase/main/json-schema/compabase-person-search-item-schema.json",
  "title": "PersonSearchItem",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compabase-openapi.yaml#/components/schemas/PersonSearchItem",
  "type": "object",
  "required": [
    "person_id",
    "display_name",
    "birth_year",
    "company_count"
  ],
  "properties": {
    "person_id": {
      "type": "string",
      "format": "uuid",
      "description": "Stable UUID key for this person. Use with `GET /persons/{personId}/connections`."
    },
    "display_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Full display name of the person."
    },
    "birth_year": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Year of birth when known (derived from registry data; full birth date is not exposed). `null` if unavailable."
    },
    "company_count": {
      "type": "integer",
      "description": "Number of distinct companies this person is linked to."
    }
  }
}