{ "$id":                          "https://schemas.mpai.community/TFA/V1.5/data/InterpretationQualifier.json",
  "$schema":                      "https://json-schema.org/draft/2020-12/schema",

  "title":                        "InterpretationQualifier",
                                  "description": "Subtypes, formats, and attributes for Interpretation content. ",
                                  "type": "object",
                                  "required": [ "Header", "InterpretationQualifierID", "SubType", "Format", "Trace" ],
                                  "additionalProperties": false, "properties": {

    "Header":                     { "type": "string", "pattern": "^TFA-IFQ-V[0-9]{1,2}[.][0-9]{1,2}$" },

    "InterpretationQualifierID":  { "type": "string" },

    "SubType":                    { "type": "object", "additionalProperties": false },

    "Format":                     { "type": "object", "additionalProperties": false, "properties": {
      "MPAIFormat":               { "$ref": "https://schemas.mpai.community/MMM4/V2.2/data/BasicInterpretation.json" },
      "OtherFormats":             { "$ref": "https://schemas.mpai.community/TFA/V1.5/formats/InterpretationFormats.json" } } },

    "Attributes":                 { "type": "object", "additionalProperties": true },

    "DataExchangeMetadata":       { "$ref": "https://schemas.mpai.community/AIF/V3.0/data/DataExchangeMetadata.json" },
    "Trace":                      { "$ref": "https://schemas.mpai.community/AIF/V3.0/data/Trace.json" },
    "DescrMetadata":              { "type": "string", "maxLength": 2048 } } }