{
  "$schema": "http://json-schema.org/draft/2020-12/schema",
  "$id": "https://schemas.mpai.community/MMM4/V2.1/data/DiscoveryObject.json",
  "title": "DiscoveryObject",
  "type": "object", "properties": {
    "Header": { "type": "string", "pattern": "^MMM-DSO-V[0-9]{1,2}[.][0-9]{1,2}$" },
    "MInstanceID": { "type": "string" },
    "DiscoveryID": { "type": "string" },
    "DiscoveryData": { "type": "array", "items": {
      "anyOf": [
        { "type": "object", "properties": { "Data": { "type": "string" } } },
        { "type": "object", "properties": { "DataLength": { "type": "integer" }, "DataURI": { "type": "string", "format": "uri" } } } ] } },
    "DiscoveryQualifier": { "$ref": "https://schemas.mpai.community/TFA/V1.4/data/DiscoveryQualifier.json" },
    "DescrMetadata": { "type": "string" } }
}