@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
33 lines • 855 B
JSON
{
"type": "object",
"properties": {
"altText": {
"type": "string",
"description": "Tooltip content which is visible while image mouse hovering"
},
"format": {
"type": "string",
"description": "Format of the image, can be zoom, product, thumbnail, store, cartIcon, etc."
},
"galleryIndex": {
"type": "integer",
"format": "int32",
"description": "Index of the image while displayed in gallery"
},
"imageType": {
"type": "string",
"description": "Type of the image, can be PRIMARY or GALLERY",
"enum": [
"PRIMARY",
"GALLERY"
]
},
"url": {
"type": "string",
"description": "URL address of the image"
}
},
"title": "Image",
"description": "Representation of an Image",
"$schema": "http://json-schema.org/schema#"
}