@bbc/object-based-media-schema
Version:
JSON schemas which describe a common language for object-based media
37 lines (36 loc) • 1.23 kB
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Representation in full",
"allOf": [
{ "$ref": "/core.json#/definitions/full_base" },
{ "$ref": "/representation/types.json#/definitions/representation"},
{
"type": "object",
"properties": {
"id": {},
"object_class": {
"type": "string",
"description": "Object Class (Fixed Value)",
"enum": [
"REPRESENTATION"
]
},
"name": {},
"description": {},
"version": {},
"tags": {},
"meta": {},
"representation_type": {},
"asset_collections": {},
"behaviours":{ "$ref": "/representation/types.json#/definitions/behaviours" },
"choices": {},
"schema_version": {},
"duration": {
"type": ["number", "null"]
}
},
"required": ["representation_type", "asset_collections"],
"additionalProperties": false
}
]
}