<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:coord="http://www.ismobile.com/coordinator/2006/operations/cwi/update_wo/" targetNamespace="http://www.ismobile.com/coordinator/2006/operations/cwi/update_wo/" elementFormDefault="qualified">
	<xs:attribute name="target" type="xs:string"/>
	<xs:attribute name="type" type="xs:string"/>
	<xs:element name="createifnotexists">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="bool"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="useglobalid">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="bool"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="newcompanyid" type="xs:string" nillable="false"/>
	<xs:element name="eventname" type="xs:string" nillable="false"/>
	<xs:element name="reportedby" type="xs:string" nillable="false"/>
	<xs:element name="timestamp" nillable="false">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="datetime"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="event">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:eventname"/>
				<xs:element ref="coord:reportedby"/>
				<xs:element ref="coord:timestamp" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="altitude">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="real"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="open">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="bool"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="assignmentworkflow" type="xs:string" nillable="false"/>
	<xs:element name="block">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:information" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:block" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute name="name" type="xs:string" use="required"/>
			<xs:attribute name="number" type="xs:integer" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="xpath" type="xs:string" nillable="false"/>
	<xs:element name="city" type="xs:string"/>
	<xs:element name="companyid" type="xs:string" nillable="false"/>
	<xs:element name="country" type="xs:string"/>
	<xs:element name="addcustomxml">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:xpath"/>
				<xs:element ref="coord:data"/>
			</xs:sequence>
			<xs:attribute ref="coord:type" use="required" fixed="struct"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="updatecustomxml">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:xpath"/>
				<xs:element ref="coord:data"/>
			</xs:sequence>
			<xs:attribute ref="coord:type" use="required" fixed="struct"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="removecustomxml">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:xpath"/>
			</xs:sequence>
			<xs:attribute ref="coord:type" use="required" fixed="struct"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="newXML">
		<xs:complexType>
			<xs:choice>
				<xs:element ref="coord:information"/>
				<xs:element ref="coord:block"/>
				<xs:element ref="coord:informationlist"/>
				<xs:element ref="coord:blocklist"/>
				<xs:element ref="coord:options"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="update">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:createifnotexists" minOccurs="0"/>
				<xs:element ref="coord:useglobalid" minOccurs="0"/>
				<xs:element ref="coord:woid"/>
				<xs:element ref="coord:companyid"/>
				<xs:element ref="coord:newcompanyid" minOccurs="0"/>
				<xs:element ref="coord:wotype" minOccurs="0"/>
				<xs:element ref="coord:title" minOccurs="0"/>
				<xs:element ref="coord:description" minOccurs="0"/>
				<xs:element ref="coord:wogroup" minOccurs="0"/>
				<xs:element ref="coord:priority" minOccurs="0"/>
				<xs:element ref="coord:resgroup" minOccurs="0"/>
				<xs:element ref="coord:startafter" minOccurs="0"/>
				<xs:element ref="coord:endbefore" minOccurs="0"/>
				<xs:element ref="coord:promstart" minOccurs="0"/>
				<xs:element ref="coord:promend" minOccurs="0"/>
				<xs:element ref="coord:location" minOccurs="0"/>
				<xs:element ref="coord:workitem" maxOccurs="unbounded"/>
				<xs:element ref="coord:note" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:addcustomxml" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:updatecustomxml" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:removecustomxml" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:data" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute ref="coord:target" use="required" fixed="workorder"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="script">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base="xs:string">
					<xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="createdby" type="xs:string" nillable="false"/>
	<xs:element name="customXML">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:informationlist"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="data">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:customXML" minOccurs="0"/>
				<xs:element ref="coord:newXML" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="description" type="xs:string"/>
	<xs:element name="duration" nillable="false">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="int"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="endbefore">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="datetime"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="flatnr" type="xs:string"/>
	<xs:element name="header">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:messageid"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="housenr" type="xs:string"/>
	<xs:element name="information">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base="xs:string">
					<xs:attribute name="name" type="xs:string" use="required"/>
					<xs:attribute name="value" type="xs:string" use="optional"/>
					<xs:attribute name="std" type="xs:boolean" use="optional"/>
					<xs:attribute name="id" type="xs:string" use="optional"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="blocklist">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:block" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="options">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="option" maxOccurs="unbounded">
					<xs:complexType>
						<xs:attribute name="name" type="xs:string" use="required"/>
						<xs:attribute name="options" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="informationlist">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:information" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:blocklist" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:options" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:script" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="instruction" type="xs:string"/>
	<xs:element name="latitude">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="real"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="floornr" type="xs:string"/>
	<xs:element name="location">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:locname" minOccurs="0"/>
				<xs:element ref="coord:country" minOccurs="0"/>
				<xs:element ref="coord:straddress" minOccurs="0"/>
				<xs:element ref="coord:city" minOccurs="0"/>
				<xs:element ref="coord:zipcode" minOccurs="0"/>
				<xs:element ref="coord:region" minOccurs="0"/>
				<xs:element ref="coord:latitude" minOccurs="0"/>
				<xs:element ref="coord:longitude" minOccurs="0"/>
				<xs:element ref="coord:altitude" minOccurs="0"/>
				<xs:element ref="coord:flatnr" minOccurs="0"/>
				<xs:element ref="coord:floornr" minOccurs="0"/>
				<xs:element ref="coord:housenr" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute ref="coord:type" use="required" fixed="struct"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="locname" type="xs:string"/>
	<xs:element name="longitude">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="real"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="messageid" type="xs:string"/>
	<xs:element name="multipleassignments">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="bool"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="note">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:noteid"/>
				<xs:element ref="coord:createdby"/>
				<xs:element ref="coord:type"/>
				<xs:element ref="coord:text"/>
			</xs:sequence>
			<xs:attribute ref="coord:type" use="required" fixed="struct"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="noteid" type="xs:string" nillable="false"/>
	<xs:element name="operation">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:header" minOccurs="0"/>
				<xs:element ref="coord:update"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="previous" type="xs:string"/>
	<xs:element name="priority" nillable="false">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="int"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="promend">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="datetime"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="promstart">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="datetime"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="region" type="xs:string"/>
	<xs:element name="reportdefid" type="xs:string"/>
	<xs:element name="reportdefs">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:reportdefid" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute ref="coord:type" use="required" fixed="array"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="reqskills" type="xs:string"/>
	<xs:element name="resgroup" type="xs:string"/>
	<xs:element name="servobjid" type="xs:string"/>
	<xs:element name="startafter">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="datetime"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="straddress" type="xs:string"/>
	<xs:element name="text" type="xs:string" nillable="false"/>
	<xs:element name="title" type="xs:string"/>
	<xs:element name="type" type="xs:string" nillable="false"/>
	<xs:element name="wogroup" type="xs:string"/>
	<xs:element name="status" type="xs:string"/>
	<xs:element name="woid" type="xs:string" nillable="false"/>
	<xs:element name="productid" type="xs:string"/>
	<xs:element name="productname" type="xs:string"/>
	<xs:element name="wipriority" type="xs:string"/>
	<xs:element name="wigroup" type="xs:string"/>
	<xs:element name="quantity">
		<xs:complexType mixed="true">
			<xs:attribute ref="coord:type" use="required" fixed="real"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="workitem">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="coord:workitemid"/>
				<xs:element ref="coord:servobjid" minOccurs="0"/>
				<xs:element ref="coord:reqskills" minOccurs="0"/>
				<xs:element ref="coord:previous" minOccurs="0"/>
				<xs:element ref="coord:assignmentworkflow" minOccurs="0"/>
				<!-- REMOVE FOR ET -->
				<xs:element ref="coord:instruction" minOccurs="0"/>
				<xs:element ref="coord:duration" minOccurs="0"/>
				<!-- REMOVE FOR ET -->
				<xs:element ref="coord:type" minOccurs="0"/>
				<xs:element ref="coord:startafter" minOccurs="0"/>
				<xs:element ref="coord:endbefore" minOccurs="0"/>
				<xs:element ref="coord:productid" minOccurs="0"/>
				<xs:element ref="coord:productname" minOccurs="0"/>
				<xs:element ref="coord:quantity" minOccurs="0"/>
				<xs:element ref="coord:wigroup" minOccurs="0"/>
				<xs:element ref="coord:wipriority" minOccurs="0"/>
				<xs:element ref="coord:status" minOccurs="0"/>
				<xs:element ref="coord:multipleassignments" minOccurs="0"/>
				<xs:element ref="coord:open" minOccurs="0"/>
				<xs:element ref="coord:reportdefs" minOccurs="0"/>
				<!-- REMOVE FOR ET -->
				<xs:element ref="coord:location" minOccurs="0"/>
				<xs:element ref="coord:addcustomxml" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:updatecustomxml" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:removecustomxml" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="coord:event" minOccurs="0"/>
				<xs:element ref="coord:data" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute ref="coord:type" use="required" fixed="struct"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="workitemid" type="xs:string" nillable="false"/>
	<xs:element name="wotype" type="xs:string" nillable="false"/>
	<xs:element name="zipcode" type="xs:string"/>
</xs:schema>
