@bbc/object-based-media-schema
Version:
JSON schemas which describe a common language for object-based media
26 lines (25 loc) • 864 B
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Representation schema used for updating through API",
"allOf": [
{ "$ref": "/core.json#/definitions/update_base" },
{ "$ref": "/representation/types.json#/definitions/representation"},
{
"type": "object",
"properties": {
"name": {},
"description": {},
"tags": {},
"meta": {},
"representation_type": {},
"asset_collections": {},
"duration": {
"type": ["number", "null"]
},
"behaviours":{ "$ref": "/representation/types.json#/definitions/behaviours" }
},
"required": ["representation_type"],
"additionalProperties": false
}
]
}