fyi.atstore.directory.searchListings

atstore.fyi

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "listingCardSearch": {
      "properties": {
        "accent": {
          "knownValues": [
            "blue",
            "pink",
            "purple",
            "green"
          ],
          "maxLength": 16,
          "type": "string"
        },
        "appTags": {
          "items": {
            "maxLength": 256,
            "type": "string"
          },
          "type": "array"
        },
        "category": {
          "maxLength": 640,
          "type": "string"
        },
        "categorySlug": {
          "maxLength": 512,
          "nullable": true,
          "type": "string"
        },
        "categorySlugs": {
          "items": {
            "maxLength": 512,
            "type": "string"
          },
          "type": "array"
        },
        "description": {
          "maxLength": 20000,
          "type": "string"
        },
        "heroImageUrl": {
          "maxLength": 8192,
          "nullable": true,
          "type": "string"
        },
        "iconUrl": {
          "maxLength": 8192,
          "nullable": true,
          "type": "string"
        },
        "name": {
          "maxLength": 640,
          "type": "string"
        },
        "priceLabel": {
          "maxLength": 32,
          "type": "string"
        },
        "productAccountHandle": {
          "maxLength": 512,
          "nullable": true,
          "type": "string"
        },
        "rating": {
          "maxLength": 16,
          "nullable": true,
          "type": "string"
        },
        "reviewCount": {
          "type": "integer"
        },
        "tagline": {
          "maxLength": 2000,
          "type": "string"
        },
        "uri": {
          "description": "AT URI of the fyi.atstore.listing.detail record.",
          "format": "at-uri",
          "maxLength": 2560,
          "type": "string"
        }
      },
      "required": [
        "uri",
        "name",
        "tagline",
        "description",
        "category",
        "accent",
        "reviewCount",
        "priceLabel",
        "appTags",
        "categorySlugs"
      ],
      "type": "object"
    },
    "main": {
      "description": "Directory listing search and pagination (verified listings with a listing.detail AT URI only).",
      "errors": [
        {
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "maxLength": 512,
              "type": "string"
            },
            "listings": {
              "items": {
                "ref": "#listingCardSearch",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "listings"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "maxLength": 512,
            "type": "string"
          },
          "limit": {
            "default": 24,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "maxLength": 512,
            "type": "string"
          },
          "sort": {
            "default": "popular",
            "enum": [
              "popular",
              "newest",
              "alphabetical"
            ],
            "maxLength": 24,
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.atstore.directory.searchListings",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.atstore.directory.searchListings

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:dvy6bdnofdfc4php4s5b457d
CID
bafyreiay3og52p2jqtuxnd7jn4iqtjab63e7cuk2vd7sxefla6lfjsrkki
Indexed At
2026-06-11 15:30 UTC
AT-URI
at://did:plc:dvy6bdnofdfc4php4s5b457d/com.atproto.lexicon.schema/fyi.atstore.directory.searchListings

Version History (2 versions)

Similar Lexicons

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

  • Fetch one public verified listing. Provide exactly one of `uri` (fyi.atstore.listing.detail AT URI) or `externalUrl` (unique storefront URL); `externalUrl` uses the same matching rules as the former resolve endpoint.

  • List reviews for a directory listing (mirrored Tap data plus profile enrichment).

Lexicon Garden

@