blob: 77668734d9d79bdac2b2d8e099a7874ca02628e7 [file] [log] [blame]
andrea1ce2bc82015-11-18 16:58:10 -08001{
2 "type": "object",
3 "title": "statistics",
4 "required": [
5 "statistics"
6 ],
7 "properties": {
8 "statistics": {
9 "type": "array",
10 "required": [
11 "statistics"
12 ],
13 "xml": {
14 "name": "statistics",
15 "wrapped": true
16 },
17 "items": {
18 "type": "object",
19 "title": "statistics",
20 "required": [
21 "table"
22 ],
23 "properties": {
24 "deviceId": {
25 "type": "string",
26 "example": "of:0000000000000001"
27 },
28 "table": {
29 "type": "array",
30 "xml": {
31 "name": "table",
32 "wrapped": true
33 },
34 "items": {
35 "type": "object",
36 "title": "tables",
37 "required": [
38 "tableId",
39 "deviceId",
40 "activeEntries",
41 "packetsLookedUp",
42 "packetsMathced"
43 ],
44 "properties": {
45 "tableId": {
46 "type": "integer",
47 "format": "int64",
48 "example": 0
49 },
50 "deviceId": {
51 "type": "string",
52 "example": "of:0000000000000001"
53 },
54 "activeEntries": {
55 "type": "integer",
56 "format": "int64",
57 "example": 3
58 },
59 "packetsLookedUp": {
60 "type": "integer",
61 "format": "int64",
62 "example": 458530
63 },
64 "packetsMathced": {
65 "type": "integer",
66 "format": "int64",
67 "example": 458501
68 }
69 }
70 }
71 }
72 }
73 }
74 }
75 }
76}