Schema flow_data.json
Resolve referenced schemas (may reorder keys)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"description": "Describes a generic data Flow",
"title": "Generic data Flow resource",
"allOf": [
{ "$ref": "flow_core.json" },
{
"type": "object",
"required": [
"format",
"media_type"
],
"properties": {
"format": {
"description": "Format of the data coming from the Flow as a URN",
"type": "string",
"enum": [
"urn:x-nmos:format:data"
],
"format": "uri"
},
"media_type": {
"description": "Subclassification of the format, using IANA assigned media types where available, or other values defined in the NMOS Parameter Registers",
"type": "string",
"pattern": "^[^\\s\\/]+\\/[^\\s\\/]+$",
"not": {
"enum": [
"video/smpte291",
"application/json"
]
}
}
}
}
]
}