addedInput schema / properties / effects / items / oneOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "blendMode": {
+ "description": "Figma BlendMode (default 'NORMAL')",
+ "enum": [
+ "PASS_THROUGH",
+ "NORMAL",
+ "DARKEN",
+ "MULTIPLY",
+ "LINEAR_BURN",
+ "COLOR_BURN",
+ "LIGHTEN",
+ "SCREEN",
+ "LINEAR_DODGE",
+ "COLOR_DODGE",
+ "OVERLAY",
+ "SOFT_LIGHT",
+ "HARD_LIGHT",
+ "DIFFERENCE",
+ "EXCLUSION",
+ "HUE",
+ "SATURATION",
+ "COLOR",
+ "LUMINOSITY"
+ ],
+ "type": "string"
+ },
+ "color": {
+ "additionalProperties": false,
+ "description": "Shadow colour (default {r:0,g:0,b:0,a:0.25})",
+ "properties": {
+ "a": {
+ "description": "Alpha, 0–1 — required: Figma rejects an effect colour without it",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "b": {
+ "description": "Blue, 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "g": {
+ "description": "Green, 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "r": {
+ "description": "Red, 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "r",
+ "g",
+ "b",
+ "a"
+ ],
+ "type": "object"
+ },
+ "offset": {
+ "additionalProperties": false,
+ "description": "Shadow offset (default {x:0,y:4})",
+ "properties": {
+ "x": {
+ "description": "X offset, px",
+ "type": "number"
+ },
+ "y": {
+ "description": "Y offset, px",
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "radius": {
+ "description": "Blur radius, px; must be ≥ 0 (default 4)",
+ "minimum": 0,
+ "type": "number"
+ },
+ "showShadowBehindNode": {
+ "description": "DROP_SHADOW only (default false)",
+ "type": "boolean"
+ },
+ "spread": {
+ "description": "Shadow spread, px (default 0)",
+ "type": "number"
+ },
+ "type": {
+ "const": "DROP_SHADOW",
+ "type": "string"
+ },
+ "visible": {
+ "description": "default true",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "blendMode": {
+ "description": "Figma BlendMode (default 'NORMAL')",
+ "enum": [
+ "PASS_THROUGH",
+ "NORMAL",
+ "DARKEN",
+ "MULTIPLY",
+ "LINEAR_BURN",
+ "COLOR_BURN",
+ "LIGHTEN",
+ "SCREEN",
+ "LINEAR_DODGE",
+ "COLOR_DODGE",
+ "OVERLAY",
+ "SOFT_LIGHT",
+ "HARD_LIGHT",
+ "DIFFERENCE",
+ "EXCLUSION",
+ "HUE",
+ "SATURATION",
+ "COLOR",
+ "LUMINOSITY"
+ ],
+ "type": "string"
+ },
+ "color": {
+ "additionalProperties": false,
+ "description": "Shadow colour (default {r:0,g:0,b:0,a:0.25})",
+ "properties": {
+ "a": {
+ "description": "Alpha, 0–1 — required: Figma rejects an effect colour without it",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "b": {
+ "description": "Blue, 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "g": {
+ "description": "Green, 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "r": {
+ "description": "Red, 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "r",
+ "g",
+ "b",
+ "a"
+ ],
+ "type": "object"
+ },
+ "offset": {
+ "additionalProperties": false,
+ "description": "Shadow offset (default {x:0,y:4})",
+ "properties": {
+ "x": {
+ "description": "X offset, px",
+ "type": "number"
+ },
+ "y": {
+ "description": "Y offset, px",
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "radius": {
+ "description": "Blur radius, px; must be ≥ 0 (default 4)",
+ "minimum": 0,
+ "type": "number"
+ },
+ "spread": {
+ "description": "Shadow spread, px (default 0)",
+ "type": "number"
+ },
+ "type": {
+ "const": "INNER_SHADOW",
+ "type": "string"
+ },
+ "visible": {
+ "description": "default true",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "blurType": {
+ "description": "default 'NORMAL'",
+ "enum": [
+ "NORMAL",
+ "PROGRESSIVE"
+ ],
+ "type": "string"
+ },
+ "endOffset": {
+ "additionalProperties": false,
+ "description": "PROGRESSIVE only: where the ramp ends",
+ "properties": {
+ "x": {
+ "description": "X offset, px",
+ "type": "number"
+ },
+ "y": {
+ "description": "Y offset, px",
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "radius": {
+ "description": "Blur radius, px; must be ≥ 0 (default 4)",
+ "minimum": 0,
+ "type": "number"
+ },
+ "startOffset": {
+ "additionalProperties": false,
+ "description": "PROGRESSIVE only: where the ramp starts",
+ "properties": {
+ "x": {
+ "description": "X offset, px",
+ "type": "number"
+ },
+ "y": {
+ "description": "Y offset, px",
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "startRadius": {
+ "description": "PROGRESSIVE only: radius at the start of the ramp",
+ "type": "number"
+ },
+ "type": {
+ "const": "LAYER_BLUR",
+ "type": "string"
+ },
+ "visible": {
+ "description": "default true",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "blurType": {
+ "description": "default 'NORMAL'",
+ "enum": [
+ "NORMAL",
+ "PROGRESSIVE"
+ ],
+ "type": "string"
+ },
+ "endOffset": {
+ "additionalProperties": false,
+ "description": "PROGRESSIVE only: where the ramp ends",
+ "properties": {
+ "x": {
+ "description": "X offset, px",
+ "type": "number"
+ },
+ "y": {
+ "description": "Y offset, px",
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "radius": {
+ "description": "Blur radius, px; must be ≥ 0 (default 4)",
+ "minimum": 0,
+ "type": "number"
+ },
+ "startOffset": {
+ "additionalProperties": false,
+ "description": "PROGRESSIVE only: where the ramp starts",
+ "properties": {
+ "x": {
+ "description": "X offset, px",
+ "type": "number"
+ },
+ "y": {
+ "description": "Y offset, px",
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "startRadius": {
+ "description": "PROGRESSIVE only: radius at the start of the ramp",
+ "type": "number"
+ },
+ "type": {
+ "const": "BACKGROUND_BLUR",
+ "type": "string"
+ },
+ "visible": {
+ "description": "default true",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+]