{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/collectly/json-schema/collectly-patient-lookup-schema.json",
  "title": "PatientLookup",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/collectly-patient-checkout-lookup-api-openapi.yml#/components/schemas/PatientLookup",
  "properties": {
    "client_id": {
      "format": "int32",
      "type": "integer",
      "writeOnly": true
    },
    "collectly_patient_id": {
      "format": "int32",
      "readOnly": true,
      "type": "integer"
    },
    "patient_external_id": {
      "minLength": 1,
      "type": "string",
      "writeOnly": true
    }
  },
  "required": [
    "client_id",
    "patient_external_id"
  ],
  "type": "object"
}