Content¶
In the following text, we call content an octet string with a MIME type. The MIME type describes how the octet string should be interpreted.
A content can also optionaly be declared as conforming to a model (for instance, XML schema, Relax NG, JSON-schema, etc). The model itself should in this case be store in a package resource (see below) and the content will reference this resource. The validation of the content with respect to its model depends on the model MIME type. A list of valid MIME types for models (for instance application/relax-ng-compact-syntax or application/schema+json) should be specified by applicative models.