net.wireservice.component.image

wireservice.net

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Image component. Supports blob storage for AT Protocol-native images and optional external URLs.",
      "properties": {
        "accessibilityCaption": {
          "description": "Accessibility description of the image for screen readers.",
          "maxGraphemes": 2000,
          "maxLength": 20000,
          "type": "string"
        },
        "aspectRatio": {
          "description": "Aspect ratio of the image.",
          "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": {
          "description": "Whether the image contains explicit or sensitive content.",
          "type": "boolean"
        },
        "hidden": {
          "type": "boolean"
        },
        "identifier": {
          "maxLength": 256,
          "type": "string"
        },
        "image": {
          "accept": [
            "image/jpeg",
            "image/png",
            "image/webp",
            "image/gif"
          ],
          "description": "The image blob.",
          "maxSize": 5000000,
          "type": "blob"
        },
        "layout": {
          "description": "Reference to a named component layout.",
          "maxLength": 256,
          "type": "string"
        },
        "style": {
          "description": "Reference to a named component style.",
          "maxLength": 256,
          "type": "string"
        },
        "url": {
          "description": "External URL for the image (e.g., CDN-hosted). Alternative or supplement to the blob.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "aspectRatio"
      ],
      "type": "object"
    }
  },
  "id": "net.wireservice.component.image",
  "lexicon": 1
}

Validate Record

Validate a record against net.wireservice.component.image

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

Metadata

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

Referenced Schemas (2)

Similar Lexicons

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

  • net.wireservice.component.photo objectnot from the namespace authority

    Photo component. Semantically distinct from image: used for photographs rather than illustrations or graphics. Same properties as image.

  • An image block for displaying visual content. Supports both external URLs and AT Protocol blob storage with automatic aspect ratio preservation.

  • net.wireservice.component.gallery objectnot from the namespace authority

    Gallery component. An ordered collection of images displayed as a swipeable gallery or grid.

  • net.wireservice.component.video objectnot from the namespace authority

    Video component. Supports blob storage for AT Protocol-native video and optional external URLs (e.g., HLS streams or CDN-hosted MP4). At least one of `video` or `url` should be provided.

Lexicon Garden

@