# dev.knotless.emails

> Keyed self. Readers believe it on repositories the account owns or is a collaborator on, and in the commits a pull of its brought into a repository when merged. An account's first push claims the address git commits as there; after that it changes only when the account says.

- Kind: record
- Record key: literal:self
- Authority: knotless.dev
- Lexicon: 1
- Published by [lexicons.knotless.dev](https://lexicon.garden/identity/did:plc:yqsg7znbbhfmj3a2nrpnaerk), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.emails)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.emails/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.emails/analytics)

## Record (`dev.knotless.emails`)

Type: record · key literal:self

### Properties

- `hashes` (array, required): Each the lowercase hex SHA-256 of the account's DID, a newline, and the address trimmed and lowercased: salted with the DID, so the record names no address and one address hashes apart in each account that claims it.
  - `items` (string)
    - Constraints: minLength: 64, maxLength: 64
- `updatedAt` (string · datetime, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Keyed self. Readers believe it on repositories the account owns or is a collaborator on, and in the commits a pull of its brought into a repository when merged. An account's first push claims the address git commits as there; after that it changes only when the account says.",
      "key": "literal:self",
      "record": {
        "properties": {
          "hashes": {
            "description": "Each the lowercase hex SHA-256 of the account's DID, a newline, and the address trimmed and lowercased: salted with the DID, so the record names no address and one address hashes apart in each account that claims it.",
            "items": {
              "maxLength": 64,
              "minLength": 64,
              "type": "string"
            },
            "type": "array"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "hashes",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "The email addresses an account's commits are authored as, so pages can show those commits as the account's.",
  "id": "dev.knotless.emails",
  "lexicon": 1
}
```
