Adobe Photoshop · Schema

ProductCropRequest

ProductCropRequest from Adobe Photoshop API

AI/MLCreative CloudImage EditingPhotoshopPluginsREST APIScripting

Properties

Name Type Description
inputs array
options object
outputs array
View JSON Schema on GitHub

JSON Schema

adobe-photoshop-api-product-crop-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-photoshop/refs/heads/main/json-schema/adobe-photoshop-api-product-crop-request-schema.json",
  "title": "ProductCropRequest",
  "description": "ProductCropRequest from Adobe Photoshop API",
  "type": "object",
  "properties": {
    "inputs": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/StorageInput"
      }
    },
    "options": {
      "type": "object",
      "properties": {
        "padding": {
          "type": "number",
          "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"
  ]
}