io.kich.pantry.defs

Shared definitions for pantry-related lexicons

Repository @kich.io did:plc:uxjwdy4wvuridijisalvxlxe namespace authority
Details · object
Kindobject
Authoritypantry.kich.io
Indexed

Object

object

Properties

#pantryItemView

object

One thing in the house, as a reader sees it.

Properties

category

string

The product catalogue's category, where the item is matched to one

expirationDate

string · datetime

When this turns. Absent for things that do not.

id

requiredstring

Stable identifier for this pantry item

name

requiredstring

What the thing is called

notes

string

Whatever somebody wrote on it

purchasedAt

string · datetime

When it came into the house

quantity

requiredunknown

How much there is. A number, and deliberately not an integer: half a bag is a real quantity.

status

requiredstring

Whether the item is in stock, running low, or used up. `finished` items are never returned.

  • knownValues: in_stock | low | depleted

unit

requiredstring

The unit the quantity is counted in (pieces, g, ml, bunch)

Similar lexicons

semantic match

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.