RAML v1.1 sync-up in SVR DB
[platform/upstream/iotivity.git] / resource / csdk / security / provisioning / ck_manager / sample / oic_svr_db_light.json
index 048384b..069f6c6 100644 (file)
@@ -1,47 +1,85 @@
 {
-    "acl": [
-        {
-            "sub": "Kg==",
-            "rsrc": [
-                "/oic/res",
-                "/oic/res/d",
-                "/oic/res/types/d",
-                "/oic/presence"
-                       ],
-                       "perms": 2,
-                       "ownrs" : [
-                               "bGlnaHREZXZpY2VVVUlEMA=="
+    "acl": {
+               "aclist":{
+                       "aces":[
+                               {
+                                       "subject": "*",
+                                       "resources": [
+                                               {
+                                                       "href": "/oic/res",
+                                                       "rt": "",
+                                                       "if": ""
+                                               },
+                                               {
+                                                       "href": "/oic/res/d",
+                                                       "rt": "",
+                                                       "if": ""
+                                               },
+                                               {
+                                                       "href": "/oic/res/types/d",
+                                                       "rt": "",
+                                                       "if": ""
+                                               },
+                                               {
+                                                       "href": "/oic/presence",
+                                                       "rt": "",
+                                                       "if": ""
+                                               }
+                                       ],
+                                       "permission": 2
+                               },
+                               {
+                                       "subject": "*",
+                                       "resources": [
+                                               {
+                                                       "href": "/oic/sec/doxm",
+                                                       "rt": "",
+                                                       "if": ""
+                                               },
+                                               {
+                                                       "href": "/oic/sec/pstat",
+                                                       "rt": "",
+                                                       "if": ""
+                                               },
+                                               {
+                                                       "href": "/oic/sec/acl",
+                                                       "rt": "",
+                                                       "if": ""
+                                               },
+                                               {
+                                                       "href": "/oic/sec/crl",
+                                                       "rt": "",
+                                                       "if": ""
+                                               },
+                                               {
+                                                       "href": "/oic/sec/cred",
+                                                       "rt": "",
+                                                       "if": ""
+                                               }
+                                       ],
+                                       "permission": 6
+                               }
                        ]
                },
-        {
-            "sub": "Kg==",
-            "rsrc": [
-                "/oic/sec/doxm",
-                "/oic/sec/pstat",
-                "/oic/sec/acl",
-                "/oic/sec/crl",
-                "/oic/sec/cred"
-             ],
-             "perms": 6,
-             "ownrs" : [
-                 "bGlnaHREZXZpY2VVVUlEMA=="
-             ]
-        }
-       ],
+               "rownerid" : "6C696768-7444-6576-6963-655555494430"
+       },
        "pstat":        {
                "isop": false,
-               "deviceid":     "bGlnaHREZXZpY2VVVUlEMA==",
-               "commithash": 0,
-               "cm":   0,
+               "deviceid":     "6C696768-7444-6576-6963-655555494430",
+               "rownerid":     "6C696768-7444-6576-6963-655555494430",
+               "cm":   2,
                "tm":   0,
                "om":   3,
                "sm":   [3]
        },
        "doxm": {
-               "oxm":  [0],
+               "oxms": [0],
                "oxmsel": 0,
                "sct": 1,
                "owned": false,
-               "deviceid":     "bGlnaHREZXZpY2VVVUlEMA=="
+               "dpc": false,
+               "didformat": 0,
+               "deviceid":     "6C696768-7444-6576-6963-655555494430",
+               "rownerid":     "6C696768-7444-6576-6963-655555494430"
        }
 }