{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/everysk/json-schema/everysk-post-workflows-request-schema.json",
  "title": "PostWorkflowsRequest",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/everysk-openapi-generated.yml#/components/schemas/PostWorkflowsRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The workflow's name. 1 to 200 characters."
    },
    "workers": {
      "type": "array",
      "description": "The workers of the workflow. Must contain one STARTER and one ENDER."
    },
    "description": {
      "type": "string",
      "description": "An arbitrary string attached to the workflow. Up to 2000 characters."
    },
    "tags": {
      "type": "array",
      "description": "A list of strings. Up to 32 tags."
    },
    "trigger_type": {
      "type": "string",
      "description": "The type of the workflow's trigger: MANUAL, API, SCHEDULER_EVENT or INTEGRATION_EVENT."
    },
    "trigger_config": {
      "type": "object",
      "description": "The trigger parameters."
    },
    "trigger_enabled": {
      "type": "boolean",
      "description": "Whether the trigger can start the workflow."
    },
    "gui": {
      "type": "object",
      "description": "The position and zoom of the workflow canvas in the editor."
    },
    "link_uid": {
      "type": "string",
      "description": "An identifier you set to link the workflow to an external system."
    },
    "with_workers": {
      "type": "boolean",
      "description": "When True, the response includes the workers of the workflow."
    },
    "workspace": {
      "type": "string",
      "description": "The workspace where the API creates the workflow."
    }
  },
  "required": [
    "name",
    "workers"
  ]
}