[IOT-1763] Implemented device onboarding state CR 23
[iotivity.git] / resource / examples / oic_svr_db_server.json
1 {\r
2     "acl": {\r
3         "aclist": {\r
4             "aces": [\r
5                 {\r
6                     "subjectuuid": "*",\r
7                     "resources": [\r
8                         {\r
9                             "href": "/oic/res",\r
10                             "rel": "",\r
11                             "rt": ["oic.wk.res"],\r
12                             "if": ["oic.if.ll"]\r
13                         },\r
14                         {\r
15                             "href": "/oic/d",\r
16                             "rel": "",\r
17                             "rt": ["oic.wk.d"],\r
18                             "if": ["oic.if.baseline", "oic.if.r"]\r
19                         },\r
20                         {\r
21                             "href": "/oic/p",\r
22                             "rel": "",\r
23                             "rt": ["oic.wk.p"],\r
24                             "if": ["oic.if.baseline", "oic.if.r"]\r
25                         },\r
26                         {\r
27                             "href": "/oic/sec/acl",\r
28                             "rel": "",\r
29                             "rt": ["oic.r.acl"],\r
30                             "if": ["oic.if.baseline"]\r
31                         }\r
32                     ],\r
33                     "permission": 2\r
34                 },\r
35                 {\r
36                     "subjectuuid": "*",\r
37                     "resources": [\r
38                         {\r
39                             "href": "/oic/sec/doxm",\r
40                             "rel": "",\r
41                             "rt": ["oic.r.doxm"],\r
42                             "if": ["oic.if.baseline"]\r
43                         },\r
44                         {\r
45                             "href": "/oic/sec/pstat",\r
46                             "rel": "",\r
47                             "rt": ["oic.r.pstat"],\r
48                             "if": ["oic.if.baseline"]\r
49                         }\r
50                     ],\r
51                     "permission": 2\r
52                 },\r
53                 {\r
54                     "subjectuuid": "*",\r
55                     "resources": [\r
56                         {\r
57                             "href": "/a/light",\r
58                             "rel": "",\r
59                             "rt": ["oic.core"],\r
60                             "if": ["oic.if.baseline"]\r
61                         }\r
62                     ],\r
63                     "permission": 7\r
64                 }\r
65             ]\r
66         },\r
67         "rowneruuid" : "31313131-3131-3131-3131-313131313131"\r
68     },\r
69     "pstat": {\r
70         "dos": {"s": 3, "p": false},\r
71         "isop": true,\r
72         "deviceuuid": "31313131-3131-3131-3131-313131313131",\r
73         "rowneruuid": "31313131-3131-3131-3131-313131313131",\r
74         "cm": 0,\r
75         "tm": 0,\r
76         "om": 4,\r
77         "sm": 4\r
78         },\r
79     "doxm": {\r
80         "oxms": [0],\r
81         "oxmsel": 0,\r
82         "sct": 1,\r
83         "owned": true,\r
84         "deviceuuid": "31313131-3131-3131-3131-313131313131",\r
85         "devowneruuid": "32323232-3232-3232-3232-323232323232",\r
86         "rowneruuid": "31313131-3131-3131-3131-313131313131"\r
87     },\r
88     "cred": {\r
89         "creds": [\r
90             {\r
91                 "credid": 1,\r
92                 "subjectuuid": "32323232-3232-3232-3232-323232323232",\r
93                 "credtype": 1,\r
94                 "privatedata": {\r
95                     "data": "AAAAAAAAAAAAAAAA",\r
96                     "encoding": "oic.sec.encoding.raw"\r
97                 }\r
98             }\r
99         ],\r
100         "rowneruuid": "31313131-3131-3131-3131-313131313131"\r
101     }\r
102 }