MultiHarnessStudio / schemas /task_request.schema.json
smlflg's picture
Initial public upload from Projekte/MultiHarnessStudio
f2cf4fa verified
Raw History Blame Contribute Delete
1.29 kB
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "spine:task_request",
"title": "TaskRequest",
"type": "object",
"required": [
"schema_name",
"schema_version",
"task_id",
"title",
"description",
"requested_by",
"created_at",
"origin_system",
"operator_context",
"constraints",
"desired_outcomes"
],
"properties": {
"schema_name": { "const": "TaskRequest" },
"schema_version": { "type": "string", "const": "1.0.0" },
"task_id": { "type": "string", "pattern": "^task_[a-z0-9_\\-]+$" },
"title": { "type": "string", "minLength": 1 },
"description": { "type": "string", "minLength": 1 },
"requested_by": { "type": "string", "minLength": 1 },
"created_at": { "type": "string", "format": "date-time" },
"origin_system": { "type": "string", "minLength": 1 },
"operator_context": { "$ref": "./operator_context.schema.json" },
"constraints": {
"type": "array",
"items": { "type": "string" }
},
"desired_outcomes": {
"type": "array",
"minItems": 1,
"items": { "type": "string" }
},
"workspace_ref": { "type": "string" },
"tags": {
"type": "array",
"items": { "type": "string" }
}
},
"additionalProperties": false
}