app.bivri.search.searchArtworks

lexicons.bivri.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "artworks": {
              "items": {
                "ref": "app.bivri.feed.defs#artworkView",
                "type": "ref"
              },
              "type": "array"
            },
            "cursor": {
              "type": "string"
            },
            "suggestedTags": {
              "description": "Popular tags suggested when the search matched no artworks.",
              "items": {
                "ref": "#tagSuggestion",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "artworks"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Opaque pagination cursor. Valid only for the sort mode it was issued under; pass it back unchanged on the next request.",
            "type": "string"
          },
          "limit": {
            "default": 25,
            "description": "Maximum number of artworks to return.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "description": "Search query. Supports boolean tag search, with 'tag:xxx' terms combined by AND, OR and NOT.",
            "type": "string"
          },
          "sort": {
            "default": "relevance",
            "description": "Ordering of the results. 'relevance' is by match score; 'latest' is reverse-chronological; 'popular' is by like count.",
            "knownValues": [
              "relevance",
              "latest",
              "popular"
            ],
            "type": "string"
          }
        },
        "required": [
          "q"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "tagSuggestion": {
      "properties": {
        "count": {
          "type": "integer"
        },
        "tag": {
          "type": "string"
        }
      },
      "required": [
        "tag",
        "count"
      ],
      "type": "object"
    }
  },
  "description": "Search artworks by keyword, tag, or author name. A 'tag:' prefix enables boolean tag search.",
  "id": "app.bivri.search.searchArtworks",
  "lexicon": 1
}

Validate Record

Validate a record against app.bivri.search.searchArtworks

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

Metadata

DID
did:plc:uqat5a7hrbww3snbbinxgwah
CID
bafyreigguua6wmfzvnkdsp56lpt4a7cthk6frhaarscuipulmtt63fd24i
Indexed At
2026-08-04 07:17 UTC
AT-URI
at://did:plc:uqat5a7hrbww3snbbinxgwah/com.atproto.lexicon.schema/app.bivri.search.searchArtworks

Referenced Schemas (1)

Similar Lexicons

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

  • Get artworks carrying a tag, paginated by cursor.

  • Get the public discovery feed. Authentication is not required: a guest sees public artworks and an authenticated member also sees logged_in ones. Unlisted artworks are returned to nobody.

  • Get tag autocomplete suggestions for a prefix.

  • Get the authenticated Member's initial Artwork feed selected by their durable interest Tags. An empty interest set or no currently servable match returns an empty feed rather than silently substituting public discovery …

  • Search hashtags by prefix, ordered by popularity (number of distinct records using the tag).

Lexicon Garden

@