@bbc/object-based-media-schema
Version:
JSON schemas which describe a common language for object-based media
31 lines (30 loc) • 1.1 kB
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "The fully flattened OBM story including Stories, Narrative elemtents, representation_collections, representations, asset_collections ",
"type": "object",
"properties": {
"stories": {
"type": "array",
"items": {"$ref": "/story/full.json#"}
},
"narrative_elements": {
"type": "array",
"items": {"$ref": "/narrative_element/full.json#"}
},
"representation_collections": {
"type": "array",
"items": {"$ref": "/representation_collection/full.json#"}
},
"representations": {
"type": "array",
"items": {"$ref": "/representation/full.json#"}
},
"asset_collections": {
"type": "array",
"items": {"$ref": "/asset_collection/full.json#"}
},
"schema_version": {}
},
"additionalProperties": false,
"required": ["stories", "narrative_elements", "representation_collections", "representations", "asset_collections"]
}