{ "$schema":                  "https://json-schema.org/draft/2020-12/schema",
  "$id":                      "https://schemas.mpai.community/XRV1/V1.0/examples/BiometricDeviceAnnotation.json",
  "title":                    "Annotation V1.5", "type": "object", "required": [ "Header", "AnnotationID", "AnnotationSpaceTime" ],
                              "additionalProperties": false, "properties": {

    "Header":                 { "type": "string", "pattern": "^XRV-MIFA-V[0-9]{1,2}[.][0-9]{1,2}$" },
    "MInstanceID":            { "type": "string" },
    "UEnvironmentID":         { "type": "string" },
    "AnnotationID":           { "type": "string" },

    "MCAnnotation":           { "type": "object", "properties": {
      "Qualifier":            { "$ref": "https://schemas.mpai.community/TFA/V1.5/data/MoCapQualifier.json" },
      "DeviceType":           { "type": "string" },
      "Manufacturer":         { "type": "string" },
      "ModelNumber":          { "type": "string" },
      "BioChannel":           { "type": "integer" },
      "BioDataTable":         { "type": "array", "items": {
        "ECG":                { "$ref": "https://schemas.mpai.community/AIH1/V1.0/data/ECGObject.json" },
        "EEG":                { "$ref": "https://schemas.mpai.community/AIH1/V1.0/data/EEGObject.json" },
        "GalvanicSkinResponse": { "type": "number", "minimum": 0, "description": "Skin conductance (microsiemens)." },
        "MyoelectricIntensity": { "type": "number", "minimum": 0, "description": "EMG amplitude (mV)." },
        "SkinTemperature":      { "type": "number", "minimum": 20, "maximum": 45, "description": "Skin temp. (degrees C)." } } }},

    "DataXMData":             { "$ref": "https://schemas.mpai.community/ptF/V1.0/data/DataExchangeMetadata.json" },
    "DescrMetadata":          { "type": "string", "maxLength": 2048 } } }