ProductCropRequest

Request to automatically crop an image to the primary product

CreativeDesignGraphicsPhotographyVideo

Properties

Name Type Description
input object
output object
options object
View JSON Schema on GitHub

JSON Schema

adobe-creative-suite-productcroprequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProductCropRequest",
  "title": "ProductCropRequest",
  "type": "object",
  "description": "Request to automatically crop an image to the primary product",
  "required": [
    "input",
    "output"
  ],
  "properties": {
    "input": {
      "$ref": "#/components/schemas/JobInput"
    },
    "output": {
      "$ref": "#/components/schemas/JobOutput"
    },
    "options": {
      "type": "object",
      "properties": {
        "unit": {
          "type": "string",
          "enum": [
            "pixel",
            "percent"
          ]
        },
        "padding": {
          "type": "number",
          "description": "Padding to add around the product crop"
        }
      }
    }
  }
}