{
	"template": {
		"Account": {
			"Id": 500,
			"Name": "Acme customer"
		},
		"Config": {
			"Whatif": false,
		},
		"OpSite": {
			"RootPath": "mySites[*]",
			"Items": [
				{
					"OpIdentifier": "opKey",
					"Path": "LOC_NAME"
				},
				{
					"OpIdentifier": "opSiteForm.Master Data.Technical Identifiers.BusinessKey",
					"Path": "LOC_NAME"
				},
				{
					"OpIdentifier": "opSite.Name",
					"Path": "LOC_NAME"
				},
				{
					"OpIdentifier": "opSite.PostalCode",
					"Path": "POSTAL_CODE"
				},
				{
					"OpIdentifier": "opSite.City",
					"Path": "CITY"
				},
				{
					"OpIdentifier": "opSite.Street",
					"Path": "STREET"
				},
				{
					"OpIdentifier": "opSiteForm.Master Data.Technical Identifiers.Range",
					"Path": "STORE_RANGE"
				},
				{
					"OpIdentifier": "opSiteForm.Master Data.Technical Identifiers.Surface",
					"Path": "STORE_SURFACE"
				},
				{
					"OpIdentifier": "opSite.TypeId",
					"Transform": {
						"Operation": "force",
						"Value": "15"
					}
				},
				{
					"OpIdentifier": "opSite.TimeZoneId",
					"Path": "TIMEZONE_ID",
					"Transform": {
						"Operation": "force",
						"Value": "Romance Standard Time"
					}
				}
			]
		},
		"OpSource": {
			"RootPath": "mySites[*].sourcesAttachedToThisSite[*]",
			"Items": [
				{
					"OpIdentifier": "opKey",
					"Path": "MTR_ID"
				},
				{
					"OpIdentifier": "opsource.SerialNumber",
					"Path": "MTR_ID"
				},
				{
					"OpIdentifier": "opSourceForm.Master Data.Technical Identifiers.BusinessKey",
					"Path": "MTR_ID"
				},
				{
					"OpIdentifier": "opsource.Name",
					"Path": "MTR_NAME"
				},
				{
					"OpIdentifier": "opSourceForm.Master Data.Technical Identifiers.Name",
					"Path": "MTR_TYP_NAME"
				},
				{
					"OpIdentifier": "opSourceForm.Master Data.Technical Identifiers.Acquisition",
					"Path": "MTR_UNIT"
				},
				{
					"OpIdentifier": "opSourceForm.Master Data.Technical Identifiers.Part",
					"Path": "MTR_PART"
				},
				{
					"OpIdentifier": "opsource.EnergyTypeId",
					"Path": "ENERGY_NAME",
					"Transform": {
						"Operation": "Convert",
						"KeyValuePairs": [
							{
								"Key": "ELECTRICITY",
								"Value": "1"
							},
							{
								"Key": "GAS",
								"Value": "2"
							},
							{
								"Key": "WATER",
								"Value": "3"
							}
						]
					},
					"Validity": null
				},
				{
					"OpIdentifier": "opsource.SourceTypeId",
					"Path": "SOURCE_TYPE",
					"Transform": {
						"Operation": "force",
						"Value": "77"
					},
					"Validity": null
				},
				{
					"OpIdentifier": "opsource.GatewayId",
					"Transform": {
						"Operation": "force",
						"Value": "7057"
					},
					"Validity": null
				},
				{
					"OpIdentifier": "opsource.GatewayTypeId",
					"Transform": {
						"Operation": "force",
						"Value": "123"
					},
					"Validity": null
				},
				{
					"OpIdentifier": "opsource.TimeZoneId",
					"Transform": {
						"Operation": "force",
						"Value": "Romance Standard Time"
					},
					"Validity": null
				}
			]
		},
		"OpVariable": {
			"rootPath": "sites[*].sources[*].variables[*]",
			"Items": []
		},
		"OpUser": {
			"RootPath": "myUsers[*]",
			"Items": [
				{
					"OpIdentifier": "opKey",
					"Path": "EMAIL"
				},
				{
					"OpIdentifier": "opUser.UserName",
					"Path": "EMAIL"
				},
				{
					"OpIdentifier": "opUser.Email",
					"Path": "EMAIL"
				},
				{
					"OpIdentifier": "opUser.FirstName",
					"Path": "FIRST_NAME"
				},
				{
					"OpIdentifier": "opUser.LastName",
					"Path": "LAST_NAME"
				},
				{
					"OpIdentifier": "opUser.Roles",
					"Path": "ROLE",
					"Transform": {
						"Operation": "Convert",
						"KeyValuePairs": [
							{
								"Key": "Data analyst",
								"Value": "Manager"
							},
							{
								"Key": "Service owner",
								"Value": "Manager"
							},
							{
								"Key": "Data manager",
								"Value": "Manager"
							},
							{
								"Key": "End user",
								"Value": "User"
							},
							{
								"Key": "Energy coordinator",
								"Value": "User"
							}
						]
					}
				},
				{
					"OpIdentifier": "opUser.Language",
					"Path": "LANGUAGE"
				},
				{
					"OpIdentifier": "opUser.Claims",
					"Path": "PROFILE",
					"Transform": {
						"Operation": "Convert",
						"KeyValuePairs": [
							{
								"Key": "Admin",
								"Value": "[{\"Name\":\"http://opisense.opinum.com\",\"Value\":\"1\"},{\"Name\":\"http://opisense.opinum.com/buildingproperties\",\"Value\":\"ADMIN\"},{\"Name\":\"http://opisense.opinum.com/sensors\",\"Value\":\"ADMIN\"}]"
							},
							{
								"Key": "Expert",
								"Value": "[{\"Name\":\"http://opisense.opinum.com\",\"Value\":\"1\"},{\"Name\":\"http://opisense.opinum.com/reports\",\"Value\":\"ADMIN\"},{\"Name\":\"http://opisense.opinum.com/tickets\",\"Value\":\"ADMIN\"},{\"Name\":\"http://opisense.opinum.com/buildingproperties\",\"Value\":\"NONE\"},{\"Name\":\"http://opisense.opinum.com/sensors\",\"Value\":\"NONE\"}]"
							},
							{
								"Key": "Basic",
								"Value": "[{\"Name\":\"http://opisense.opinum.com\",\"Value\":\"1\"},{\"Name\":\"http://opisense.opinum.com/sensors\",\"Value\":\"READ\"},{\"Name\":\"http://opisense.opinum.com/reports\",\"Value\":\"READ\"},{\"Name\":\"http://opisense.opinum.com/tickets\",\"Value\":\"READ\"},{\"Name\":\"http://opisense.opinum.com/buildingproperties\",\"Value\":\"NONE\"},{\"Name\":\"http://opisense.opinum.com/sensors\",\"Value\":\"NONE\"}]"
							}
						]
					}
				},
				{
					"OpIdentifier": "opUser.Sites",
					"Path": "sitesForUser[*].SiteName"
				},
				{
					"OpIdentifier": "opUser.Sources",
					"Path": "sourcesForUser[*].Serial"
				}
			]
		},
		"opEvent": {
			"rootPath": "myEvents[*]",
			"items": [
				{
					"opIdentifier": "opKey",
					"path": "name"
				},
				{
					"opIdentifier": "opEvent.Name",
					"path": "name"
				},
				{
					"opIdentifier": "opEvent.Info",
					"path": "info"
				},
				{
					"opIdentifier": "opEvent.ToDate",
					"path": "toDate"
				},
				{
					"opIdentifier": "opEvent.FromDate",
					"path": "fromDate"
				},
				{
					"opIdentifier": "opEvent.Tags",
					"path": "tags"
				},
				{
					"opIdentifier": "opEvent.Site",
					"path": "site"
				},
				{
					"opIdentifier": "opEvent.Sources",
					"transform": {
						"operation": "list",
						"value": ";"
					},
					"path": "sources"
				},
				{
					"opIdentifier": "opEventForm.EventForm.EventGroup.Custom",
					"path": "customField"
				}
			]
		}
	},
	"mySites": [
		{
			"LOC_ID": "1",
			"LOC_NAME": "Store_Brussels",
			"POSTAL_CODE": "1000",
			"CITY": "Brussels",
			"STREET": "Niewstraat 16",
			"STORE_RANGE": "SMALL",
			"STORE_SURFACE": "100",
			"TYPE_ID": "15",
			"TIMEZONE_ID": "Romance Standard Time",
			"sourcesAttachedToThisSite": [
				{
					"MTR_ID": "SN0001",
					"MTR_NAME": "ELEC_M1",
					"LOC_ID": "1",
					"MTR_TYP_NAME": "Electricity meter",
					"MTR_UNIT": "KWH",
					"MTR_PART": "TOTAL",
					"ENERGY_NAME": "ELECTRICITY",
					"SOURCETYPE_ID": "77",
					"GATEWAY_TYPE": "7057",
					"DISPLAY_TYPE": "131",
					"variables": [
						{
							"Name": "VarType1"
						},
						{
							"Name": "VarType2"
						}
					]
				},
				{
					"MTR_ID": "SN0002",
					"MTR_NAME": "ELEC_M2",
					"LOC_ID": "1",
					"MTR_TYP_NAME": "Electricity meter",
					"MTR_UNIT": "KWH",
					"MTR_PART": "Cooling",
					"ENERGY_NAME": "ELECTRICITY",
					"SOURCETYPE_ID": "77",
					"GATEWAY_TYPE": "7057",
					"DISPLAY_TYPE": "131",
					"variables": [
						{
							"Name": "VarType3"
						}
					]
				}
			]
		},
		{
			"LOC_ID": "3",
			"LOC_NAME": "Store_Deurne",
			"POSTAL_CODE": "2100",
			"CITY": "Deurne",
			"STREET": "Eyendijkstraat 10",
			"STORE_RANGE": "LARGE",
			"STORE_SURFACE": "300",
			"NUMBER_LOCATION!STREET": "10 Eyendijkstraat",
			"TYPE_ID": "15",
			"TIMEZONE_ID": "Romance Standard Time",
			"sourcesAttachedToThisSite": [
				{
					"MTR_ID": "SN0004",
					"MTR_NAME": "GAS_M1",
					"LOC_ID": "3",
					"MTR_TYP_NAME": "Gas meter",
					"MTR_UNIT": "M3",
					"MTR_PART": "HEATING",
					"ENERGY_NAME": "GAS",
					"SOURCETYPE_ID": "77",
					"GATEWAY_TYPE": "7057",
					"DISPLAY_TYPE": "131"
				}
			]
		},
		{
			"LOC_ID": "2",
			"LOC_NAME": "Store_Charleroi",
			"POSTAL_CODE": "6001",
			"CITY": "Charleroi",
			"STREET": "Avenue de Philippeville 24",
			"STORE_RANGE": "MIDDLE",
			"STORE_SURFACE": "200",
			"NUMBER_LOCATION!STREET": "24 Avenue de Philippeville",
			"TYPE_ID": "15",
			"TIMEZONE_ID": "Romance Standard Time",
			"sourcesAttachedToThisSite": [
				{
					"MTR_ID": "SN0003",
					"MTR_NAME": "GAS_M1",
					"LOC_ID": "2",
					"MTR_TYP_NAME": "Gas meter",
					"MTR_UNIT": "M3",
					"MTR_PART": "HEATING",
					"ENERGY_NAME": "GAS",
					"SOURCETYPE_ID": "77",
					"GATEWAY_TYPE": "7057",
					"DISPLAY_TYPE": "131"
				}
			]
		}
	],
	"myUsers": [
		{
			"EMAIL": "steve.acme@opinum.com",
			"FIRST_NAME": "Steve",
			"LAST_NAME": "Acme",
			"ROLE": "Data analyst",
			"LANGUAGE": "EN",
			"PROFILE": "Expert",
			"sitesForUser": [
				{
					"SiteName": "Store_Deurne"
				},
				{
					"SiteName": "Store_Charleroi"
				}
			],
			"sourcesForUser": []
		},
		{
			"EMAIL": "maintenance@opinum.com",
			"FIRST_NAME": "Loic",
			"LAST_NAME": "Bar",
			"ROLE": "End user",
			"LANGUAGE": "EN",
			"PROFILE": "Basic",
			"sitesForUser": [
				{
					"SiteName": "Store_Brussels"
				}
			],
			"sourcesForUser": [
				{
					"Serial": "SN0001"
				},
				{
					"Serial": "SN0002"
				},
				{
					"Serial": "SN0003"
				}
			]
		}
	],
	"myEvents": [
		{
			"name": "event2",
			"info": "info2",
			"fromDate": "2019-01-01",
			"toDate": "2019-01-01",
			"tags": "event singleDate",
			"site": "Store_Brussels",
			"sources": "SN0001;SN0002",
			"customField": "custom value 1"
		}
	]
}