-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprediction_schema.json
More file actions
44 lines (44 loc) · 1.06 KB
/
Copy pathprediction_schema.json
File metadata and controls
44 lines (44 loc) · 1.06 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",
"$id": "https://example.com/undoable/prediction_schema.json",
"title": "Undoable Benchmark Prediction File",
"description": "A prediction file keyed by Undoable benchmark fixture ID.",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"$ref": "#/$defs/prediction"
},
"$defs": {
"prediction": {
"type": "object",
"additionalProperties": false,
"required": ["risks", "split", "rollback"],
"properties": {
"risks": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"uniqueItems": true
},
"split": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"uniqueItems": true
},
"rollback": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"uniqueItems": true
}
}
}
}
}