Adobe Creative Suite · JSON Structure

Adobe Creative Suite Photoshop Product Crop Request Structure

Request to automatically crop an image to the primary product

Type: object Properties: 3 Required: 2
CreativeDesignGraphicsPhotographyVideo

ProductCropRequest is a JSON Structure definition published by Adobe Creative Suite, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

input output options

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-creative-suite/refs/heads/main/json-structure/adobe-creative-suite-photoshop-product-crop-request-structure.json",
  "name": "ProductCropRequest",
  "description": "Request to automatically crop an image to the primary product",
  "type": "object",
  "properties": {
    "input": {
      "$ref": "#/components/schemas/JobInput"
    },
    "output": {
      "$ref": "#/components/schemas/JobOutput"
    },
    "options": {
      "type": "object",
      "properties": {
        "unit": {
          "type": "string",
          "enum": [
            "pixel",
            "percent"
          ]
        },
        "padding": {
          "type": "double",
          "description": "Padding to add around the product crop"
        }
      }
    }
  },
  "required": [
    "input",
    "output"
  ]
}