contentMediaType : String

contentMediaType

String

This keyword declares the media type of the string instance.

Value This keyword should be set to a valid media type as defined in RFC 2046, like the registered IANA media types
Kind Annotation
Applies To String
Dialect 2019-09
Changed In None
Introduced In Draft 7
Vocabulary Content
Specification https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.8.4
Metaschema https://json-schema.org/draft/2019-09/meta/content
Official Tests draft2019-09/content.json
Default None
Annotation String The content media type set by this keyword
Affected By None
Affects
Also See