Figma · Schema

VariableModeChange

CollaborationDesignGraphicsInterfacesPrototypesPrototypingUI/UXFigma
View JSON Schema on GitHub

JSON Schema

figma-variable-mode-change-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/figma/json-schema/figma-variable-mode-change-schema.json",
  "title": "VariableModeChange",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/figma-variables-api-openapi.yml#/components/schemas/VariableModeChange",
  "oneOf": [
    {
      "$ref": "#/$defs/VariableModeCreate"
    },
    {
      "$ref": "#/$defs/VariableModeUpdate"
    },
    {
      "$ref": "#/$defs/VariableModeDelete"
    }
  ],
  "$defs": {
    "VariableModeCreate": {
      "type": "object",
      "description": "An object that contains details about creating a `VariableMode`.",
      "properties": {
        "action": {
          "type": "string",
          "description": "The action to perform for the variable mode.",
          "enum": [
            "CREATE"
          ]
        },
        "id": {
          "type": "string",
          "description": "A temporary id for this variable mode."
        },
        "name": {
          "type": "string",
          "description": "The name of this variable mode."
        },
        "variableCollectionId": {
          "type": "string",
          "description": "The variable collection that will contain the mode. You can use the temporary id of a variable collection. New modes cannot be created on extended collections."
        }
      },
      "required": [
        "action",
        "name",
        "variableCollectionId"
      ]
    },
    "VariableModeDelete": {
      "type": "object",
      "description": "An object that contains details about deleting a `VariableMode`.",
      "properties": {
        "action": {
          "type": "string",
          "description": "The action to perform for the variable mode.",
          "enum": [
            "DELETE"
          ]
        },
        "id": {
          "type": "string",
          "description": "The id of the variable mode to delete. Modes cannot be deleted on extended collections unless its parent mode has been deleted."
        }
      },
      "required": [
        "action",
        "id"
      ]
    },
    "VariableModeUpdate": {
      "type": "object",
      "description": "An object that contains details about updating a `VariableMode`.",
      "properties": {
        "action": {
          "type": "string",
          "description": "The action to perform for the variable mode.",
          "enum": [
            "UPDATE"
          ]
        },
        "id": {
          "type": "string",
          "description": "The id of the variable mode to update."
        },
        "name": {
          "type": "string",
          "description": "The name of this variable mode."
        },
        "variableCollectionId": {
          "type": "string",
          "description": "The variable collection that contains the mode. Modes cannot be updated on extended collections."
        }
      },
      "required": [
        "action",
        "id",
        "variableCollectionId"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/figma-variable-mode-change"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.