Hide Comments

Defines a Media Type, which may be referenced as an expected or supported message format.

Syntax

mediaType <media-type-name>

[specURL "<spec-url>"]
[derivedFrom (<derived-from-media-types)])

Examples

mediaType application/observation

specURL "http://lifescience-society.org/registry/observation.txt"

mediaType application/subject+json

specURL "http://lifescience-society.org/registry/subject-json.txt"

derivedFrom (application/json)

Parameters

Name

Type

Description

<media-type-name>

Name

Name assigned to this media type.

<spec-url>

URL

URL containing a specification of the media type.

<derived-from-media-types>

List(SName(Built-in Media Type) or QName(User-defined Media Type))

A delimited list of media type names, from which this media type is derived.  Derivation means that the media type defined here is a specialization of the derived-from media type.   The derived-from media type MUST be defined and accessible in the scope of the derived media type definition.

Child Elements

None.

Parent Elements

Resource API

Created with Help & Manual 6 and styled with Premium Pack Version 2.51 © by EC Software