{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-provider-customer-invoices-controller-create-body-schema.json", "title": "Create_Customer_Invoice", "description": "Owner or patient or both must be provided. If you do not specify owner, we will either use the patient's last payer, or the patient themselves", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/hint-health-customerinvoice-api-openapi.yml#/components/schemas/Provider.CustomerInvoicesController.create_body", "type": "object", "properties": { "integration_record_id": { "type": "string" }, "owner": { "$ref": "#/$defs/Association" }, "patient": { "$ref": "#/$defs/Association" } }, "$defs": { "Association": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] } } }