{
  "$schema": "http://json-schema.org/draft/2020-12/schema",
  "$id": "https://schemas.mpai.community/MMM4/V2.0/data/Authentication.json",
  "title": "Authentication",
  "type": "object",
  "properties": {
    "Header": {
      "type": "string",
      "pattern": "^MMM-AUT-V[0-9]{1,2}[.][0-9]{1,2}$"
    },
    "MInstanceID": {
      "type": "string"
    },
    "AuthenticationID": {
      "type": "string"
    },
    "ServiceAccessData": {
      "type": "object",
      "properties": {
        "AuthenticationRequest": {
          "type": "object",
          "properties": {
            "ItemID": {
              "type": "string"
            },
            "PerceptibleEntity": {
              "$ref": "https://schemas.mpai.community/OSD/V1.3/data/PerceptibleEntity.json"
            },
            "ClaimedIdentityID": {
              "type": "string"
            }
          }
        },
        "AuthenticationResponse": {
          "type": "boolean"
        }
      }
    },
    "AuthenticationDataLength": {
      "type": "integer"
    },
    "AuthenticationDataURI": {
      "type": "string",
      "format": "uri"
    },
    "DescrMetadata": {
      "type": "string"
    }
  }
}