ink.igav.whatmealtodo.getSuggestions

kaur.igav.ink

{
  "id": "ink.igav.whatmealtodo.getSuggestions",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "suggestions"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "pantrySize": {
              "type": "integer",
              "minimum": 0,
              "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."
            },
            "suggestions": {
              "type": "array",
              "items": {
                "ref": "ink.igav.whatmealtodo.defs#suggestion",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 25,
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          },
          "maxMissing": {
            "type": "integer",
            "default": 2,
            "maximum": 10,
            "minimum": 0,
            "description": "Drop recipes missing more than this many ingredients. 0 is 'cook now' only."
          }
        }
      },
      "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "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)

Lexicon Garden

@