Apache DolphinScheduler · Schema
TaskDefinition
A task node in a DolphinScheduler workflow definition DAG.
ApacheDAGData PipelineOpen-SourceOrchestrationPythonSchedulingWorkflows
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Task definition ID. |
| code | integer | Globally unique task code. |
| name | string | Task name within the workflow. |
| taskType | string | Task execution type. |
| taskParams | object | Task-specific parameters (structure varies by taskType). |
| description | string | Task description. |
| flag | string | Whether this task is enabled. |
| taskPriority | string | Task priority for scheduling. |
| workerGroup | string | Worker group this task should run on. |
| retryTimes | integer | Number of retry attempts on failure. |
| retryInterval | integer | Interval in minutes between retry attempts. |
| timeout | integer | Task execution timeout in minutes. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/apache-dolphinscheduler/refs/heads/main/json-schema/apache-dolphinscheduler-task-definition-schema.json",
"title": "TaskDefinition",
"description": "A task node in a DolphinScheduler workflow definition DAG.",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Task definition ID.",
"example": 2001
},
"code": {
"type": "integer",
"description": "Globally unique task code.",
"example": 9999999999999
},
"name": {
"type": "string",
"description": "Task name within the workflow.",
"example": "extract-sales-data"
},
"taskType": {
"type": "string",
"description": "Task execution type.",
"enum": [
"SHELL",
"SQL",
"SPARK",
"FLINK",
"PYTHON",
"HTTP",
"DATAX",
"SEATUNNEL",
"JUPYTER",
"PYTORCH",
"CONDITIONS",
"SWITCH",
"SUB_PROCESS",
"DEPENDENT"
],
"example": "SPARK"
},
"taskParams": {
"type": "object",
"description": "Task-specific parameters (structure varies by taskType)."
},
"description": {
"type": "string",
"description": "Task description.",
"example": "Extract daily sales data from source database"
},
"flag": {
"type": "string",
"description": "Whether this task is enabled.",
"enum": [
"YES",
"NO"
],
"default": "YES",
"example": "YES"
},
"taskPriority": {
"type": "string",
"description": "Task priority for scheduling.",
"enum": [
"HIGHEST",
"HIGH",
"MEDIUM",
"LOW",
"LOWEST"
],
"example": "MEDIUM"
},
"workerGroup": {
"type": "string",
"description": "Worker group this task should run on.",
"default": "default",
"example": "default"
},
"retryTimes": {
"type": "integer",
"description": "Number of retry attempts on failure.",
"minimum": 0,
"default": 0,
"example": 3
},
"retryInterval": {
"type": "integer",
"description": "Interval in minutes between retry attempts.",
"default": 1,
"example": 5
},
"timeout": {
"type": "integer",
"description": "Task execution timeout in minutes.",
"default": 0,
"example": 30
}
},
"required": [
"name",
"taskType"
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/apache-dolphinscheduler-task-definition"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.