tizen 5.0 migration
[apps/native/blind-motor.git] / shared / res / resource.json
1 {
2   "resources": {
3     "single": [
4       {
5         "uri": "/capability/switch/main/0",
6         "types": [
7           "x.com.st.powerswitch"
8         ],
9         "interfaces": [
10           "oic.if.a",
11           "oic.if.baseline"
12         ]
13       },
14       {
15         "uri": "/capability/doorControl/main/0",
16         "types": [
17           "x.com.st.doorcontrol"
18         ],
19         "interfaces": [
20           "oic.if.baseline",
21           "oic.if.a"
22         ]
23       },
24       {
25         "uri": "/capability/illuminanceMeasurement/main/0",
26         "types": [
27           "oic.r.sensor.illuminance"
28         ],
29         "interfaces": [
30           "oic.if.s",
31           "oic.if.baseline"
32         ]
33       }
34     ]
35   },
36   "resourceTypes": [
37     {
38       "type": "x.com.st.powerswitch",
39       "properties": [
40         {
41           "key": "power",
42           "type": "string",
43           "readOnly": 3,
44           "mandatory": true,
45           "isArray": false
46         }
47       ]
48     },
49     {
50       "type": "x.com.st.doorcontrol",
51       "properties": [
52         {
53           "key": "doorState",
54           "type": "string",
55           "readOnly": 3,
56           "mandatory": true,
57           "isArray": false
58         }
59       ]
60     },
61     {
62       "type": "oic.r.sensor.illuminance",
63       "properties": [
64         {
65           "key": "illuminance",
66           "type": "double",
67           "readOnly": 1,
68           "mandatory": true,
69           "isArray": false
70         }
71       ]
72     }
73   ]
74 }