Imported Upstream version 1.1.1
[platform/upstream/iotivity.git] / resource / provisioning / examples / cloud.json
1 {
2     "acl": {
3         "aclist": {
4             "aces": [
5                 {
6                     "subjectuuid": "*",
7                     "resources": [
8                         {
9                             "href": "/oic/res",
10                             "rel": "",
11                             "rt": ["oic.wk.res"],
12                             "if": ["oic.if.ll"]
13                         },{
14                             "href": "/oic/d",
15                             "rel": "",
16                             "rt": ["oic.wk.d"],
17                             "if": ["oic.if.baseline", "oic.if.r"]
18                         },{
19                             "href": "/oic/p",
20                             "rel": "",
21                             "rt": ["oic.wk.p"],
22                             "if": ["oic.if.baseline", "oic.if.r"]
23                         }
24                     ],
25                     "permission": 2
26                 },
27                 {
28                     "subjectuuid": "*",
29                     "resources": [
30                         {
31                             "href": "/oic/sec/doxm",
32                             "rel": "",
33                             "rt": ["oic.r.doxm"],
34                             "if": ["oic.if.baseline"]
35                         },
36                         {
37                             "href": "/oic/sec/pstat",
38                             "rel": "",
39                             "rt": ["oic.r.pstat"],
40                             "if": ["oic.if.baseline"]
41                         }
42                     ],
43                     "permission": 2
44                 }
45             ]
46         },
47         "rowneruuid" : "61646D69-6E44-6576-6963-655575696430"
48     },
49     "pstat": {
50         "isop": true,
51         "cm": 0,
52         "tm": 0,
53         "om": 4,
54         "sm": 4,
55         "deviceuuid": "61646D69-6E44-6576-6963-655575696430",
56         "rowneruuid": "61646D69-6E44-6576-6963-655575696430"
57     },
58     "doxm": {
59         "oxms": [0],
60         "oxmsel": 0,
61         "sct": 1,
62         "owned": true,
63         "deviceuuid": "61646D69-6E44-6576-6963-655575696430",
64         "x.org.iotivity.dpc": false,
65         "devowneruuid": "61646D69-6E44-6576-6963-655575696430",
66         "rowneruuid": "61646D69-6E44-6576-6963-655575696430"
67     }
68 }