{ "$id":                                "https://schemas.mpai.community/OSD/V1.5/data/AudioEventDescriptors.json",
  "$schema":                            "https://json-schema.org/draft/2020-12/schema",
  "title":                              "AudioEvent Descriptors V1.5",
  "description":                        "AudioEvent descriptor set.",
  "type":                               "object",
  "required":                           [ "Header", "AudioEventDescriptorsID", "AudioEventDescriptorsSpaceTime", "Trace" ],
  "additionalProperties":               false,
  "properties":                         {

    "Header":                           { "type": "string", "pattern": "^OSD-AED-V[0-9],{1,2},[.][0-9],{1,2}$" },
    "MetaverseID":                      { "type": "string" },
    "UEnvironment":                     { "type": "string" },
    "AudioEventDescriptorsID":          { "type": "string" },
    "AudioEventDescriptorsTime":        { "$ref": "https://schemas.mpai.community/OSD/V1.5/data/SimpleTime.json" },

    "AudioEventDescriptorsSpaceTime":   { "$ref": "https://schemas.mpai.community/OSD/V1.5/data/SpaceTime.json" },

    "AudioEventDescriptors":            { "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": {
      "AudioEventIDOrAudioEvent":       { "description": "Embedded Event Descriptors (recursive) or an Event ID (by reference).",
                                          "type": "array", "minItems": 1, "maxItems": 1, "items": { "oneOf": [
                                        { "$ref": "https://schemas.mpai.community/OSD/V1.5/data/AudioEventDescriptors.json" },
                                        { "type": "string" } ] } } } } },

    "DataXMData":                       { "$ref": "https://schemas.mpai.community/PTF/V1.0/data/DataExchangeMetadata.json" },
    "DescrMetadata":                    { "type": "string", "maxLength": 2048 } } }
