Rename restconf-nb-rfc8040 to restconf-nb
[netconf.git] / restconf / restconf-nb / src / test / resources / instanceidentifier / json / jsonPATCHdata.json
1 {
2   "ietf-yang-patch:yang-patch" : {
3
4     "patch-id" : "test-patch",
5     "comment" : "this is test patch",
6     "edit" : [
7       {
8         "edit-id": "edit1",
9         "operation": "replace",
10         "target": "/my-list2=my-leaf20",
11         "value": {
12           "my-list2": {
13             "name": "my-leaf20",
14             "my-leaf21": "I am leaf21-0",
15             "my-leaf22": "I am leaf22-0"
16           }
17         }
18       },
19
20       {
21         "edit-id": "edit2",
22         "operation": "replace",
23         "target": "/my-list2=my-leaf20",
24         "value": {
25           "my-list2": {
26             "name": "my-leaf20",
27             "my-leaf21": "I am leaf21-1",
28             "my-leaf22": "I am leaf22-1",
29             "my-leaf-list": ["listelement"]
30           }
31         }
32       }
33     ]
34   }
35 }