# uk.co.bstools.alias.test.link

> Published by [test.alias.bstools.co.uk](https://lexicon.garden/identity/did:plc:tka3pdbs3wapp4asr7nfj7w2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:tka3pdbs3wapp4asr7nfj7w2/uk.co.bstools.alias.test.link)
- [Documentation](https://lexicon.garden/lexicon/did:plc:tka3pdbs3wapp4asr7nfj7w2/uk.co.bstools.alias.test.link/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:tka3pdbs3wapp4asr7nfj7w2/uk.co.bstools.alias.test.link/examples)

## Definitions

### `uk.co.bstools.alias.test.link`

**Type**: `record`

Claims that an account on another service belongs to this atproto account. Only valid if the authoriser has published a matching attestation.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `authoriser` | `string` (did) | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `identifier` | `string` | Yes | Immutable account ID on the service, e.g. GitHub numeric user id. |
| `service` | `string` | Yes |  |

## Raw Schema

```json
{
  "$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
}
```
