{ "$id":                      "https://schemas.mpai.community/TFA/V1.5/data/UltrasoundQualifier.json",
  "$schema":                  "https://json-schema.org/draft/2020-12/schema",
  "title":                    "Ultrasound Qualifier V1.5",
  "description":              "Qualifier describing subtypes, format, and attributes of ultrasound data.",
  "type":                     "object",
  "required":                 [ "Header", "UltrasoundQualifierID", "SubType", "Format", "Trace" ],
  "additionalProperties":     false,
  "properties":               {

    "Header":                 { "type": "string", "pattern": "^TFA-USQ-V[0-9],{1,2},[.][0-9],{1,2}$" },
    "MInstanceID":            { "type": "string" },
    "UEnvironmentID":         { "type": "string" },
    "UltrasoundQualifierID":  { "type": "string" },
    "UltrasoundQualifierTime":{ "$ref": "https://schemas.mpai.community/OSD/V1.5/data/SpaceTime.json" },

    "SubType":                { "type": "object", "additionalProperties": true },

    "Format":                 { "type": "object", "additionalProperties": false, "properties": {
      "ContentFormat":        { "type": "string", "enum": [ "CUDF", "UFF" ] } } },

    "Attributes":             { "type": "object", "additionalProperties": false },

   "DataXMData":              { "$ref": "https://schemas.mpai.community/PTF/V1.0/data/DataExchangeMetadata.json" },
    "DescrMetadata":          { "type": "string", "maxLength": 2048 } } }
