{
  "$schema": "http://json-schema.org/draft/2020-12/schema",
  "id": "https://schemas.mpai.community/OSD/V1.1/data/PointOfView.json",
  "title": "ObjectPointOfView",
  "type": "object",
  "properties": {
    "Header": {
      "type": "string",
      "pattern": "^OSD-OPV-[0-9]{1,2}[.][0-9]{1,2}$"
    },
    "PointOfViewID": {
      "type": "string"
    },
    "General": {
      "type": "object",
      "properties": {
        "CoordTypeID": {
          "$ref": "https://schemas.mpai.community/TFA/V1.0/types/CoordinateTypes.json"
        },
        "ObjectType": {
          "$ref": "https://schemas.mpai.community/TFA/V1.0/types/ObjectTypes.json"
        },
        "MediaType": {
          "$ref": "https://schemas.mpai.community/TFA/V1.0/types/MediaTypes.json"
        }
      }
    },
    "CartPosition": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "items": {
        "type": "string",
        "enum": [
          "float32",
          "float64"
        ]
      }
    },
    "SpherPosition": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "items": {
        "type": "string",
        "enum": [
          "float32",
          "float64"
        ]
      }
    },
    "Orientation": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "items": {
        "type": "string",
        "enum": [
          "float32",
          "float64"
        ]
      }
    },
    "Errors": {
      "type": "array",
      "items": {
        "ErrCartPosition": {
          "type": "number"
        },
        "ErrSpherPosition": {
          "type": "number"
        },
        "ErrOrientation": {
          "type": "number"
        }
      }
    },
    "DescrMetadata": {
      "type": "string"
    }
  }
}