images_image_variant_fit

The fit property describes how the width and height dimensions should be interpreted.

APIs.ioEngineeringPlatform
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-images-image-variant-fit-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/images_image_variant_fit",
  "title": "images_image_variant_fit",
  "description": "The fit property describes how the width and height dimensions should be interpreted.",
  "enum": [
    "scale-down",
    "contain",
    "cover",
    "crop",
    "pad"
  ],
  "example": "scale-down",
  "type": "string"
}