Adobe Photoshop · JSON Structure

Adobe Photoshop Api Product Crop Request Structure

ProductCropRequest from Adobe Photoshop API

Type: object Properties: 3 Required: 2
AI/MLCreative CloudImage EditingPhotoshopPluginsREST APIScripting

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

Properties

inputs options outputs

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-photoshop/refs/heads/main/json-structure/adobe-photoshop-api-product-crop-request-structure.json",
  "name": "ProductCropRequest",
  "description": "ProductCropRequest from Adobe Photoshop API",
  "type": "object",
  "properties": {
    "inputs": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/StorageInput"
      }
    },
    "options": {
      "type": "object",
      "properties": {
        "padding": {
          "type": "double",
          "description": "Padding around the product subject."
        },
        "unit": {
          "type": "string",
          "enum": [
            "pixel",
            "percent"
          ],
          "description": "Unit for padding value."
        }
      }
    },
    "outputs": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/StorageOutput"
      }
    }
  },
  "required": [
    "inputs",
    "outputs"
  ]
}