{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "AlsoKnownAs",
  "properties": {
    "accounts": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/Account"
      }
    }
  },
  "additionalProperties": false,
  "required": ["accounts"],
  "definitions": {
    "Attestation": {
      "type": "object",
      "properties": {
        "did-jwt": {
          "type": "string",
          "maxLength": 1000
        },
        "did-jwt-vc": {
          "type": "string",
          "maxLength": 1000
        }
      }
    },
    "Account": {
      "type": "object",
      "properties": {
        "protocol": {
          "type": "string",
          "maxLength": 50
        },
        "host": {
          "type": "string",
          "maxLength": 150
        },
        "id": {
          "type": "string",
          "maxLength": 450
        },
        "claim": {
          "type": "string",
          "maxLength": 450
        },
        "attestations": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Attestation"
          }
        }
      },
      "required": ["protocol", "id"]
    }
  }
}
