Photo component. Semantically distinct from image: used for photographs rather than illustrations or graphics. Same properties as image.
Properties
accessibilityCaption
string
Optional
Accessibility description for screen readers.
maxLength: 20000 bytesmaxGraphemes: 2000 graphemesaspectRatio
ref
net.wireservice.defs#aspectRatio
Required
No description available.
caption
array
of refnet.wireservice.defs#textRun
Optional
Visible caption as an array of text runs with optional formatting marks.
explicitContent
boolean
Optional
No description available.
hidden
boolean
Optional
No description available.
identifier
string
Optional
No description available.
maxLength: 256 bytesimage
blob
Optional
No description available.
maxSize: 5.0 MBlayout
string
Optional
No description available.
maxLength: 256 bytesstyle
string
Optional
No description available.
maxLength: 256 bytesurl
string
uri
Optional
External URL for the photo.
View raw schema
{
"description": "Photo component. Semantically distinct from image: used for photographs rather than illustrations or graphics. Same properties as image.",
"properties": {
"accessibilityCaption": {
"description": "Accessibility description for screen readers.",
"maxGraphemes": 2000,
"maxLength": 20000,
"type": "string"
},
"aspectRatio": {
"ref": "net.wireservice.defs#aspectRatio",
"type": "ref"
},
"caption": {
"description": "Visible caption as an array of text runs with optional formatting marks.",
"items": {
"ref": "net.wireservice.defs#textRun",
"type": "ref"
},
"type": "array"
},
"explicitContent": {
"type": "boolean"
},
"hidden": {
"type": "boolean"
},
"identifier": {
"maxLength": 256,
"type": "string"
},
"image": {
"accept": [
"image/jpeg",
"image/png",
"image/webp",
"image/gif"
],
"maxSize": 5000000,
"type": "blob"
},
"layout": {
"maxLength": 256,
"type": "string"
},
"style": {
"maxLength": 256,
"type": "string"
},
"url": {
"description": "External URL for the photo.",
"format": "uri",
"type": "string"
}
},
"required": [
"aspectRatio"
],
"type": "object"
}