# net.wireservice.reader

> Published by [wireservice.net](https://lexicon.garden/identity/did:plc:lktj64hp7lc3fzuf6iyy7lwj)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.reader)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.reader/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.reader/examples)

## Definitions

### `net.wireservice.reader`

**Type**: `record`

A reader account, stored in the publication's admin-only business space. Keyed by the reader's ATProto DID; the CMS keeps one record per DID.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `did` | `string` (did) | Yes | The reader's ATProto DID, which they sign in and read with. |
| `email` | `string` | No | For receipts and contact; from Stripe for paying readers. |
| `stripeCustomerId` | `string` | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A reader account, stored in the publication's admin-only business space. Keyed by the reader's ATProto DID; the CMS keeps one record per DID.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "did": {
            "description": "The reader's ATProto DID, which they sign in and read with.",
            "format": "did",
            "type": "string"
          },
          "email": {
            "description": "For receipts and contact; from Stripe for paying readers.",
            "maxLength": 320,
            "type": "string"
          },
          "stripeCustomerId": {
            "maxLength": 256,
            "type": "string"
          }
        },
        "required": [
          "did",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.wireservice.reader",
  "lexicon": 1
}
```
