Public source validation / validate (push) Failing after 3m8s
96 lines
2.0 KiB
JSON
96 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://itworx.local/pulse/specs/task-ledger.schema.json",
|
|
"type": "object",
|
|
"required": [
|
|
"schemaVersion",
|
|
"project",
|
|
"tasks"
|
|
],
|
|
"properties": {
|
|
"schemaVersion": {
|
|
"type": "integer",
|
|
"const": 1
|
|
},
|
|
"project": {
|
|
"type": "string"
|
|
},
|
|
"tasks": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"milestone",
|
|
"title",
|
|
"objective",
|
|
"dependsOn",
|
|
"deliverables",
|
|
"acceptanceChecks",
|
|
"evidenceRequired",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"pattern": "^M[0-9]+-[0-9]{2}$"
|
|
},
|
|
"milestone": {
|
|
"type": "string",
|
|
"pattern": "^M[0-9]+$"
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"objective": {
|
|
"type": "string"
|
|
},
|
|
"dependsOn": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"deliverables": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"acceptanceChecks": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"evidenceRequired": {
|
|
"type": "boolean"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"not_started",
|
|
"in_progress",
|
|
"done",
|
|
"blocked",
|
|
"deferred"
|
|
]
|
|
},
|
|
"evidence": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"blocker": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|