{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yunqi/json-schema/yunqi-realtime-task-start-request-schema.json",
  "title": "RealtimeTaskStartRequest",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yunqi-realtimetask-api-openapi.yml#/components/schemas/RealtimeTaskStartRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "startupMode": {
      "type": "string",
      "enum": [
        "INITIAL",
        "SAVEPOINT",
        "TIMESTAMP",
        "OFFSET"
      ]
    },
    "taskType": {
      "type": "string",
      "title": "流批实时任务类型",
      "enum": [
        "CDC",
        "CDC_REALTIME",
        "STREAMING_INTEGRATION",
        "SNAPSHOT_SYNCHRONIZATION",
        "INCREMENTAL_SYNCHRONIZATION",
        "DYNAMIC_TABLE",
        "CONTINUOUS_JOB"
      ]
    },
    "startupParams": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
        "type": "string"
      }
    },
    "workspace": {
      "type": "string"
    },
    "instance": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "taskType",
    "workspace",
    "instance"
  ]
}