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="param1-param2-info">
 5    <xs:complexType>
 6      <xs:sequence>
 7        <xs:element maxOccurs="unbounded" ref="register"/>
 8      </xs:sequence>
 9      <xs:attribute ref="xsi:noNamespaceSchemaLocation" use="required"/>
10    </xs:complexType>
11  </xs:element>
12  <xs:element name="register">
13    <xs:complexType>
14      <xs:choice minOccurs="0" maxOccurs="unbounded">
15        <xs:element ref="service"/>
16        <xs:element ref="subservice"/>
17        <xs:element ref="apid"/>
18        <xs:choice>
19          <xs:element ref="param1-offset"/>
20          <xs:element ref="param1-width"/>
21        </xs:choice>
22        <xs:choice>
23          <xs:element ref="param2-offset"/>
24          <xs:element ref="param2-width"/>
25        </xs:choice>
26      </xs:choice>
27    </xs:complexType>
28  </xs:element>
29  <xs:element name="service" type="xs:integer"/>
30  <xs:element name="subservice" type="xs:integer"/>
31  <xs:element name="apid" type="xs:integer"/>
32  <xs:element name="param1-offset" type="xs:integer"/>
33  <xs:element name="param1-width" type="xs:integer"/>
34  <xs:element name="param2-offset" type="xs:integer"/>
35  <xs:element name="param2-width" type="xs:integer"/>
36</xs:schema>