blob: 6203eb82df9f2bb289671183c79bf6f8d889f7f6 [file] [log] [blame]
Jian Lid86fac32016-04-01 16:10:26 -07001{
2 "type": "object",
3 "title": "disks",
4 "required": [
5 "disks"
6 ],
7 "properties": {
8 "disks": {
9 "type": "object",
10 "required": [
11 "name",
12 "value"
13 ],
14 "properties": {
15 "name": {
16 "type": "string"
17 },
18 "value": {
19 "type": "object",
20 "title": "metrics",
21 "required": [
22 "metrics"
23 ],
24 "properties": {
25 "metrics": {
26 "type": "array",
27 "xml": {
28 "name": "metrics",
29 "wrapped": true
30 },
31 "items": {
32 "type": "object",
33 "title": "metrics",
34 "required": [
35 "readBytes",
36 "writeBytes"
37 ],
38 "properties": {
39 "readBytes": {
40 "type": "object",
41 "required": [
42 "time",
43 "latest",
44 "average"
45 ],
46 "properties": {
47 "time": {
48 "type": "integer",
49 "format": "int64"
50 },
51 "latest": {
52 "type": "integer",
53 "format": "int64"
54 },
55 "average": {
56 "type": "integer",
57 "format": "int64"
58 }
59 }
60 },
61 "writeBytes": {
62 "type": "object",
63 "required": [
64 "time",
65 "latest",
66 "average"
67 ],
68 "properties": {
69 "time": {
70 "type": "integer",
71 "format": "int64"
72 },
73 "latest": {
74 "type": "integer",
75 "format": "int64"
76 },
77 "average": {
78 "type": "integer",
79 "format": "int64"
80 }
81 }
82 }
83 }
84 }
85 }
86 }
87 }
88 }
89 }
90 }
91}