<?xml version="1.0" encoding="UTF-8"?>
<vendorB xmlns="http://www.vendorB.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vendorB.com Vendor_B_schema.xsd">
	<client id="1234">
		<type>OFFENDER</type>
		<clientDetails id="2345">
			<title>MR</title>
			<firstNames>Jon</firstNames>
			<lastName>Doe</lastName>
			<birthday>1984-04-01</birthday>
			<nationality>CH</nationality>
			<residencyType>citizen</residencyType>
			<profession>dayworker</profession>
			<maritalStatus>NEVER_MARRIED</maritalStatus>
			<religion>none</religion>
			<language>fr</language>
			<gender>MALE</gender>
			<ethnicity>EUROPEAN</ethnicity>
			<height>180</height>
			<weight>80</weight>
			<corpulence>EXTRA_POUNDS</corpulence>
			<hairColor>BALD</hairColor>
			<eyeColor>GREEN</eyeColor>
			<placeOfBirth>Delément</placeOfBirth>
			<placeOfOrigin>Villars</placeOfOrigin>
			<idNumber>M1298435</idNumber>
			<referenceNumber>77309145</referenceNumber>
			<addresses>
				<address id="3456">
					<type>HOME</type>
					<street>Av. de la Jeunesse</street>
					<houseNumber>23A</houseNumber>
					<extras/>
					<zipCode>1234</zipCode>
					<city>Villars</city>
					<state>VD</state>
					<country>CH</country>
				</address>
			</addresses>
			<eAddresses>
				<eAddress>
					<type>EMAIL</type>
					<context>EMAIL</context>
					<description>Personal e-mail address of offender</description>
					<address>jon.doe@test.com</address>
				</eAddress>
				<eAddress>
					<type>MOBILE_PHONE</type>
					<context>MOBILE</context>
					<description> Personal mobile phone of offender</description>
					<address>+41791234567</address>
				</eAddress>
			</eAddresses>
		</clientDetails>
		<contacts>
			<contact>
				<firstNames>Marie</firstNames>
				<lastName>Doe</lastName>
				<gender>FEMALE</gender>
				<type>PARENT</type>
				<birthday>1952-03-27</birthday>
				<nationality>CH</nationality>
				<profession>waitress</profession>
				<contactReason>His mother is his main confidence person.</contactReason>
				<comment>Contact his mother if he does not listen to you.</comment>
				<description>Jon is socially awkward. His main emotional connection is with his mother.</description>
				<addresses>
					<address id="3456">
						<type>HOME</type>
						<street>Ch. de la Liberté</street>
						<houseNumber>17</houseNumber>
						<extras/>
						<zipCode>1235</zipCode>
						<city>La Combe</city>
						<state>VD</state>
						<country>CH</country>
					</address>
				</addresses>
			</contact>
		</contacts>
		<sentence>
			<crime>Shoplifting</crime>
			<infringementDate>2014-10-03</infringementDate>
			<notifiedOn>2014-11-25</notifiedOn>
			<entryIntoForce>2015-03-19</entryIntoForce>
			<monitoringStart>2015-07-06T00:00:00</monitoringStart>
			<monitoringEnd>2015-09-07T23:59:59</monitoringEnd>
			<prefecture>Lausanne</prefecture>
			<comments>Mr. Doe is a repeating shop lifter. He is informed that all shop lifting incidents will be correlated with his whereabouts.</comments>
			<rules>Mr. Doe is to remain at his home over night and on week-ends, except for 4 hours of free time on Sunday afternoon. Mr. Doe is to leave his home during the day for work.</rules>
		</sentence>
		<rules>
			<zone>
				<type>BASE_STATION</type>
				<name>Home</name>
				<description>Base station located in his apartment</description>
				<message/>
				<centerLat>41.2345</centerLat>
				<centerLon>8.123</centerLon>
				<graceTime>300</graceTime>
				<schedules>
					<schedule>
						<name>Week day daytime</name>
						<type>EXCLUSION</type>
						<startTime>08:00:00</startTime>
						<endTime>17:00:00</endTime>
						<activeMonday>true</activeMonday>
						<activeTuesday>true</activeTuesday>
						<activeWednesday>true</activeWednesday>
						<activeThursday>true</activeThursday>
						<activeFriday>true</activeFriday>
						<activeSaturday>false</activeSaturday>
						<activeSunday>false</activeSunday>
					</schedule>
					<schedule>
						<name>Week day morning</name>
						<type>INCLUSION</type>
						<endTime>07:00:00</endTime>
						<activeMonday>true</activeMonday>
						<activeTuesday>true</activeTuesday>
						<activeWednesday>true</activeWednesday>
						<activeThursday>true</activeThursday>
						<activeFriday>true</activeFriday>
						<activeSaturday>false</activeSaturday>
						<activeSunday>false</activeSunday>
					</schedule>
					<schedule>
						<name>Week day evening</name>
						<type>INCLUSION</type>
						<startTime>18:00:00</startTime>
						<activeMonday>true</activeMonday>
						<activeTuesday>true</activeTuesday>
						<activeWednesday>true</activeWednesday>
						<activeThursday>true</activeThursday>
						<activeFriday>true</activeFriday>
						<activeSaturday>false</activeSaturday>
						<activeSunday>false</activeSunday>
					</schedule>
					<schedule>
						<name>Week day Saturday</name>
						<type>INCLUSION</type>
						<activeMonday>false</activeMonday>
						<activeTuesday>false</activeTuesday>
						<activeWednesday>false</activeWednesday>
						<activeThursday>false</activeThursday>
						<activeFriday>false</activeFriday>
						<activeSaturday>true</activeSaturday>
						<activeSunday>false</activeSunday>
					</schedule>
					<schedule>
						<name>Week day Sunday morning</name>
						<type>INCLUSION</type>
						<endTime>13:00:00</endTime>
						<activeMonday>false</activeMonday>
						<activeTuesday>false</activeTuesday>
						<activeWednesday>false</activeWednesday>
						<activeThursday>false</activeThursday>
						<activeFriday>false</activeFriday>
						<activeSaturday>false</activeSaturday>
						<activeSunday>true</activeSunday>
					</schedule>
					<schedule>
						<name>Week day Sunday evening</name>
						<type>INCLUSION</type>
						<endTime>17:00:00</endTime>
						<activeMonday>false</activeMonday>
						<activeTuesday>false</activeTuesday>
						<activeWednesday>false</activeWednesday>
						<activeThursday>false</activeThursday>
						<activeFriday>false</activeFriday>
						<activeSaturday>false</activeSaturday>
						<activeSunday>true</activeSunday>
					</schedule>
				</schedules>
			</zone>
		</rules>
		<trace>
			<tracePoint>
				<time>2015-06-08T09:03:57</time>
				<latitude>41.123</latitude>
				<longitude>8.123</longitude>
				<altitude>389</altitude>
				<heading>129</heading>
				<speed>4</speed>
				<accuracy>5</accuracy>
				<source>GPS</source>
			</tracePoint>
		</trace>
		<events>
			<event>
				<time>2015-06-08T09:01:35</time>
				<type>BRACELET_CLOSED</type>
				<priority>EVENT</priority>
				<data/>
			</event>
			<event>
				<time>2015-06-08T09:01:55</time>
				<type>BASESTATION_IN_PROXIMITY</type>
				<priority>EVENT</priority>
				<data/>
			</event>
			<event>
				<time>2015-06-08T09:02:03</time>
				<type>ZONE_VIOLATION</type>
				<priority>MEDIUM</priority>
				<data>Client remains in exclusion zone 'Week day daytime'</data>
				<reports>
					<report>
						<time>2015-06-08T10:32:48</time>
						<user>arnold</user>
						<report>Mr. Doe started his monitoring program this morning and was at home for the installation of the equipment.</report>
					</report>
				</reports>
			</event>
		</events>
	</client>
</vendorB>
