{
"id": "ink.igav.whatmealtodo.getRecipes",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"recipes"
],
"properties": {
"cursor": {
"type": "string"
},
"recipes": {
"type": "array",
"items": {
"ref": "ink.igav.whatmealtodo.defs#recipeView",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"q": {
"type": "string",
"maxLength": 100,
"description": "Match against canonical ingredient names, not free text. Searching what the normalizer produced is the point: it shows what the index actually holds."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"cursor": {
"type": "string"
}
}
},
"description": "The public recipe index, unfiltered and unauthenticated. It exists to prove the indexer works before there is a pantry to match against, and stays because an AppView that cannot show what it indexed is hard to debug."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}