app.bivri.search.searchArtworks

lexicons.bivri.app

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

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)

Lexicon Garden

@