blob: 886902b8d7ff6c29e9b814ffdcc5e3eb137e5615 [file] [log] [blame]
andrea1ce2bc82015-11-18 16:58:10 -08001{
2 "type": "object",
3 "title": "loads",
4 "required": [
5 "loads"
6 ],
7 "properties": {
8 "loads": {
9 "type": "array",
10 "required": [
11 "loads"
12 ],
13 "xml": {
14 "name": "loads",
15 "wrapped": true
16 },
17 "items": {
18 "type": "object",
19 "title": "loads",
20 "required": [
21 "rate",
22 "latest",
23 "valid",
24 "time",
25 "link"
26 ],
27 "properties": {
28 "rate": {
29 "type": "integer",
30 "format": "int64",
31 "example": 0
32 },
33 "latest": {
34 "type": "string",
35 "example": "of:0000000000000001"
36 },
37 "valid": {
38 "type": "boolean",
39 "example": false
40 },
41 "time": {
42 "type": "integer",
43 "format": "int64",
44 "example": 1447980119542
45 },
46 "link": {
47 "type": "string",
48 "example": "http://10.128.12.1:8181/onos/v1/links?device=of:0000000000000002&port=3"
49 }
50 }
51 }
52 }
53 }
54}