looot · Schema

ReviseWorkflow

MarketplaceArtificial IntelligenceDataIntegration

Properties

Name Type Description
steps array
View JSON Schema on GitHub

JSON Schema

looot-revise-workflow-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/looot/json-schema/looot-revise-workflow-schema.json",
  "title": "ReviseWorkflow",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/looot-workflows-api-openapi.yml#/components/schemas/ReviseWorkflow",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "steps"
  ],
  "properties": {
    "steps": {
      "type": "array",
      "minItems": 1,
      "maxItems": 100,
      "items": {
        "$ref": "#/$defs/WorkflowStep"
      }
    }
  },
  "$defs": {
    "WorkflowComparison": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "left",
        "operator"
      ],
      "properties": {
        "left": {
          "$ref": "#/$defs/WorkflowValue"
        },
        "operator": {
          "enum": [
            "eq",
            "neq",
            "exists",
            "gt",
            "gte",
            "lt",
            "lte"
          ]
        },
        "right": {
          "$ref": "#/$defs/WorkflowValue"
        }
      }
    },
    "WorkflowMapping": {
      "type": "object",
      "maxProperties": 64,
      "additionalProperties": {
        "$ref": "#/$defs/WorkflowValue"
      }
    },
    "WorkflowRunIf": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "stepId",
        "equals"
      ],
      "properties": {
        "stepId": {
          "type": "string"
        },
        "equals": {
          "type": "boolean"
        }
      }
    },
    "WorkflowStep": {
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "kind",
            "stepId",
            "endpointId",
            "input",
            "dependsOn",
            "failurePolicy",
            "maxChargeUsd"
          ],
          "properties": {
            "kind": {
              "const": "operation"
            },
            "stepId": {
              "type": "string"
            },
            "endpointId": {
              "type": "string"
            },
            "input": {
              "type": "object"
            },
            "inputBindings": {
              "$ref": "#/$defs/WorkflowMapping"
            },
            "dependsOn": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "failurePolicy": {
              "enum": [
                "stop",
                "continue"
              ]
            },
            "runIf": {
              "$ref": "#/$defs/WorkflowRunIf"
            },
            "maxChargeUsd": {
              "type": "number",
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "kind",
            "stepId",
            "delaySeconds",
            "dependsOn",
            "failurePolicy"
          ],
          "properties": {
            "kind": {
              "const": "delay"
            },
            "stepId": {
              "type": "string"
            },
            "delaySeconds": {
              "type": "integer",
              "minimum": 1,
              "maximum": 604800
            },
            "dependsOn": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "failurePolicy": {
              "enum": [
                "stop",
                "continue"
              ]
            },
            "runIf": {
              "$ref": "#/$defs/WorkflowRunIf"
            }
          }
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "kind",
            "stepId",
            "prompt",
            "expiresInSeconds",
            "dependsOn",
            "failurePolicy"
          ],
          "properties": {
            "kind": {
              "const": "approval"
            },
            "stepId": {
              "type": "string"
            },
            "prompt": {
              "type": "string"
            },
            "expiresInSeconds": {
              "type": "integer",
              "minimum": 60
            },
            "dependsOn": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "failurePolicy": {
              "enum": [
                "stop",
                "continue"
              ]
            },
            "runIf": {
              "$ref": "#/$defs/WorkflowRunIf"
            }
          }
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "kind",
            "stepId",
            "label",
            "expiresInSeconds",
            "dependsOn",
            "failurePolicy"
          ],
          "properties": {
            "kind": {
              "const": "callback"
            },
            "stepId": {
              "type": "string"
            },
            "label": {
              "type": "string"
            },
            "expiresInSeconds": {
              "type": "integer",
              "minimum": 60
            },
            "dependsOn": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "failurePolicy": {
              "enum": [
                "stop",
                "continue"
              ]
            },
            "runIf": {
              "$ref": "#/$defs/WorkflowRunIf"
            }
          }
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "kind",
            "stepId",
            "mappings",
            "dependsOn",
            "failurePolicy"
          ],
          "properties": {
            "kind": {
              "const": "transform"
            },
            "stepId": {
              "type": "string"
            },
            "mappings": {
              "$ref": "#/$defs/WorkflowMapping"
            },
            "dependsOn": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "failurePolicy": {
              "enum": [
                "stop",
                "continue"
              ]
            },
            "runIf": {
              "$ref": "#/$defs/WorkflowRunIf"
            }
          }
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "kind",
            "stepId",
            "condition",
            "dependsOn",
            "failurePolicy"
          ],
          "properties": {
            "kind": {
              "const": "branch"
            },
            "stepId": {
              "type": "string"
            },
            "condition": {
              "$ref": "#/$defs/WorkflowComparison"
            },
            "dependsOn": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "failurePolicy": {
              "enum": [
                "stop",
                "continue"
              ]
            },
            "runIf": {
              "$ref": "#/$defs/WorkflowRunIf"
            }
          }
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "kind",
            "stepId",
            "workflowId",
            "workflowVersion",
            "maxChargeUsd",
            "dependsOn",
            "failurePolicy"
          ],
          "properties": {
            "kind": {
              "const": "subworkflow"
            },
            "stepId": {
              "type": "string"
            },
            "workflowId": {
              "type": "string"
            },
            "workflowVersion": {
              "type": "integer",
              "minimum": 1
            },
            "maxChargeUsd": {
              "type": "number",
              "minimum": 0
            },
            "dependsOn": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "failurePolicy": {
              "enum": [
                "stop",
                "continue"
              ]
            },
            "runIf": {
              "$ref": "#/$defs/WorkflowRunIf"
            }
          }
        }
      ]
    },
    "WorkflowValue": {
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "source",
            "value"
          ],
          "properties": {
            "source": {
              "const": "literal"
            },
            "value": {}
          }
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "source",
            "stepId",
            "path"
          ],
          "properties": {
            "source": {
              "const": "step"
            },
            "stepId": {
              "type": "string"
            },
            "path": {
              "type": "array",
              "maxItems": 16,
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              }
            }
          }
        }
      ]
    }
  }
}

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/looot-revise-workflow"
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.