A single image attachment.
Properties
Optional alt-text or accessibility description for the image.
maxLength: 1024 bytesmaxGraphemes: 256 graphemes
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"
}
An optional primary/hero image plus optional additional images.
Properties
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.
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"
}