# now.whatdoyouwant.wishlist.item

> A single entry on a wish or shopping list.

- Kind: record
- Record key: tid
- Authority: wishlist.whatdoyouwant.now
- Lexicon: 1
- Published by [wecadin.today](https://lexicon.garden/identity/did:plc:pg7kb4wayxxihygmwb4w6upu), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:pg7kb4wayxxihygmwb4w6upu/now.whatdoyouwant.wishlist.item)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:pg7kb4wayxxihygmwb4w6upu/now.whatdoyouwant.wishlist.item/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:pg7kb4wayxxihygmwb4w6upu/now.whatdoyouwant.wishlist.item/analytics)

## Record (`now.whatdoyouwant.wishlist.item`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `image` (blob)
  - Constraints: maxSize: 1000000, accept: image/*
- `listUri` (string · uri, required)
- `name` (string, required)
  - Constraints: maxLength: 1200, maxGraphemes: 120
- `note` (string)
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `price` (ref, required)
  - Reference: `#money`
- `priority` (string, required)
  - Constraints: default: "medium", knownValues: low | medium | high
- `quantity` (integer, required)
  - Constraints: minimum: 1
- `tags` (array)
  - `items` (string)
    - Constraints: maxLength: 50
- `website` (string · uri, required)
  - Constraints: maxLength: 2048

## #money (`now.whatdoyouwant.wishlist.item#money`)

Type: object

Pricing information in a currency-agnostic way.

### Properties

- `currency` (string, required): ISO-4217 three-letter currency code.
  - Constraints: minLength: 3, maxLength: 3
- `minorUnits` (integer, required): Price expressed in the smallest unit of the currency.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single entry on a wish or shopping list.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "image": {
            "accept": [
              "image/*"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "listUri": {
            "format": "uri",
            "type": "string"
          },
          "name": {
            "maxGraphemes": 120,
            "maxLength": 1200,
            "type": "string"
          },
          "note": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "price": {
            "ref": "#money",
            "type": "ref"
          },
          "priority": {
            "default": "medium",
            "knownValues": [
              "low",
              "medium",
              "high"
            ],
            "type": "string"
          },
          "quantity": {
            "minimum": 1,
            "type": "integer"
          },
          "tags": {
            "items": {
              "maxLength": 50,
              "type": "string"
            },
            "maxItems": 10,
            "type": "array"
          },
          "website": {
            "format": "uri",
            "maxLength": 2048,
            "type": "string"
          }
        },
        "required": [
          "name",
          "listUri",
          "quantity",
          "priority",
          "website",
          "price",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "money": {
      "description": "Pricing information in a currency-agnostic way.",
      "properties": {
        "currency": {
          "description": "ISO-4217 three-letter currency code.",
          "maxLength": 3,
          "minLength": 3,
          "type": "string"
        },
        "minorUnits": {
          "description": "Price expressed in the smallest unit of the currency.",
          "type": "integer"
        }
      },
      "required": [
        "currency",
        "minorUnits"
      ],
      "type": "object"
    }
  },
  "id": "now.whatdoyouwant.wishlist.item",
  "lexicon": 1
}
```
