Zindex · Schema

Operation

A DSP operation. An edit's operations apply in order, each to the document the ones before it left, and the edit applies whole or not at all. The element an operation changes must exist when it runs; what it only names (an edge's ends, children, a style, a constraint's elements) may be created by a later operation, except the element after or before names and the frame a node's or a new frame's frame field names, which must exist when the operation runs. In a sequence diagram, after or before (an element ID) on createNode, createEdge, updateNode or updateEdge puts a participant, message or note right after or before that element in its order, or moves it there; that element must exist when the operation runs. Operation types: createNode (add node; frame, a frame's ID, appends it to that frame's children; emphasis true marks it as part of the path a reader should follow), updateNode (modify node properties; frame, a frame's ID and never null, moves it into that frame and out of every other frame and group; emphasis true marks it and null or false removes the mark, but a node at the end of an emphasized edge stays marked by that edge), deleteElement (remove an element, its edges, and the constraints and spanning frames left without it), createEdge (add edge; step and stepText draw a numbered badge and its line in the step list; emphasis true marks it and the node at each end as the path a reader should follow), updateEdge (modify edge; null removes step or stepText, and step null removes both; emphasis true marks it; null or false removes the mark from it and from each end node that isn't emphasized itself or by another edge), groupElements (create group), ungroupElements (dissolve group), createFrame (add frame/pool/lane; frame, a frame's ID, appends it to that frame's children, so a lane goes after the pool's lanes and an Availability Zone after the VPC's, and takes the children the new frame lists out of that frame's children, so a nested sequence fragment can be deleted and created again in one edit; spans instead of children makes a spanning frame, drawn round what it names), updateFrame (change a frame's title, style, icon, containerType or laneDirection, or a spanning frame's spans; null removes the style, icon, containerType or laneDirection; its members, position and size stay, except that a longer title that widens a Google Cloud group moves what lies past the growth), createText (add a text element: a caption, legend or title), createImage (add an image element showing an asset updateScene added), moveElement (move by a delta; a frame or group carries its members; refused for edges, relative layouts and a sequence diagram's nodes and frames), resizeElement (change size; a placed node made bigger pushes the nodes in its way), setStyle (update visual style), setText (change label/text), addConstraint (add layout constraint - supports order type with source/target/relation for hard spatial ordering), removeConstraint (delete constraint), autoLayout (place nodes again and keep the new positions: every node, or only the node IDs in `elements`; without `elements` every frame but a pool, lane or fragment drops its own layout and is laid out with its members, except in org charts and networks, and the members of a frame that keeps its layout keep their positions; nodes otherwise keep their positions after the first save), updateScene (modify scene-level metadata - title, brief, lang, palette, styles, assets, layoutStrategy, diagramFamily, canvas, and extensions, which sets only autonumber, showLifelineFeet, autoGroup and layoutHints, null removing one; a new or removed layoutStrategy, diagramFamily or layoutHints places every node again, as autoLayout without elements does), restoreRevision (make the next revision equal to an earlier one, by `revision` or by `asOf` date; history is never rewritten; must be the only operation in its edit).

Artificial IntelligenceDiagrammingImmutablePlatformStorage

Properties

Name Type Description
op string Operation type
id string Target element ID (for most operations)
View JSON Schema on GitHub

JSON Schema

zindex-ai-operation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zindex-ai/json-schema/zindex-ai-operation-schema.json",
  "title": "Operation",
  "description": "A DSP operation. An edit's operations apply in order, each to the document the ones before it left, and the edit applies whole or not at all. The element an operation changes must exist when it runs; what it only names (an edge's ends, children, a style, a constraint's elements) may be created by a later operation, except the element after or before names and the frame a node's or a new frame's frame field names, which must exist when the operation runs. In a sequence diagram, after or before (an element ID) on createNode, createEdge, updateNode or updateEdge puts a participant, message or note right after or before that element in its order, or moves it there; that element must exist when the operation runs. Operation types: createNode (add node; frame, a frame's ID, appends it to that frame's children; emphasis true marks it as part of the path a reader should follow), updateNode (modify node properties; frame, a frame's ID and never null, moves it into that frame and out of every other frame and group; emphasis true marks it and null or false removes the mark, but a node at the end of an emphasized edge stays marked by that edge), deleteElement (remove an element, its edges, and the constraints and spanning frames left without it), createEdge (add edge; step and stepText draw a numbered badge and its line in the step list; emphasis true marks it and the node at each end as the path a reader should follow), updateEdge (modify edge; null removes step or stepText, and step null removes both; emphasis true marks it; null or false removes the mark from it and from each end node that isn't emphasized itself or by another edge), groupElements (create group), ungroupElements (dissolve group), createFrame (add frame/pool/lane; frame, a frame's ID, appends it to that frame's children, so a lane goes after the pool's lanes and an Availability Zone after the VPC's, and takes the children the new frame lists out of that frame's children, so a nested sequence fragment can be deleted and created again in one edit; spans instead of children makes a spanning frame, drawn round what it names), updateFrame (change a frame's title, style, icon, containerType or laneDirection, or a spanning frame's spans; null removes the style, icon, containerType or laneDirection; its members, position and size stay, except that a longer title that widens a Google Cloud group moves what lies past the growth), createText (add a text element: a caption, legend or title), createImage (add an image element showing an asset updateScene added), moveElement (move by a delta; a frame or group carries its members; refused for edges, relative layouts and a sequence diagram's nodes and frames), resizeElement (change size; a placed node made bigger pushes the nodes in its way), setStyle (update visual style), setText (change label/text), addConstraint (add layout constraint - supports order type with source/target/relation for hard spatial ordering), removeConstraint (delete constraint), autoLayout (place nodes again and keep the new positions: every node, or only the node IDs in `elements`; without `elements` every frame but a pool, lane or fragment drops its own layout and is laid out with its members, except in org charts and networks, and the members of a frame that keeps its layout keep their positions; nodes otherwise keep their positions after the first save), updateScene (modify scene-level metadata - title, brief, lang, palette, styles, assets, layoutStrategy, diagramFamily, canvas, and extensions, which sets only autonumber, showLifelineFeet, autoGroup and layoutHints, null removing one; a new or removed layoutStrategy, diagramFamily or layoutHints places every node again, as autoLayout without elements does), restoreRevision (make the next revision equal to an earlier one, by `revision` or by `asOf` date; history is never rewritten; must be the only operation in its edit).",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zindex-ai-openapi.json#/components/schemas/Operation",
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "createNode",
        "updateNode",
        "deleteElement",
        "createEdge",
        "updateEdge",
        "groupElements",
        "ungroupElements",
        "createFrame",
        "updateFrame",
        "createText",
        "createImage",
        "moveElement",
        "resizeElement",
        "setStyle",
        "setText",
        "addConstraint",
        "removeConstraint",
        "autoLayout",
        "updateScene",
        "restoreRevision"
      ],
      "description": "Operation type"
    },
    "id": {
      "type": "string",
      "description": "Target element ID (for most operations)"
    }
  },
  "required": [
    "op"
  ],
  "additionalProperties": true
}

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/zindex-ai-operation"
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.