pub.leaflet.blocks.image

Repository @leaflet.pub did:plc:btxrwcaeyodrap5mnjw2fvmz namespace authority
Details · object
Kindobject
Authorityblocks.leaflet.pub
Indexed

Showing version bafyreignfrqf3bw7a6xl7idfd5mtba62z7bbtpo2xevx6rzf2nvaglheaa. Show the latest

cid bafyreignfrqf3bw7a6xl7idfd5mtba62z7bbtpo2xevx6rzf2nvaglheaa

Checks

Valid
  • unlimited-string defs.main.properties.altNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "aspectRatio": {
      "properties": {
        "height": {
          "type": "integer"
        },
        "width": {
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "main": {
      "properties": {
        "alt": {
          "description": "Alt text description of the image, for accessibility.",
          "type": "string"
        },
        "aspectRatio": {
          "ref": "#aspectRatio",
          "type": "ref"
        },
        "fullBleed": {
          "description": "Whether the image should extend to the full width of the container, ignoring padding.",
          "type": "boolean"
        },
        "image": {
          "accept": [
            "image/*"
          ],
          "maxSize": 1000000,
          "type": "blob"
        }
      },
      "required": [
        "image",
        "aspectRatio"
      ],
      "type": "object"
    }
  },
  "id": "pub.leaflet.blocks.image",
  "lexicon": 1
}