{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/convertfilefast-com/json-schema/convertfilefast-com-body-resize-image-v2-image-resize-post-schema.json",
  "title": "Body_resize_image_v2_image_resize_post",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/convertfilefast-com-openapi.json#/components/schemas/Body_resize_image_v2_image_resize_post",
  "properties": {
    "file": {
      "anyOf": [
        {
          "type": "string",
          "format": "binary"
        },
        {
          "type": "null"
        }
      ],
      "title": "File",
      "description": "Image file to resize"
    },
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url",
      "description": "URL of image file to resize"
    },
    "width": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Width",
      "description": "Target width in pixels"
    },
    "height": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Height",
      "description": "Target height in pixels"
    },
    "fit": {
      "type": "string",
      "title": "Fit",
      "description": "Fit mode: contain, cover, or fill",
      "default": "contain"
    },
    "format": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Format",
      "description": "Output format: jpeg, png, webp, etc."
    }
  },
  "type": "object"
}