{
  "$schema": "http://json-schema.org/draft/2020-12/schema",
  "$id": "https://schemas.mpai.community/OSD/V1.1/data/AudioVisualBasicSceneDescriptors.json",
  "title": "AudioVisualBasicSceneDescriptors",
  "type": "object",
  "properties": {
    "Header": {
      "type": "string",
      "pattern": "^OSD-AVB-V[0-9]{1,2}[.][0-9]{1,2}$"
    },
    "MInstanceID": {
      "type": "string"
    },
    "AudioVisualBasicSceneDescriptorsID": {
      "type": "string"
    },
    "AudioVisualBasicSceneDescriptorsSpaceTime": {
      "$ref": "https://schemas.mpai.community/OSD/V1.1/data/SpaceTime.json"
    },
    "SpeechObjectCount": {
      "type": "integer"
    },
    "SpeechObjectsData": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "SpeechObjectSpaceTime": {
            "$ref": "https://schemas.mpai.community/OSD/V1.1/data/SpaceTime.json"
          },
          "SpeechObjectIDOrSpeechObject": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "SpeechObjectID": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "object",
                  "properties": {
                    "SpeechObject": {
                      "$ref": "https://schemas.mpai.community/MMC/V2.2/data/SpeechObject.json"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    },
    "AudioObjectCount": {
      "type": "integer"
    },
    "AudioObjectsData": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "AudiopObjectSpaceTime": {
            "$ref": "https://schemas.mpai.community/OSD/V1.1/data/SpaceTime.json"
          },
          "AudioObjectIDOrAudioObject": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "AudioObjectID": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "object",
                  "properties": {
                    "AudioObject": {
                      "$ref": "https://schemas.mpai.community/CAE1/V2.2/data/AudioObject.json"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    },
    "VisualObjectCount": {
      "type": "integer"
    },
    "VisualObjectsData": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "VisualObjectSpaceTime": {
            "$ref": "https://schemas.mpai.community/OSD/V1.1/data/SpaceTime.json"
          },
          "VisualObjectIDOrVisualObject": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "VisualObjectID": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "object",
                  "properties": {
                    "VisualObject": {
                      "$ref": "https://schemas.mpai.community/OSD/V1.1/data/VisualObject.json"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    },
    "AudioVisualObjectCount": {
      "type": "integer"
    },
    "AudioVisualObjectsData": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "AudioVisualObjectSpaceTime": {
            "$ref": "https://schemas.mpai.community/OSD/V1.1/data/SpaceTime.json"
          },
          "AudioVisualObjectIDOrVisualObject": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "AudioVisualObjectID": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "object",
                  "properties": {
                    "AudioVisualObject": {
                      "$ref": "https://schemas.mpai.community/OSD/V1.1/data/AudioVisualObject.json"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    },
    "DescrMetadata": {
      "type": "string"
    }
  }
}