# blue.registry.purchase

> Published by [registry.blue](https://lexicon.garden/identity/did:plc:4olik72a346dcc2hppt7ioo4)

✓ This is the authoritative definition for this NSID.

## Description

A record indicating the list owner has purchased an item.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4olik72a346dcc2hppt7ioo4/blue.registry.purchase)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4olik72a346dcc2hppt7ioo4/blue.registry.purchase/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4olik72a346dcc2hppt7ioo4/blue.registry.purchase/examples)

## Definitions

### `blue.registry.purchase`

**Type**: `record`

Marks an item as bought. Stored in the list owner's repo.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `item` | `string` (at-uri) | Yes | AT-URI of the purchased item. |
| `price` | `ref` → `blue.registry.item#money` | No | What was actually paid. |
| `createdAt` | `string` (datetime) | Yes | Timestamp when the item was marked as bought. |

## Raw Schema

```json
{
  "id": "blue.registry.purchase",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "item",
          "createdAt"
        ],
        "properties": {
          "item": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the purchased item."
          },
          "price": {
            "ref": "blue.registry.item#money",
            "type": "ref",
            "description": "What was actually paid."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when the item was marked as bought."
          }
        }
      },
      "description": "Marks an item as bought. Stored in the list owner's repo."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A record indicating the list owner has purchased an item."
}
```
