io.kich.pantry.defs
Shared definitions for pantry-related lexicons
Details · object
| Kind | object |
|---|---|
| Authority | pantry.kich.io |
| Indexed |
Object
objectProperties
#pantryItemView
objectOne thing in the house, as a reader sees it.
Properties
category
stringThe product catalogue's category, where the item is matched to one
expirationDate
string · datetimeWhen this turns. Absent for things that do not.
Stable identifier for this pantry item
What the thing is called
notes
stringWhatever somebody wrote on it
purchasedAt
string · datetimeWhen it came into the house
How much there is. A number, and deliberately not an integer: half a bag is a real quantity.
Whether the item is in stock, running low, or used up. `finished` items are never returned.
knownValues: in_stock | low | depleted
The unit the quantity is counted in (pieces, g, ml, bunch)
Similar lexicons
semantic matchLexicons 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.
-
io.kich.grocery.defs
objectShared 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.
-
io.kich.pantry.listItems
queryWhat is in a household's kitchen, soonest to turn first. Read-only.