# dev.knotless.emails

> Published by [lexicons.knotless.dev](https://lexicon.garden/identity/did:plc:yqsg7znbbhfmj3a2nrpnaerk)

✓ This is the authoritative definition for this NSID.

## Description

The email addresses an account's commits are authored as, so pages can show those commits as the account's.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.emails)
- [Documentation](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.emails/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.emails/examples)

## Definitions

### `dev.knotless.emails`

**Type**: `record`

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`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `hashes` | `array` | Yes | 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. |
| `updatedAt` | `string` (datetime) | Yes |  |

## Raw 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
}
```
