blob: 390a0fbce70ad0e14a3bace7a64517b6a0ef3c60 [file] [log] [blame]
Jian Lif96d41f2016-05-03 09:49:12 -07001{
2 "type": "object",
3 "title": "mastership",
4 "required": [
5 "deviceId",
6 "nodeId",
Jian Li673399f2016-07-20 18:02:03 +09007 "role"
Jian Lif96d41f2016-05-03 09:49:12 -07008 ],
9 "properties": {
10 "deviceId": {
11 "type": "string",
12 "example": "of:0000000000000001"
13 },
14 "nodeId": {
15 "type": "string",
16 "example": "1"
17 },
Jian Li673399f2016-07-20 18:02:03 +090018 "role": {
Jian Lif96d41f2016-05-03 09:49:12 -070019 "type": "string",
20 "example": "MASTER"
21 }
22 }
23}