{ "$schema":             "https://json-schema.org/draft/2020-12/schema",
  "$id":                 "https://schemas.mpai.community/AIH/HSP/V1.0/data-types/OmicsObject.json",
  "title":               " Omics Object", "type": "object", "required": [ "Header", 
                         "OmicsObjectID", "EndUserID", "OmicsObjectTime", 
                         "PhysiologicalSignalData", "PhysiologicalSignalQualifier" ], "properties": {

    "Header":            { "type": "string", "pattern": "^AIH-GOM-V[0-9]{1,2}[.][0-9]{1,2}$" },
    "MInstance":         { "type": "string" },
    "OmicsObjectID":     { "type": "string", "description": "Identifier of the Physiological Signal Object." },
    "EndUserID":         { "type": "string", "description": "ID of End User the PS Data refers to." },
    "OmicsObjectTime":   { "$ref": "https://schemas.mpai.community/OSD/V1.5/data/Time.json" },

    "OmicsObjectData":   { "type": "array", "items": { "anyOf": [      
                         { "type": "object", "properties": { "Data": { "type": "string" } } },
                           { "type": "object", "properties": { "DataLength": { "type": "integer" }, 
                                                               "DataURI": { "type": "string", "format": "uri" } } },
                         { "type": "object", "properties": { "ID": { "type": "string" } } } ] } },

    "OmicsQualifier":    { "$ref": "OmicsObject", "description": "Omics Qualifier." },

    "DataXMData":        { "$ref": "https://schemas.mpai.community/AIF/V3.0/data/DataExchangeMetadata.json" },
    "DescrMetadata":     { "type": "string", "maxLength": 2048 } } }