blob: 2229548ec602b3fb441167f2ac70c877bfd03488 [file] [log] [blame]
Ray Milkey957bb372018-04-03 15:39:46 -07001{
2 "type": "object",
3 "title": "buckets",
4 "required": [
5 "buckets"
6 ],
7 "properties": {
8 "buckets": {
9 "type": "array",
10 "xml": {
11 "name": "buckets",
12 "wrapped": true
13 },
14 "items": {
15 "type": "object",
16 "title": "buckets",
17 "required": [
18 "treatment",
19 "weight",
20 "watchPort",
21 "watchGroup"
22 ],
23 "properties": {
24 "treatment": {
25 "type": "object",
26 "title": "treatment",
27 "required": [
28 "instructions",
29 "deferred"
30 ],
31 "properties": {
32 "instructions": {
33 "type": "array",
34 "title": "treatment",
35 "required": [
36 "properties",
37 "port"
38 ],
39 "items": {
40 "type": "object",
41 "title": "instructions",
42 "required": [
43 "type",
44 "port"
45 ],
46 "properties": {
47 "type": {
48 "type": "string",
49 "example": "OUTPUT"
50 },
51 "port": {
52 "type": "string",
53 "example": "2"
54 }
55 }
56 }
57 }
58 }
59 }
60 }
61 }
62 }
63 }
64}
65