contentMediaType : String
contentMediaType
StringThis 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
Hint: Use the jsonschema metaschema command to catch keywords set to invalid values
|
---|---|
Kind | Annotation |
Applies To | String |
Base 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
Hint: Use the jsonschema validate command to collect annotations from the command-line
|
Affected By | None |
Affects |
|
Also See |
|