Merge branch 'master' into easysetup & CBOR changes
[platform/upstream/iotivity.git] / resource / examples / oic_svr_db_server.json
1 {
2     "acl": [
3         {
4             "sub": "Kg==",
5             "rsrc": [
6                 "/oic/res",
7                 "/oic/d",
8                 "/oic/p",
9                 "/oic/res/types/d",
10                 "/oic/ad",
11                 "/oic/sec/acl"
12                         ],
13                         "perms": 2,
14                         "ownrs" : ["MTExMTExMTExMTExMTExMQ=="]
15                 },
16         {
17             "sub": "Kg==",
18             "rsrc": [
19                 "/oic/sec/doxm",
20                 "/oic/sec/pstat"
21              ],
22              "perms": 2,
23              "ownrs" : ["MTExMTExMTExMTExMTExMQ=="]
24         },
25         {
26             "sub": "Kg==",
27             "rsrc": ["/a/light"],
28             "perms": 6,
29             "ownrs" : ["MjIyMjIyMjIyMjIyMjIyMg=="]
30         }
31         ],
32         "pstat":        {
33                 "isop": true,
34                 "deviceid":     "ZGV2aWNlaWQAAAAAABhanw==",
35                 "ch": 0,
36                 "cm":   0,
37                 "tm":   0,
38                 "om":   3,
39                 "sm":   [3]
40         },
41         "doxm": {
42                 "oxm":  [0],
43                 "oxmsel": 0,
44                 "owned": true,
45                 "deviceid":     "MTExMTExMTExMTExMTExMQ==",
46                 "ownr": "MjIyMjIyMjIyMjIyMjIyMg=="
47         },
48     "cred":     [{
49                 "credid": 1,
50                 "sub": "MjIyMjIyMjIyMjIyMjIyMg==",
51                 "credtyp": 1,
52                 "pvdata": "QUFBQUFBQUFBQUFBQUFBQQ==",
53         "ownrs" : ["MjIyMjIyMjIyMjIyMjIyMg=="]
54         }]
55 }