org.atsui.Blob

atsui.org

{
  "id": "org.atsui.Blob",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "src",
            "did"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did",
              "description": "DID of the blob owner. Used to resolve blob URLs."
            },
            "fit": {
              "enum": [
                "cover",
                "contain"
              ],
              "type": "string",
              "maxLength": 32,
              "description": "When set, Blob fills its container height. 'cover' crops to fill; 'contain' letterboxes."
            },
            "src": {
              "type": "unknown",
              "description": "Blob ref for the image."
            },
            "ratio": {
              "ref": "#aspectRatio",
              "type": "ref",
              "description": "Known aspect ratio for CLS prevention. Reserves space before the image loads."
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "ref": "at.inlay.defs#response",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "Displays an AT Protocol blob as an image."
    },
    "aspectRatio": {
      "type": "object",
      "required": [
        "width",
        "height"
      ],
      "properties": {
        "width": {
          "type": "integer",
          "minimum": 1
        },
        "height": {
          "type": "integer",
          "minimum": 1
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against org.atsui.Blob

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

Metadata

DID
did:plc:e4fjueijznwqm2yxvt7q4mba
CID
bafyreie5ozznszdyy7qpctuz2cseecaxbrhqewvsal4l6tnjhnyhliekxu
Indexed At
2026-03-19 20:24 UTC
AT-URI
at://did:plc:e4fjueijznwqm2yxvt7q4mba/com.atproto.lexicon.schema/org.atsui.Blob

Referenced Schemas (1)

Lexicon Garden

@