-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-schema.json
More file actions
45 lines (45 loc) · 1.38 KB
/
index-schema.json
File metadata and controls
45 lines (45 loc) · 1.38 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
45
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "SpecOps Spec Index",
"description": "Auto-generated global index of all specs. Rebuilt from per-spec spec.json files after every mutation.",
"type": "array",
"maxItems": 200,
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 100,
"description": "Spec identifier matching the directory name"
},
"type": {
"type": "string",
"enum": ["feature", "bugfix", "refactor"],
"description": "Type of specification"
},
"status": {
"type": "string",
"enum": ["draft", "in-review", "approved", "self-approved", "implementing", "completed"],
"description": "Current lifecycle status"
},
"version": {
"type": "integer",
"minimum": 1,
"description": "Spec version"
},
"author": {
"type": "string",
"maxLength": 100,
"description": "Author name (from spec.json author.name)"
},
"updated": {
"type": "string",
"maxLength": 30,
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(Z|[+-]\\d{2}:\\d{2})$",
"description": "ISO 8601 timestamp of last spec.json update"
}
},
"required": ["id", "type", "status", "version", "author", "updated"],
"additionalProperties": false
}
}