resource: Sync CBOR files for examples
[iotivity.git] / resource / examples / oic_svr_db_client.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                         {
15                             "href": "/oic/d",
16                             "rel": "",
17                             "rt": ["oic.wk.d"],
18                             "if": ["oic.if.baseline", "oic.if.r"]
19                         },
20                         {
21                             "href": "/oic/p",
22                             "rel": "",
23                             "rt": ["oic.wk.p"],
24                             "if": ["oic.if.baseline", "oic.if.r"]
25                         },
26                         {
27                             "href": "/oic/sec/acl",
28                             "rel": "",
29                             "rt": ["oic.r.acl"],
30                             "if": ["oic.if.baseline"]
31                         }
32                     ],
33                     "permission": 2
34                 },
35                 {
36                     "subjectuuid": "*",
37                     "resources": [
38                         {
39                             "href": "/oic/sec/doxm",
40                             "rel": "",
41                             "rt": ["oic.r.doxm"],
42                             "if": ["oic.if.baseline"]
43                         },
44                         {
45                             "href": "/oic/sec/pstat",
46                             "rel": "",
47                             "rt": ["oic.r.pstat"],
48                             "if": ["oic.if.baseline"]
49                         }
50                     ],
51                     "permission": 2
52                 }
53             ]
54         },
55         "rowneruuid" : "32323232-3232-3232-3232-323232323232"
56     },
57     "pstat": {
58         "dos": {"s": 3, "p": false},
59         "isop": true,
60         "deviceuuid": "32323232-3232-3232-3232-323232323232",
61         "rowneruuid": "32323232-3232-3232-3232-323232323232",
62         "cm": 0,
63         "tm": 0,
64         "om": 4,
65         "sm": 4
66         },
67     "doxm": {
68         "oxms": [0],
69         "oxmsel": 0,
70         "sct": 1,
71         "owned": true,
72         "deviceuuid": "32323232-3232-3232-3232-323232323232",
73         "devowneruuid": "32323232-3232-3232-3232-323232323232",
74         "rowneruuid": "32323232-3232-3232-3232-323232323232"
75     },
76     "cred": {
77         "creds": [
78             {
79                 "credid": 1,
80                 "subjectuuid": "31313131-3131-3131-3131-313131313131",
81                 "credtype": 1,
82                 "privatedata": {
83                     "data": "AAAAAAAAAAAAAAAA",
84                     "encoding": "oic.sec.encoding.raw"
85                 }
86             }
87         ],
88         "rowneruuid": "32323232-3232-3232-3232-323232323232"
89     }
90 }