Current section
Files
Jump to
Current section
Files
priv/schema/Binary.schema.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://hl7.erp.uno/priv/schema/Binary.schema.json",
"$ref": "#/definitions/Binary",
"description": "see https://hl7.org/fhir/R5/json.html for information about the FHIR Json Schemas",
"definitions": {
"Binary": {
"allOf": [
{
"$ref": "Resource.schema.json#/definitions/Resource"
},
{
"description": "A binary resource can contain any content, whether text, image, pdf, zip archive, etc.",
"properties": {
"resourceType": {
"description": "This is a Binary resource",
"type": "string",
"enum": [
"Binary"
]
},
"contentType": {
"description": "MimeType of the binary content represented as a standard MimeType (BCP 13).",
"type": "string",
"pattern": "[^\\s]+([\\s]?[^\\s]+)*"
},
"_contentType": {
"description": "Extensions for contentType",
"$ref": "Element.schema.json#/definitions/Element"
},
"securityContext": {
"description": "Treat this binary as if it was this other resource for access control purposes.",
"$ref": "Reference.schema.json#/definitions/Reference"
},
"content": {
"description": "The actual content, base64 encoded.",
"type": "string"
},
"_content": {
"description": "Extensions for content",
"$ref": "Element.schema.json#/definitions/Element"
}
},
"required": [
"resourceType"
]
}
]
}
}
}