Shared definitions for grocery-related lexicons
This object has no properties defined.
View raw schema
{
"description": "Shared definitions for grocery-related lexicons",
"properties": {},
"type": "object"
}
Shared definitions for grocery-related lexicons
Shared definitions for grocery-related lexicons
This object has no properties defined.
{
"description": "Shared definitions for grocery-related lexicons",
"properties": {},
"type": "object"
}
A shopping list, without its items. `toBuy` is the count a reader actually wants; the items themselves are a shopping surface, not a planning one.
completedAt
string
datetime
Optional
An RFC 3339 formatted timestamp.
createdAt
string
datetime
Optional
An RFC 3339 formatted timestamp.
id
string
Required
No description available.
name
string
Required
No description available.
status
string
Required
No description available.
draft, active, completed, archivedtoBuy
integer
Required
How many items on the list are still unchecked
minimum: 0{
"description": "A shopping list, without its items. `toBuy` is the count a reader actually wants; the items themselves are a shopping surface, not a planning one.",
"properties": {
"completedAt": {
"format": "datetime",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"knownValues": [
"draft",
"active",
"completed",
"archived"
],
"type": "string"
},
"toBuy": {
"description": "How many items on the list are still unchecked",
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"name",
"status",
"toBuy"
],
"type": "object"
}
A recipe somebody attached to a shopping list — which is what a planned meal is in this product. There is no separate meal-plan record, and this view does not pretend there is one.
plannedDate
string
datetime
Optional
The night it is meant for, when somebody set one. Usually absent — most lists are ordered, not dated.
recipe
ref
io.kich.recipe.defs#recipeView
Required
No description available.
servings
unknown
Required
How many this is being cooked for, which may differ from the recipe's own
{
"description": "A recipe somebody attached to a shopping list — which is what a planned meal is in this product. There is no separate meal-plan record, and this view does not pretend there is one.",
"properties": {
"plannedDate": {
"description": "The night it is meant for, when somebody set one. Usually absent — most lists are ordered, not dated.",
"format": "datetime",
"type": "string"
},
"recipe": {
"ref": "io.kich.recipe.defs#recipeView",
"type": "ref"
},
"servings": {
"description": "How many this is being cooked for, which may differ from the recipe's own",
"type": "unknown"
}
},
"required": [
"recipe",
"servings"
],
"type": "object"
}