social.coves.embed.images

coves.social

Documentation

Image set embed supporting multiple images (max 8)

main object

Image set embed supporting multiple images (max 8)

Properties

images array of ref#image Required

Set of images in the post

maxLength: 8 itemsminLength: 1 items
View raw schema
{
  "type": "object",
  "required": [
    "images"
  ],
  "properties": {
    "images": {
      "type": "array",
      "items": {
        "ref": "#image",
        "type": "ref"
      },
      "maxLength": 8,
      "minLength": 1,
      "description": "Set of images in the post"
    }
  },
  "description": "Image set embed supporting multiple images (max 8)"
}
aspectRatio object

Image aspect ratio for client display

Properties

height integer Required

Height component of aspect ratio

minimum: 1
width integer Required

Width component of aspect ratio

minimum: 1
View raw schema
{
  "type": "object",
  "required": [
    "width",
    "height"
  ],
  "properties": {
    "width": {
      "type": "integer",
      "minimum": 1,
      "description": "Width component of aspect ratio"
    },
    "height": {
      "type": "integer",
      "minimum": 1,
      "description": "Height component of aspect ratio"
    }
  },
  "description": "Image aspect ratio for client display"
}
image object

Individual image with metadata

Properties

alt string Optional

Alt text for accessibility

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
aspectRatio ref #aspectRatio Optional

Aspect ratio for client-side rendering optimization

image blob Required

Image blob reference

maxSize: 10.0 MB
View raw schema
{
  "type": "object",
  "required": [
    "image"
  ],
  "properties": {
    "alt": {
      "type": "string",
      "maxLength": 10000,
      "description": "Alt text for accessibility",
      "maxGraphemes": 1000
    },
    "image": {
      "type": "blob",
      "accept": [
        "image/png",
        "image/jpeg",
        "image/webp",
        "image/gif"
      ],
      "maxSize": 10000000,
      "description": "Image blob reference"
    },
    "aspectRatio": {
      "ref": "#aspectRatio",
      "type": "ref",
      "description": "Aspect ratio for client-side rendering optimization"
    }
  },
  "description": "Individual image with metadata"
}

Lexicon Garden

@