{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/elation-health/main/json-schema/elation-health-handout-schema.json", "title": "Handout", "description": "Contains only webhooks\nAll other fields inherited", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/elation-health-handouts-api-openapi.yml#/components/schemas/Handout", "properties": { "content": { "$ref": "#/$defs/Content" }, "created_date": { "format": "date-time", "readOnly": true, "type": [ "string", "null" ] }, "deleted_date": { "format": "date-time", "readOnly": true, "type": [ "string", "null" ] }, "id": { "readOnly": true, "type": "integer" }, "name": { "description": "The name of the handout.", "maxLength": 255, "type": "string" }, "practice_created": { "format": "int64", "type": "integer" }, "received_date": { "format": "date-time", "readOnly": true, "type": "string" }, "tags": { "items": { "type": "string" }, "type": "array" }, "type": { "$ref": "#/$defs/HandoutType" }, "vis_barcode": { "description": "Should only be set if the type == VIS.", "maxLength": 30, "type": [ "string", "null" ] } }, "required": [ "content", "name", "practice_created", "type" ], "type": "object", "$defs": { "Content": { "description": "The Content serializer. It serialize file data", "properties": { "base64_content": { "type": "string" }, "content_type": { "readOnly": true, "type": "string" }, "original_filename": { "maxLength": 200, "type": "string" } }, "required": [ "base64_content", "original_filename" ], "type": "object" }, "HandoutType": { "enum": [ "Patient Resource", "VIS" ], "type": "string" } } }