Schema receiver_data.json
Resolve referenced schemas (may reorder keys)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"description": "Describes a data Receiver",
"title": "Data Receiver resource",
"allOf": [
{ "$ref": "receiver_core.json" },
{
"type": "object",
"required": [
"format",
"caps"
],
"properties": {
"format": {
"description": "Type of Flow accepted by the Receiver as a URN",
"type": "string",
"enum": [
"urn:x-nmos:format:data"
],
"format": "uri"
},
"caps": {
"description": "Capabilities",
"type": "object",
"properties": {
"media_types": {
"description": "Subclassifications of the format accepted, using IANA assigned media types where available, or other values defined in the NMOS Parameter Registers",
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"anyOf": [
{
"enum": [
"video/smpte291",
"application/json"
]
},
{
"pattern": "^[^\\s\\/]+\\/[^\\s\\/]+$"
}