Files
xingrin/worker/internal/activity/templates.schema.json

24 lines
608 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Command template schema for workflow tools",
"type": "object",
"additionalProperties": {
"type": "object",
"description": "Tool template",
"required": ["base"],
"properties": {
"base": {
"type": "string",
"description": "Base command with placeholders like {domain}, {output-file}"
},
"optional": {
"type": "object",
"description": "Optional parameters and their flags",
"additionalProperties": {
"type": "string"
}
}
}
}
}