Skip to content

AssetDevelopCrop

Endpoints · All schemas

FieldRequiredDescription
hYesCrop height as a fraction of the frame
wYesCrop width as a fraction of the frame
xYesLeft edge of the crop as a fraction of the oriented frame width
yYesTop edge of the crop as a fraction of the oriented frame height

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "additionalProperties": {},
  "properties": {
    "h": {
      "description": "Crop height as a fraction of the frame",
      "format": "double",
      "maximum": 1,
      "minimum": 0.05,
      "type": "number"
    },
    "w": {
      "description": "Crop width as a fraction of the frame",
      "format": "double",
      "maximum": 1,
      "minimum": 0.05,
      "type": "number"
    },
    "x": {
      "description": "Left edge of the crop as a fraction of the oriented frame width",
      "format": "double",
      "maximum": 1,
      "minimum": 0,
      "type": "number"
    },
    "y": {
      "description": "Top edge of the crop as a fraction of the oriented frame height",
      "format": "double",
      "maximum": 1,
      "minimum": 0,
      "type": "number"
    }
  },
  "required": [
    "h",
    "w",
    "x",
    "y"
  ],
  "type": "object"
}