{ "$id":                                "https://schemas.mpai.community/OSD/V1.5/data/UltrasoundEventDescriptors.json",
  "$schema":                            "https://json-schema.org/draft/2020-12/schema",
  "title":                              "UltrasoundEvent Descriptors V1.5", "description": "UltrasoundEvent descriptor set.", 
                                        "type": "object", "required": [ "Header", "UltrasoundEventDescriptorsID",   "UltrasoundEventDescriptorsSpaceTime", "Trace" ], "additionalProperties": false, "properties": {

    "Header":                           { "type": "string", "pattern": "^OSD-UED-V[0-9]{1,2}[.][0-9]{1,2}$" },
    "MInstanceID":                      { "type": "string" },
    "UltrasoundEventDescriptorsID":         { "type": "string" },
    "UltrasoundEventDescriptorsSpaceTime":  { "$ref": "https://schemas.mpai.community/OSD/V1.5/data/SpaceTime.json" },

    "UltrasoundEventDescriptors":           { "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": {
      "UltrasoundEventIDOrUltrasoundEvent":     { "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/UltrasoundEventDescriptors.json" },
                                        { "type": "string" } ] } } } } },

    "DataXMData":                       { "$ref": "https://schemas.mpai.community/AIF/V3.0/data/DataExchangeMetadata.json" },
    "DescrMetadata":                    { "type": "string", "maxLength": 2048 } } }