1<?xml version="1.0" encoding="UTF-8"?>
 2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 3  <xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="xsi.xsd"/>
 4  <xs:element name="work-order">
 5    <xs:complexType>
 6      <xs:all>
 7        <xs:element ref="category"/>
 8        <xs:element ref="activity"/>
 9        <xs:element ref="id"/>
10        <xs:element minOccurs="0" ref="sensing-start"/>
11        <xs:element minOccurs="0" ref="sensing-stop"/>
12      </xs:all>
13      <xs:attribute ref="xsi:noNamespaceSchemaLocation"/>
14    </xs:complexType>
15  </xs:element>
16  <xs:element name="category" type="xs:string"/>
17  <xs:element name="activity" type="xs:string"/>
18  <xs:element name="id" type="xs:integer"/>
19  <xs:element name="sensing-start" type="xs:dateTime"/>
20  <xs:element name="sensing-stop" type="xs:dateTime"/>
21</xs:schema>