social.dracome.embed.defs

dracome.social

Documentation

image object

A single image attachment.

Properties

altText string Optional

Optional alt-text or accessibility description for the image.

maxLength: 1024 bytesmaxGraphemes: 256 graphemes
image blob Required

Image data blob. Max 2MB (2,000,000 bytes) per image.

maxSize: 2.0 MB
View raw schema
{
  "description": "A single image attachment.",
  "properties": {
    "altText": {
      "description": "Optional alt-text or accessibility description for the image.",
      "maxGraphemes": 256,
      "maxLength": 1024,
      "type": "string"
    },
    "image": {
      "accept": [
        "image/*"
      ],
      "description": "Image data blob. Max 2MB (2,000,000 bytes) per image.",
      "maxSize": 2000000,
      "type": "blob"
    }
  },
  "required": [
    "image"
  ],
  "type": "object"
}
images object

An optional primary/hero image plus optional additional images.

Properties

primary ref #image Optional

Optional primary/hero image, when one is designated. At most one primary is structurally guaranteed by this being a scalar field rather than a per-item flag.

secondary array of ref#image Optional

Additional images, in display order after the primary image if one is present.

maxLength: 4 items
View raw schema
{
  "description": "An optional primary/hero image plus optional additional images.",
  "properties": {
    "primary": {
      "description": "Optional primary/hero image, when one is designated. At most one primary is structurally guaranteed by this being a scalar field rather than a per-item flag.",
      "ref": "#image",
      "type": "ref"
    },
    "secondary": {
      "description": "Additional images, in display order after the primary image if one is present.",
      "items": {
        "ref": "#image",
        "type": "ref"
      },
      "maxLength": 4,
      "type": "array"
    }
  },
  "type": "object"
}

Lexicon Garden

@