This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
FHIR Infrastructure Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Not linked to any defined compartments |
This is a representation of the json schema for Binary, which is just a part of the full JSON Schema.
{ "$schema": "http://json-schema.org/draft-06/schema#", "id": "http://hl7.org/fhir/json-schema/Binary", "$ref": "#/definitions/Binary", "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", "definitions": { "Binary": { "description": "A binary resource can contain any content, whether text, image, pdf, zip archive, etc.", "properties": { "resourceType": { "description": "This is a Binary resource", "const": "Binary" }, "id": { "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "$ref": "id.schema.json#/definitions/id" }, "meta": { "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "$ref": "Meta.schema.json#/definitions/Meta" }, "implicitRules": { "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "$ref": "#/definitions/uri" }, "_implicitRules": { "description": "Extensions for implicitRules", "$ref": "Element.schema.json#/definitions/Element" }, "language": { "description": "The base language in which the resource is written.", "$ref": "#/definitions/code" }, "_language": { "description": "Extensions for language", "$ref": "Element.schema.json#/definitions/Element" }, "contentType": { "description": "MimeType of the binary content represented as a standard MimeType (BCP 13).", "$ref": "#/definitions/code" }, "_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.", "$ref": "#/definitions/base64Binary" }, "_content": { "description": "Extensions for content", "$ref": "Element.schema.json#/definitions/Element" } }, "additionalProperties": false, "required": [ "resourceType" ] } } }