ink.igav.whatmealtodo.getSuggestions

kaur.igav.ink

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Recipes ranked by how much of them the caller's pantry already covers. The one query that needs both halves of this AppView: a network-wide public index, and one non-public repo. Neither source can answer it alone.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "pantrySize": {
              "description": "How many pantry items the ranking was computed against. An empty pantry produces an empty answer for a reason worth stating rather than leaving to look like no recipes matched.",
              "minimum": 0,
              "type": "integer"
            },
            "suggestions": {
              "items": {
                "ref": "ink.igav.whatmealtodo.defs#suggestion",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "suggestions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 25,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "maxMissing": {
            "default": 2,
            "description": "Drop recipes missing more than this many ingredients. 0 is 'cook now' only.",
            "maximum": 10,
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ink.igav.whatmealtodo.getSuggestions",
  "lexicon": 1
}

Validate Record

Validate a record against ink.igav.whatmealtodo.getSuggestions

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:vd7yvfuocu3xr54lnszirlgz
CID
bafyreigkcjrx2iwopp2l2nrapitabutebvxzmibdk2k77b2nkmgtchmkvu
Indexed At
2026-08-25 08:11 UTC
AT-URI
at://did:plc:vd7yvfuocu3xr54lnszirlgz/com.atproto.lexicon.schema/ink.igav.whatmealtodo.getSuggestions

Version History (2 versions)

Referenced Schemas (1)

Similar Lexicons

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

  • 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.

  • A person overrode the normalizer's proposal. Every one of these is a case the rules got wrong, which is why it is recorded rather than discarded.

Lexicon Garden

@