# ai.newnal.illi.private.phoneKey

> Published by [illi-service.newnal.id](https://lexicon.garden/identity/did:plc:uztm7bi2ce42dez3uu3qafro)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.private.phoneKey)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.private.phoneKey/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.private.phoneKey/examples)

## Definitions

### `ai.newnal.illi.private.phoneKey`

**Type**: `record`

The author's own Private Phone account for one home, kept in the author's Private Sphere so a reinstalled app or a replaced device restores the same Matrix identity. rkey = homeId.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `home` | `string` (tid) | Yes |  |
| `keyVersion` | `integer` | No |  |
| `mxid` | `string` | Yes |  |
| `privateKey` | `bytes` | Yes | did:key private key material. |
| `updatedAt` | `string` (datetime) | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The author's own Private Phone account for one home, kept in the author's Private Sphere so a reinstalled app or a replaced device restores the same Matrix identity. rkey = homeId.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "home": {
            "format": "tid",
            "type": "string"
          },
          "keyVersion": {
            "minimum": 1,
            "type": "integer"
          },
          "mxid": {
            "maxLength": 255,
            "type": "string"
          },
          "privateKey": {
            "description": "did:key private key material.",
            "maxLength": 256,
            "type": "bytes"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "home",
          "mxid",
          "privateKey",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.illi.private.phoneKey",
  "lexicon": 1
}
```
