net.wireservice.component.gallery

wireservice.net

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "galleryItem": {
      "description": "A single item within a gallery.",
      "properties": {
        "accessibilityCaption": {
          "maxGraphemes": 2000,
          "maxLength": 20000,
          "type": "string"
        },
        "aspectRatio": {
          "ref": "net.wireservice.defs#aspectRatio",
          "type": "ref"
        },
        "caption": {
          "description": "Visible caption as an array of text runs with optional formatting marks.",
          "items": {
            "ref": "net.wireservice.defs#textRun",
            "type": "ref"
          },
          "type": "array"
        },
        "explicitContent": {
          "type": "boolean"
        },
        "image": {
          "accept": [
            "image/jpeg",
            "image/png",
            "image/webp",
            "image/gif"
          ],
          "maxSize": 5000000,
          "type": "blob"
        },
        "url": {
          "description": "External URL for the image.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "aspectRatio"
      ],
      "type": "object"
    },
    "main": {
      "description": "Gallery component. An ordered collection of images displayed as a swipeable gallery or grid.",
      "properties": {
        "hidden": {
          "type": "boolean"
        },
        "identifier": {
          "maxLength": 256,
          "type": "string"
        },
        "items": {
          "description": "Gallery images.",
          "items": {
            "ref": "#galleryItem",
            "type": "ref"
          },
          "type": "array"
        },
        "layout": {
          "maxLength": 256,
          "type": "string"
        },
        "role": {
          "description": "Display mode for the gallery.",
          "knownValues": [
            "gallery",
            "mosaic"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "style": {
          "maxLength": 256,
          "type": "string"
        }
      },
      "required": [
        "items"
      ],
      "type": "object"
    }
  },
  "id": "net.wireservice.component.gallery",
  "lexicon": 1
}

Validate Record

Validate a record against net.wireservice.component.gallery

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

Metadata

DID
did:plc:lktj64hp7lc3fzuf6iyy7lwj
CID
bafyreihf4ffsu3c4w6xgstl2lzqzom3hwd4klx2cccfatibpghf2dbdnum
Indexed At
2026-10-12 21:12 UTC
AT-URI
at://did:plc:lktj64hp7lc3fzuf6iyy7lwj/com.atproto.lexicon.schema/net.wireservice.component.gallery

Referenced Schemas (2)

Similar Lexicons

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

Lexicon Garden

@