community.gifthood.feed.getListings

gifthood.community

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Fetch listings near a geohash cell, optionally filtered by intent. Returns a page of listingView objects ordered newest-first.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "area": {
              "description": "The resolved label for the queried (effective) cell — for the feed header. Optional/additive.",
              "ref": "community.gifthood.geo.defs#area",
              "type": "ref"
            },
            "cursor": {
              "description": "Opaque keyset cursor for fetching the next page. Absent when no further results exist.",
              "type": "string"
            },
            "listings": {
              "items": {
                "ref": "community.gifthood.feed.defs#listingView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "listings"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "geohash": {
            "description": "The caller's geohash cell. The server truncates this to `precision` characters before querying.",
            "type": "string"
          },
          "intent": {
            "description": "When supplied, returns only listings of this intent type.",
            "enum": [
              "offer",
              "request"
            ],
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "Maximum number of listings to return. Defaults to 50; hard cap 100.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "mode": {
            "description": "When supplied, returns only listings of this mode (\"lend\" = the Borrow feed segment). Omitted returns both.",
            "enum": [
              "gift",
              "lend"
            ],
            "type": "string"
          },
          "precision": {
            "description": "Display and query precision (number of geohash characters). Lower values widen the search area.",
            "maximum": 12,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "geohash"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "community.gifthood.feed.getListings",
  "lexicon": 1
}

Validate Record

Validate a record against community.gifthood.feed.getListings

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

Metadata

DID
did:plc:7prvtl4j6wsfmkrfrnwknuxj
CID
bafyreihztbppvqlai4hipsygf24jwu47yqwsb2bv3symp5h6dee4snd22u
Indexed At
2026-07-20 06:01 UTC
AT-URI
at://did:plc:7prvtl4j6wsfmkrfrnwknuxj/com.atproto.lexicon.schema/community.gifthood.feed.getListings

Referenced Schemas (2)

Similar Lexicons

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

  • List the interests ('raised hands') on a listing, each with the interested person's resolved identity. Rows are viewer-block-filtered, newest first; totalCount reflects all interests (the public count).

Lexicon Garden

@