{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-public-interaction-lab-blueprint-one-schema.json", "title": "Public.Interaction.LabBlueprint_one", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/hint-health-labinteraction-api-openapi.yml#/components/schemas/Public.Interaction.LabBlueprint_one", "type": "object", "properties": { "id": { "type": "string" }, "event_timestamp": { "type": "string" }, "status": { "type": "string" }, "type": { "type": "string" }, "vendor_order_id": { "type": "string" }, "order": { "$ref": "#/$defs/Public.Interaction.Lab.OrderBlueprint_leaf" }, "report": { "$ref": "#/$defs/Public.Interaction.Lab.ReportBlueprint_leaf" }, "results": { "$ref": "#/$defs/Public.Interaction.Lab.ResultBlueprint_leaf" } }, "$defs": { "Public.Interaction.Lab.Order.ActionBlueprint_leaf": { "type": "object", "properties": { "reference": { "type": "string" }, "display": { "type": "string" } } }, "Public.Interaction.Lab.Order.SubjectBlueprint_leaf": { "type": "object", "properties": { "reference": { "type": "string" }, "display": { "type": "string" } } }, "Public.Interaction.Lab.OrderBlueprint_leaf": { "type": "object", "properties": { "lab_reference_id": { "type": "string" }, "ordered_from": { "type": "string" }, "authored_on": { "type": "string" }, "collected_at": { "type": "string" }, "author": { "type": "string" }, "author_reference": { "type": "string" }, "intent": { "type": "string" }, "lab_account_id": { "type": "string" }, "actions": { "$ref": "#/$defs/Public.Interaction.Lab.Order.ActionBlueprint_leaf" }, "subject": { "$ref": "#/$defs/Public.Interaction.Lab.Order.SubjectBlueprint_leaf" } } }, "Public.Interaction.Lab.ReportBlueprint_leaf": { "type": "object", "properties": { "issued": { "type": "string" }, "status": { "type": "string" }, "lab_reference_id": { "type": "string" }, "order_reference": { "type": "string" } } }, "Public.Interaction.Lab.Result.CodeBlueprint_leaf": { "type": "object", "properties": { "code": { "type": "string" }, "display": { "type": "string" } } }, "Public.Interaction.Lab.Result.QuantityBlueprint_leaf": { "type": "object", "properties": { "value": { "type": "string" }, "unit": { "type": "string" } } }, "Public.Interaction.Lab.Result.RangeBlueprint_leaf": { "type": "object", "properties": { "text": { "type": "string" }, "low": { "$ref": "#/$defs/Public.Interaction.Lab.Result.QuantityBlueprint_leaf" }, "high": { "$ref": "#/$defs/Public.Interaction.Lab.Result.QuantityBlueprint_leaf" } } }, "Public.Interaction.Lab.ResultBlueprint_leaf": { "type": "object", "properties": { "id": { "type": "string" }, "code_text": { "type": "string" }, "issued": { "type": "string" }, "value_string": { "type": "string" }, "text": { "type": "string" }, "interpretation": { "type": "string" }, "subject": { "type": "string" }, "code": { "$ref": "#/$defs/Public.Interaction.Lab.Result.CodeBlueprint_leaf" }, "value_quantity": { "$ref": "#/$defs/Public.Interaction.Lab.Result.QuantityBlueprint_leaf" }, "ranges": { "$ref": "#/$defs/Public.Interaction.Lab.Result.RangeBlueprint_leaf" } } } } }