io.kich.pantry.listItems

kich.io

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List a household's pantry items. Items with status `finished` are never returned — they are history, not stock.",
      "errors": [
        {
          "description": "No bearer token, or one this endpoint does not accept.",
          "name": "AuthRequired"
        },
        {
          "description": "No such household, or the credential is not scoped to it. Deliberately the same error for both: a caller holding the wrong token learns nothing about which households exist.",
          "name": "HouseholdNotFound"
        },
        {
          "description": "The cursor was not one this endpoint issued.",
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Absent when there is no further page.",
              "type": "string"
            },
            "items": {
              "items": {
                "ref": "io.kich.pantry.defs#pantryItemView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "expiringWithinDays": {
            "description": "Only items that turn within this many days",
            "maximum": 365,
            "minimum": 1,
            "type": "integer"
          },
          "household": {
            "description": "The household whose pantry to read. Must be the household the credential is scoped to.",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "status": {
            "description": "Only items in this state",
            "knownValues": [
              "in_stock",
              "low",
              "depleted"
            ],
            "type": "string"
          }
        },
        "required": [
          "household"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "What is in a household's kitchen, soonest to turn first. Read-only.",
  "id": "io.kich.pantry.listItems",
  "lexicon": 1
}

Validate Record

Validate a record against io.kich.pantry.listItems

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

Metadata

DID
did:plc:uxjwdy4wvuridijisalvxlxe
CID
bafyreig65hfjzzzasm4sunjkandhpuiwrywj3pjfsejywdll5fqc6ojyb4
Indexed At
2026-09-13 00:06 UTC
AT-URI
at://did:plc:uxjwdy4wvuridijisalvxlxe/com.atproto.lexicon.schema/io.kich.pantry.listItems

Referenced Schemas (1)

Similar Lexicons

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

  • A household's cookbook, most cookable first. Read-only.

  • The household's current shopping list and the recipes attached to it — which is what 'what are we cooking this week' means in this product. Read-only.

  • Shared definitions for the pantry namespace. The pantry has no record type — it lives in the application database rather than on a PDS — so these views exist only as query output.

Lexicon Garden

@