{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hlaverify-com/json-schema/hlaverify-com-pgx-input-schema.json",
  "title": "PgxInput",
  "description": "One side of a pgx lookup: exactly one of typing (a Typing object) or alleles (a flat list of reported names). Allele strings only, never patient identifiers.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hlaverify-com-openapi.json#/components/schemas/PgxInput",
  "type": "object",
  "properties": {
    "typing": {
      "$ref": "#/$defs/Typing"
    },
    "alleles": {
      "type": "array",
      "maxItems": 96,
      "items": {
        "type": "string",
        "maxLength": 64
      }
    }
  },
  "$defs": {
    "Typing": {
      "type": "object",
      "description": "locus -> up to 4 reported allele names. Allele strings only: never patient names, medical record numbers, dates of birth, or accession or case identifiers.",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "maxItems": 4
      }
    }
  }
}