[IOT-1763] Implemented device onboarding state CR 23
[iotivity.git] / resource / csdk / security / provisioning / sample / oic_svr_db_randompin_with_empty_deviceid.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                             "href": "/oic/sec/cred",
44                             "rel": "",
45                             "rt": ["oic.r.cred"],
46                             "if": ["oic.if.baseline"]
47                         }
48                     ],
49                     "permission": 6
50                 }
51             ]
52         },
53         "rowneruuid" : ""
54     },
55     "pstat": {
56         "dos": {"s": 1, "p": false},
57         "isop": false,
58         "deviceuuid": "",
59         "rowneruuid": "",
60         "cm": 2,
61         "tm": 0,
62         "om": 4,
63         "sm": 4
64         },
65     "doxm": {
66         "oxms": [0, 1],
67         "oxmsel": 0,
68         "sct": 1,
69         "owned": false,
70         "deviceuuid": "",
71         "devowneruuid": "",
72         "rowneruuid": ""
73     }
74 }