{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vmotif-com/json-schema/vmotif-com-image-transform-result-schema.json",
  "title": "ImageTransformResult",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vmotif-com-openapi.yml#/components/schemas/ImageTransformResult",
  "type": "object",
  "required": [
    "url",
    "path",
    "width",
    "height",
    "bytes",
    "format",
    "withinTarget",
    "trimmed"
  ],
  "properties": {
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Public URL of the stored result. Null when a trim found nothing to cut."
    },
    "path": {
      "type": [
        "string",
        "null"
      ],
      "description": "Bucket-relative storage path of the result."
    },
    "width": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Output width in pixels."
    },
    "height": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Output height in pixels."
    },
    "bytes": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Output size in bytes."
    },
    "format": {
      "type": [
        "string",
        "null"
      ],
      "description": "Output format (png, jpeg, webp, or avif)."
    },
    "withinTarget": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "`compress` only: whether `targetBytes` was reached. False means the smallest possible encode was stored instead."
    },
    "trimmed": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "`trim` only: false when no uniform edges were found (nothing was stored)."
    }
  }
}