tizen 5.0 migration
[apps/native/co2-meter.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/airQualitySensor/main/0",
16         "types": [
17           "x.com.st.airqualitylevel"
18         ],
19         "interfaces": [
20           "oic.if.s",
21           "oic.if.baseline"
22         ]
23       },
24       {
25         "uri": "/capability/thermostatCoolingSetpoint/main/0",
26         "types": [
27           "x.com.st.temperature.cooling"
28         ],
29         "interfaces": [
30           "oic.if.a",
31           "oic.if.s",
32           "oic.if.baseline"
33         ]
34       }
35     ]
36   },
37   "resourceTypes": [
38     {
39       "type": "x.com.st.powerswitch",
40       "properties": [
41         {
42           "key": "power",
43           "type": "string",
44           "readOnly": 3,
45           "mandatory": true,
46           "isArray": false
47         }
48       ]
49     },
50     {
51       "type": "x.com.st.airqualitylevel",
52       "properties": [
53         {
54           "key": "airQuality",
55           "type": "double",
56           "readOnly": 1,
57           "mandatory": true,
58           "isArray": false
59         },
60         {
61           "key": "range",
62           "type": "double",
63           "readOnly": 1,
64           "mandatory": true,
65           "isArray": true
66         }
67       ]
68     },
69     {
70       "type": "x.com.st.temperature.cooling",
71       "properties": [
72         {
73           "key": "temperature",
74           "type": "double",
75           "readOnly": 3,
76           "mandatory": true,
77           "isArray": false
78         },
79         {
80           "key": "range",
81           "type": "double",
82           "readOnly": 3,
83           "mandatory": true,
84           "isArray": true
85         },
86         {
87           "key": "units",
88           "type": "string",
89           "readOnly": 3,
90           "mandatory": true,
91           "isArray": false
92         }
93       ]
94     }
95   ]
96 }