{
  "$schema": "https://json-schema.org/draft/2020-12schema",
  "$id": "https://schemas.mpai.community/CAV2/V1.0/data/UltrasoundBasicSceneDescriptors.json",
  "title": "UltrasoundBasicSceneDescriptors",
  "type": "object",
  "properties": {
    "Header": {
      "type": "string",
      "pattern": "^OSD-UBS-V[0-9]{1,2}[.][0-9]{1,2}$"
    },
    "MInstanceID": {
      "type": "string"
    },
    "UltrasoundBasicSceneDescriptorsID": {
      "type": "string"
    },
    "UltrasoundBasicSceneDescriptorsSpaceTime": {
      "$ref": "https://schemas.mpai.community/OSD/V1.3/data/SpaceTime.json"
    },
    "UltrasoundObjectCount": {
      "type": "integer"
    },
    "UltrasoundSceneDescriptorsData": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "UltrasoundDataSpaceTime": {
            "$ref": "https://schemas.mpai.community/OSD/V1.3/data/SpaceTime.json"
          },
          "UltrasoundObjectIDOrUltrasoundObject": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "UltrasoundObjectID": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "object",
                  "properties": {
                    "UltrasoundObject": {
                      "$ref": "https://schemas.mpai.community/CAV2/V1.0/data/UltrasoundObject.json"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    },
    "DescrMetadata": {
      "type": "string"
    }
  }
}