APIs.io Engineering Platform · Schema
cache_variants_value
Value of the zone setting.
APIs.ioEngineeringPlatform
Properties
| Name | Type | Description |
|---|---|---|
| avif | array | List of strings with the MIME types of all the variants that should be served for avif. |
| bmp | array | List of strings with the MIME types of all the variants that should be served for bmp. |
| gif | array | List of strings with the MIME types of all the variants that should be served for gif. |
| jp2 | array | List of strings with the MIME types of all the variants that should be served for jp2. |
| jpeg | array | List of strings with the MIME types of all the variants that should be served for jpeg. |
| jpg | array | List of strings with the MIME types of all the variants that should be served for jpg. |
| jpg2 | array | List of strings with the MIME types of all the variants that should be served for jpg2. |
| png | array | List of strings with the MIME types of all the variants that should be served for png. |
| tif | array | List of strings with the MIME types of all the variants that should be served for tif. |
| tiff | array | List of strings with the MIME types of all the variants that should be served for tiff. |
| webp | array | List of strings with the MIME types of all the variants that should be served for webp. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/cache_variants_value",
"title": "cache_variants_value",
"description": "Value of the zone setting.",
"properties": {
"avif": {
"description": "List of strings with the MIME types of all the variants that should be served for avif.",
"example": [
"image/webp",
"image/jpeg"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"bmp": {
"description": "List of strings with the MIME types of all the variants that should be served for bmp.",
"example": [
"image/webp",
"image/jpeg"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"gif": {
"description": "List of strings with the MIME types of all the variants that should be served for gif.",
"example": [
"image/webp",
"image/jpeg"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"jp2": {
"description": "List of strings with the MIME types of all the variants that should be served for jp2.",
"example": [
"image/webp",
"image/avif"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"jpeg": {
"description": "List of strings with the MIME types of all the variants that should be served for jpeg.",
"example": [
"image/webp",
"image/avif"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"jpg": {
"description": "List of strings with the MIME types of all the variants that should be served for jpg.",
"example": [
"image/webp",
"image/avif"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"jpg2": {
"description": "List of strings with the MIME types of all the variants that should be served for jpg2.",
"example": [
"image/webp",
"image/avif"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"png": {
"description": "List of strings with the MIME types of all the variants that should be served for png.",
"example": [
"image/webp",
"image/avif"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"tif": {
"description": "List of strings with the MIME types of all the variants that should be served for tif.",
"example": [
"image/webp",
"image/avif"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"tiff": {
"description": "List of strings with the MIME types of all the variants that should be served for tiff.",
"example": [
"image/webp",
"image/avif"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"webp": {
"description": "List of strings with the MIME types of all the variants that should be served for webp.",
"example": [
"image/jpeg",
"image/avif"
],
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
}
},
"type": "object"
}