addedInput schema / properties / properties / 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"
+ },
+ {
+ "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": "Primary noise colour",
+ "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"
+ },
+ "density": {
+ "description": "Noise density, 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "noiseSize": {
+ "description": "Noise grain size, 0–100 (Figma clamps above 100)",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "noiseType": {
+ "description": "Noise variant",
+ "enum": [
+ "MONOTONE",
+ "DUOTONE",
+ "MULTITONE"
+ ],
+ "type": "string"
+ },
+ "opacity": {
+ "description": "MULTITONE only: 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "secondaryColor": {
+ "additionalProperties": false,
+ "description": "DUOTONE only: the second colour",
+ "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"
+ },
+ "type": {
+ "const": "NOISE",
+ "type": "string"
+ },
+ "visible": {
+ "description": "default true",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type",
+ "noiseType",
+ "color",
+ "noiseSize",
+ "density"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "clipToShape": {
+ "description": "Clip the texture to the shape",
+ "type": "boolean"
+ },
+ "noiseSize": {
+ "description": "Texture grain size, 0–100 (Figma clamps above 100)",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "radius": {
+ "description": "Texture radius, 0–100 (Figma clamps above 100)",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "type": {
+ "const": "TEXTURE",
+ "type": "string"
+ },
+ "visible": {
+ "description": "default true",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type",
+ "noiseSize",
+ "radius",
+ "clipToShape"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "depth": {
+ "description": "Glass depth; must be ≥ 1",
+ "minimum": 1,
+ "type": "number"
+ },
+ "dispersion": {
+ "description": "Chromatic dispersion, 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "lightAngle": {
+ "description": "Light angle, degrees",
+ "type": "number"
+ },
+ "lightIntensity": {
+ "description": "Light intensity, 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "radius": {
+ "description": "Corner/blur radius; must be ≥ 0",
+ "minimum": 0,
+ "type": "number"
+ },
+ "refraction": {
+ "description": "Refraction amount, 0–1",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "type": {
+ "const": "GLASS",
+ "type": "string"
+ },
+ "visible": {
+ "description": "default true",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type",
+ "lightIntensity",
+ "lightAngle",
+ "refraction",
+ "depth",
+ "dispersion",
+ "radius"
+ ],
+ "type": "object"
+ }
+]