{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pdf4me-com/json-schema/pdf4me-com-post-api-v2-compressimage-request-schema.json",
  "title": "PostApiV2CompressimageRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/pdf4me-com-openapi-generated.yml#/components/schemas/PostApiV2CompressimageRequest",
  "type": "object",
  "properties": {
    "docName": {
      "type": "string",
      "description": "Filename of the source image including the file extension."
    },
    "docContent": {
      "type": "string",
      "description": "Base64 encoded image file content."
    },
    "imageType": {
      "type": "string",
      "description": "Output image format. Accepted values: JPG, PNG, WebP."
    },
    "compressionLevel": {
      "type": "string",
      "description": "Compression intensity. Accepted values: Max, Medium, Low."
    }
  },
  "required": [
    "docName",
    "docContent",
    "imageType",
    "compressionLevel"
  ]
}