Skip to content

Commit c930dd6

Browse files
jason810496claude
andcommitted
Sync the Go SDK copy of the Dag schema
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4f3cecb commit c930dd6

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

‎go-sdk/schema/dag-schema.json‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,18 @@
257257
},
258258
"tasks": {
259259
"type": "array",
260-
"additionalProperties": { "$ref": "#/definitions/operator" }
260+
"items": {
261+
"type": "object",
262+
"required": [ "__type", "__var" ],
263+
"properties": {
264+
"__type": { "const": "operator" },
265+
"__var": {
266+
"type": "object",
267+
"required": [ "task_id" ],
268+
"properties": { "task_id": { "type": "string" } }
269+
}
270+
}
271+
}
261272
},
262273
"params": {
263274
"type": "array",

0 commit comments

Comments
 (0)