-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathto-do.schema.json
More file actions
44 lines (44 loc) · 1.55 KB
/
to-do.schema.json
File metadata and controls
44 lines (44 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Codex RALF Todo",
"type": "object",
"additionalProperties": false,
"required": ["schema_version", "source_files", "tasks"],
"properties": {
"schema_version": { "type": "integer", "const": 1 },
"project": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": { "type": "string" },
"root": { "type": "string" }
}
},
"source_files": {
"type": "array",
"items": { "type": "string" }
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["id", "title", "priority", "status"],
"properties": {
"id": { "type": "string" },
"title": { "type": "string", "minLength": 1 },
"priority": { "type": "integer", "minimum": 1, "maximum": 5 },
"status": { "type": "string", "enum": ["todo", "doing", "blocked", "done"] },
"details": { "type": "string" },
"steps": { "type": "array", "items": { "type": "string" } },
"blockers": { "type": "array", "items": { "type": "string" } },
"tags": { "type": "array", "items": { "type": "string" } },
"files": { "type": "array", "items": { "type": "string" } },
"depends_on": { "type": "array", "items": { "type": "string" } },
"created_at": { "type": "string", "format": "date-time" },
"updated_at": { "type": "string", "format": "date-time" }
}
}
}
}
}