{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ImageSizeParameters", "title": "Image size parameters", "required": [ "ImageId" ], "type": "object", "properties": { "ImageId": { "type": "string", "description": "Unique identifier of the image.", "format": "uuid" }, "Width": { "type": "integer", "description": "Desired width of the image.", "format": "int32", "nullable": true }, "Height": { "type": "integer", "description": "Desired height of the image.", "format": "int32", "nullable": true }, "ResizeMode": { "allOf": [ { "$ref": "#/components/schemas/ImageResizeModeEnum" } ], "description": "Mode how the image should be resized to the desired width and height.\n\nCover (Resize to fit within the specified size, so the result might be smaller than requested.)\n\nCoverExact (Resize and pad to exactly fit within the specified size.)\n\nFit (Resize to fit within the specified size, so the result might be smaller than requested.)\n\nFitExact (Resize and pad to exactly fit within the specified size.)", "nullable": true } }, "additionalProperties": false, "x-schema-id": "ImageSizeParameters" }