{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/metriport/main/json-schema/metriport-document-reference-schema.json", "title": "DocumentReference", "description": "A FHIR R4 DocumentReference describing a retrieved clinical document.", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/metriport-document-api-openapi.yml#/components/schemas/DocumentReference", "type": "object", "properties": { "id": { "type": "string" }, "fileName": { "type": "string" }, "description": { "type": "string" }, "status": { "type": "string" }, "contentType": { "type": "string" }, "size": { "type": "integer" }, "indexed": { "type": "string", "format": "date-time" } } }