Home
Apache DolphinScheduler
Apache Dolphinscheduler Task Definition Structure
Apache Dolphinscheduler Task Definition Structure
A task node in a DolphinScheduler workflow definition DAG.
Type: object
Properties: 12
Required: 2
Apache DAG Data Pipeline Open-Source Orchestration Python Scheduling Workflows
TaskDefinition is a JSON Structure definition published by Apache DolphinScheduler, describing 12 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
id
code
name
taskType
taskParams
description
flag
taskPriority
workerGroup
retryTimes
retryInterval
timeout
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/apache-dolphinscheduler/refs/heads/main/json-structure/apache-dolphinscheduler-task-definition-structure.json",
"name": "TaskDefinition",
"description": "A task node in a DolphinScheduler workflow definition DAG.",
"type": "object",
"properties": {
"id": {
"type": "int32",
"description": "Task definition ID.",
"example": 2001
},
"code": {
"type": "int32",
"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": "int32",
"description": "Number of retry attempts on failure.",
"minimum": 0,
"default": 0,
"example": 3
},
"retryInterval": {
"type": "int32",
"description": "Interval in minutes between retry attempts.",
"default": 1,
"example": 5
},
"timeout": {
"type": "int32",
"description": "Task execution timeout in minutes.",
"default": 0,
"example": 30
}
},
"required": [
"name",
"taskType"
]
}
Every JSON Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/apache-dolphinscheduler-task-definition-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.