{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schemas.mpai.community/OSD/V1.3/data/BasicVisualObject.json",
  "title": "BasicVisualObject",
  "type": "object",
  "properties": {
    "Header": {
      "type": "string",
      "pattern": "^OSD-BVO-V[0-9]{1,2}[.][0-9]{1,2}$"
    },
    "MInstanceID": {
      "type": "string"
    },
    "BasicVisualObjectID": {
      "type": "string"
    },
    "BasicVisualObjectSpaceTime": {
      "$ref": "https://schemas.mpai.community/OSD/V1.3/data/SpaceTime.json"
    },
    "ParentObjects": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ParentObjectID": {
            "type": "string"
          },
          "ParentObjectSpaceTime": {
            "$ref": "https://schemas.mpai.community/OSD/V1.3/data/SpaceTime.json"
          }
        }
      }
    },
    "ChildObjects": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ChildObjectID": {
            "type": "string"
          },
          "ChildObjectSpaceTime": {
            "$ref": "https://schemas.mpai.community/OSD/V1.3/data/SpaceTime.json"
          }
        }
      }
    },
    "BasicVisual": {
      "$ref": "https://schemas.mpai.community/TFA/V1.3/data/VisualQualifier.json"
    },
    "BasicVisualObjectSpaceTime": {
      "$ref": "https://schemas.mpai.community/OSD/V1.3/data/SpaceTime.json"
    },
    "BasicVisualObjectAnnotations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "Annotation": {
            "$ref": "https://schemas.mpai.community/OSD/V1.3/data/Annotation.json"
          },
          "AnnotationTimeSpace": {
            "$ref": "https://schemas.mpai.community/OSD/V1.3/data/SpaceTime.json"
          },
          "AnnotationRights": {
            "RightsIDOrRights": {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "RightsID": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "Rights": {
                        "$ref": "https://schemas.mpai.community/MMM4/V2.0/data/Rights.json"
                      }
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "Rights": {
      "$ref": "https://schemas.mpai.community/MMM4/V2.0/data/Rights.json"
    },
    "DescrMetadata": {
      "type": "string"
    }
  }
}