-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror-book.schema.json
More file actions
53 lines (52 loc) · 1.08 KB
/
Copy patherror-book.schema.json
File metadata and controls
53 lines (52 loc) · 1.08 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
46
47
48
49
50
51
52
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agent-pitbook.example/schema/error-book.schema.json",
"title": "Agent Pitbook Error Book Entry",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"title",
"category",
"status",
"observed_at",
"root_cause",
"correction"
],
"properties": {
"id": {
"type": "string",
"pattern": "^error-[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"title": {
"type": "string"
},
"category": {
"type": "string",
"enum": ["ingest", "retrieval", "verification", "schema", "adapter", "safety", "other"]
},
"status": {
"type": "string",
"enum": ["open", "mitigated", "resolved"]
},
"observed_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"root_cause": {
"type": "string"
},
"correction": {
"type": "string"
},
"related_pits": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "string"
}
}
}