{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/nextgen-healthcare/main/json-schema/nextgen-healthcare-goal-schema.json", "title": "Goal", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/nextgen-healthcare-goal-api-openapi.yml#/components/schemas/Goal", "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1 }, "meta": { "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "string" } } }, "required": [ "profile" ] }, "lifecyclestatus": { "type": "string", "description": "describe the status" }, "description": { "type": "object", "description": "describe the status.", "properties": { "text": { "type": "string" } } }, "subject": { "type": "object", "properties": { "reference": { "type": "string" } } }, "target": { "type": "array", "items": { "type": "object", "properties": { "due date": { "type": "string", "minLength": 1, "description": "Date in format - YYYY-MM-DDThh:mm:ss+zz" } } } } }, "required": [ "resourceType", "id", "meta", "lifecyclestatus", "description", "subject", "target" ] }