Change all the SmartThings APIs for Tizen 5.0
[apps/native/st-things-blind.git] / shared / res / resource.json
1 {
2   "resources": {
3     "single": [
4       {
5         "uri": "/capability/illuminanceMeasurement/main/0",
6         "types": [
7           "oic.r.sensor.illuminance"
8         ],
9         "interfaces": [
10           "oic.if.s",
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   },
26   "resourceTypes": [
27     {
28       "type": "oic.r.sensor.illuminance",
29       "properties": [
30         {
31           "key": "illuminance",
32           "type": "double",
33           "readOnly": 1,
34           "mandatory": true,
35           "isArray": false
36         }
37       ]
38     },
39     {
40       "type": "x.com.st.doorcontrol",
41       "properties": [
42         {
43           "key": "doorState",
44           "type": "string",
45           "readOnly": 3,
46           "mandatory": true,
47           "isArray": false
48         }
49       ]
50     }
51   ]
52 }