{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-provider-patients-controller-matching-body-schema.json", "title": "Match_Patients", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/hint-health-patient-api-openapi.yml#/components/schemas/Provider.PatientsController.matching_body", "type": "object", "properties": { "first_name": { "type": "string" }, "last_name": { "type": "string" }, "middle_name": { "type": "string" }, "email": { "type": "string" }, "dob": { "type": "string", "format": "date", "description": "Date must be formatted as YYYY-MM-DD." }, "phones": { "type": "array", "items": { "$ref": "#/$defs/PhoneNumber" } } }, "required": [ "first_name", "last_name" ], "$defs": { "PhoneNumber": { "type": "object", "properties": { "id": { "type": "string" }, "number": { "type": "number" }, "type": { "type": "string" }, "us_formattable": { "type": "boolean", "description": "Make this false if your number is not exactly 10 digits" } }, "required": [ "number", "type" ] } } }