| { |
| "op":"add_or_update", |
| "tagModel":"resource_private", |
| "serviceName": "cl1_hive", |
| "tagDefinitions": { |
| "1": { |
| "name": "EXPIRES_ON", |
| "attributeDefs": [ { "name": "expiry_date", "type": "datetime" } ], |
| "id": 1, |
| "guid": "tagdefinition-expires-on-guid" |
| } |
| }, |
| "tags": { |
| "1": { |
| "type": "EXPIRES_ON", |
| "attributes": { "expiry_date": "2016/12/31" }, |
| "id": 1, |
| "guid": "tag-expires-on-1-guid" |
| } |
| }, |
| "serviceResources": [ |
| { |
| "serviceName": "cl1_hive", |
| "resourceElements": { |
| "database": { "values": [ "employee" ] }, |
| "table": { "values": [ "personal" ] }, |
| "column": { "values": [ "ssn" ] } |
| }, |
| "id": 1, |
| "guid": "employee.personal.ssn-guid" |
| } |
| , |
| { |
| "serviceName": "cl1_hive", |
| "resourceElements": { |
| "database": { "values": [ "vendors" ] } |
| }, |
| "id": 2, |
| "guid": "vendors-guid" |
| } |
| ], |
| "resourceToTagIds": { |
| "1": [ 1 ], |
| "2": [ 1 ] |
| } |
| } |
| |