{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schemas.mpai.community/OSD/V1.4/data/AudioSceneDescriptors.json",
  "title": "AudioSceneDescriptors",
  "type": "object", "properties": {
    "Header": { "type": "string", "pattern": "^OSD-ASD-V[0-9]{1,2}[.][0-9]{1,2}$" },
    "MInstanceID": { "type": "string" },
    "AudioSceneDescriptorsID": { "type": "string" },
    "AudioSceneDescriptorsSpaceTime": { "$ref": "https://schemas.mpai.community/OSD/V1.4/data/SpaceTime.json" },
    "ObjectCount": { "type": "integer" },
    "Objects": { "type": "array", "items": { "type": "object", "properties": { 
      "ObjectSpaceTime": { "$ref": "https://schemas.mpai.community/OSD/V1.4/data/SpaceTime.json" },
      "ObjectIDOrObject": { "type": "array", "items": { "anyOf": [
        { "type": "object", "properties": { "Object": { "$ref": "https://schemas.mpai.community/OSD/V1.4/data/AudioObject.json" } } },
        { "type": "object", "properties": { "ObjectID": { "type": "string" } } } ] } } } } },
    "SubAudioSceneCount": { "type": "integer" },
    "SubAudioScenes": { "type": "array", "items": { "type": "object", "properties": {
      "SubAudioSceneSpaceTime": { "$ref": "https://schemas.mpai.community/OSD/V1.4/data/SpaceTime.json" },
      "SubAudioSceneIDOrSubAudioScene": { "type": "array", "items": { "anyOf": [
        { "type": "object", "properties": { "SubAudioScene": {"$ref": "https://schemas.mpai.community/OSD/V1.4/data/AudioSceneDescriptors.json" } } },
        { "type": "object", "properties": { "SubAudioSceneID": { "type": "string" } } } ] } } } } },
    "BasicAudioSceneOrAudioScene": { "type": "array", "oneOf": [
      { "type": "array", "items": { "$ref": "https://schemas.mpai.community/OSD/V1.4/data/BasicAudioSceneDescriptors.json" } },
      { "type": "array", "items": { "$ref": "https://schemas.mpai.community/OSD/V1.4/data/AudioSceneDescriptors.json#/properties/BasicAudioSceneOrAudioScene" } } ] },
    "Rights": { "$ref": "https://schemas.mpai.community/MMM4/V2.1/data/Rights.json" },
    "DescrMetadata": { "type": "string" } }
}