io.kich.pantry.defs

kich.io

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Shared definitions for pantry-related lexicons",
      "properties": {},
      "type": "object"
    },
    "pantryItemView": {
      "description": "One thing in the house, as a reader sees it.",
      "properties": {
        "category": {
          "description": "The product catalogue's category, where the item is matched to one",
          "type": "string"
        },
        "expirationDate": {
          "description": "When this turns. Absent for things that do not.",
          "format": "datetime",
          "type": "string"
        },
        "id": {
          "description": "Stable identifier for this pantry item",
          "type": "string"
        },
        "name": {
          "description": "What the thing is called",
          "type": "string"
        },
        "notes": {
          "description": "Whatever somebody wrote on it",
          "type": "string"
        },
        "purchasedAt": {
          "description": "When it came into the house",
          "format": "datetime",
          "type": "string"
        },
        "quantity": {
          "description": "How much there is. A number, and deliberately not an integer: half a bag is a real quantity.",
          "type": "unknown"
        },
        "status": {
          "description": "Whether the item is in stock, running low, or used up. `finished` items are never returned.",
          "knownValues": [
            "in_stock",
            "low",
            "depleted"
          ],
          "type": "string"
        },
        "unit": {
          "description": "The unit the quantity is counted in (pieces, g, ml, bunch)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "quantity",
        "unit",
        "status"
      ],
      "type": "object"
    }
  },
  "description": "Shared definitions for the pantry namespace. The pantry has no record type — it lives in the application database rather than on a PDS — so these views exist only as query output.",
  "id": "io.kich.pantry.defs",
  "lexicon": 1
}

Validate Record

Validate a record against io.kich.pantry.defs

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:uxjwdy4wvuridijisalvxlxe
CID
bafyreicvw6lfnnutcwsj6cpcjdmzausxzxrcang2tonmiqbrrnd7yla7lu
Indexed At
2026-09-13 00:06 UTC
AT-URI
at://did:plc:uxjwdy4wvuridijisalvxlxe/com.atproto.lexicon.schema/io.kich.pantry.defs

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • One thing in a pantry. Structured on purpose: a recipe ingredient is prose because recipe.exchange chose prose, but this lexicon is being written from scratch and has no reason to inherit that.

  • Shared definitions for the grocery namespace. Grocery lists have no record type — they live in the application database rather than on a PDS — so these views exist only as query output.

  • What is in a household's kitchen, soonest to turn first. Read-only.

Lexicon Garden

@