{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Claims that an account on another service belongs to this atproto account. Only valid if the authoriser has published a matching attestation.",
      "key": "tid",
      "record": {
        "properties": {
          "authoriser": {
            "format": "did",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "identifier": {
            "description": "Immutable account ID on the service, e.g. GitHub numeric user id.",
            "maxLength": 512,
            "type": "string"
          },
          "service": {
            "knownValues": [
              "github"
            ],
            "maxLength": 256,
            "type": "string"
          }
        },
        "required": [
          "service",
          "identifier",
          "authoriser",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "uk.co.bstools.alias.test.link",
  "lexicon": 1
}
