blob: 0fdcf58581ba6618a221896538d5543d1e8000f3 [file] [log] [blame]
andrea5056b512015-11-18 10:25:28 -08001{
2 "type": "object",
3 "required": [
4 "apps",
5 "links",
6 "domains",
7 "hosts",
8 "ports",
9 "devices"
10 ],
11 "properties": {
12 "apps": {
13 "type": "object"
14 },
15 "links": {
16 "title": "links",
17 "type": "object",
18 "properties": {
19 "deviceId/port-deviceId/port": {
20 "title": "basic",
21 "type": "object",
22 "required": [
23 "basic"
24 ],
25 "properties": {
26 "basic": {
27 "title": "basic",
28 "type": "object",
29 "properties": {
30 "allowed": {
31 "type": "boolean",
32 "example": true
33 }
34 }
35 }
36 }
37 }
38 }
39 },
40 "domains": {
41 "type": "object"
42 },
43 "hosts": {
44 "type": "object"
45 },
46 "ports": {
47 "type": "object"
48 },
49 "devices": {
50 "title": "Devices",
51 "type": "object",
52 "required": [
53 "deviceId"
54 ],
55 "properties": {
56 "deviceId": {
57 "title": "basic",
58 "type": "object",
59 "required": [
60 "basic"
61 ],
62 "properties": {
63 "basic": {
64 "title": "basicDevice",
65 "type": "object",
66 "required": [
67 "allowed"
68 ],
69 "properties": {
70 "allowed": {
71 "type": "boolean",
72 "example": true
73 },
74 "name": {
75 "type": "string",
76 "example": "DeviceName"
77 },
78 "owner": {
79 "type": "string",
80 "example": "OwnerName"
81 },
82 "latitude": {
83 "type": "string",
84 "example": "25"
85 }
86 }
87 }
88 }
89 }
90 }
91 }
92 }
93}