﻿{ "$schema":                            "https://json-schema.org/draft/2020-12/schema",
  "$id":                                "https://schemas.mpai.community/OSD/V1.5/data/BasicRADARSceneGeometry.json",
  "title":                              "Basic 3D Model Scene Geometry V1.5", 
  "type":                               "object", 
  "additionalProperties":               false, 
  "required":                           [ "Header", "BasicRADARSceneGeometryID", "BasicRADARSceneGeometrySpaceTime", 
                                          "RADARObjectCount", "RADARObjects" ], 
  "properties":                         {

    "Header":                           { "type": "string", "pattern": "^OSD-B3G-V[0-9]{1,2}[.][0-9]{1,2}$" },
    "MInstanceID":                      { "type": "string" },
    "UEnvironmentID":                   { "type": "string" },
    "BasicRADARSceneGeometryID":        { "type": "string" },
    "BasicRADARSceneGeometrySpaceTime": { "$ref": "https://schemas.mpai.community/OSD/V1.5/data/SpaceTime.json" },

    "RADARObjectCount":                 { "type": "integer", "minimum": 0 },
    "RADARObjects":                     { "type": "array", "minItems": 0, "items": { "type": "object", "additionalProperties": false,
                                          "required": [ "RADARObjectSpaceTime", "RADARObjectQualifier" ], "properties": {
      "RADARObjectSpaceTime":           { "$ref": "https://schemas.mpai.community/OSD/V1.5/data/SpaceTime.json" },
      "RADARObjectQualifier":           { "$ref": "https://schemas.mpai.community/TFA/V1.5/data/RADARQualifier.json" } } } },

    "DataXMData":                       { "$ref": "https://schemas.mpai.community/PTF/V1.0/data/DataExchangeMetadata.json" },
    "DescrMetadata":                    { "type": "string", "maxLength": 2048 } } }