{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schemas.mpai.community/CAE1/V2.3/data/AudioSceneDescriptors.json",
  "title": "AudioSceneDescriptors",
  "type": "object",
  "properties": {
    "Header": {
      "type": "string",
      "pattern": "^CAE-ASD-V[0-9]{1,2}[.][0-9]{1,2}$"
    },
    "MInstanceID": {
      "type": "string"
    },
    "AudioSceneDescriptorsID": {
      "type": "string"
    },
    "AudioSceneDescriptorsSpaceTime": {
      "$ref": "https://schemas.mpai.community/OSD/V1.3/data/SpaceTime.json"
    },
    "AudioDataCount": {
      "type": "integer"
    },
    "AudioDataSet": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "AudioObjectSpaceTime": {
            "$ref": "https://schemas.mpai.community/OSD/V1.3/data/SpaceTime.json"
          },
          "AudioObjectIDOrAudioData": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "AudioObjectID": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "object",
                  "properties": {
                    "AudioData": {
                      "$ref": "https://schemas.mpai.community/CAE1/V2.3/data/AudioObject.json"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    },
    "AudioSubSceneCount": {
      "type": "integer"
    },
    "AudioSubScenesData": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "AudioSubSceneSpaceTime": {
            "$ref": "https://schemas.mpai.community/OSD/V1.3/data/SpaceTime.json"
          },
          "AudioSubSceneIDOrAudioSubScene": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "AudioSubSceneID": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "object",
                  "properties": {
                    "AudioSubScene": {
                      "$ref": "https://schemas.mpai.community/CAE1/V2.3/data/AudioSceneDescriptors.json"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    },
    "BasicScenesOrScenes": {
      "type": "array",
      "oneOf": [
        {
          "$ref": "https://schemas.mpai.community/CAE1/V2.3/data/AudioBasicSceneDescriptors.json"
        },
        {
          "$ref": "https://schemas.mpai.community/CAE1/V2.3/data/AudioSceneDescriptors.json"
        }
      ]
    },
    "DescrMetadata": {
      "type": "string"
    }
  }
}