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