<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="extension-definition">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="extension-info" minOccurs="0">
					<xs:complexType>
						<xs:choice minOccurs="0" maxOccurs="unbounded">
							<xs:element name="service">
								<xs:complexType>
									<xs:attribute name="interface" type="xs:string" use="required"/>
									<xs:attribute name="class" type="xs:string" use="optional"/>
								</xs:complexType>
							</xs:element>
							<xs:element name="extension-xml-handler">
								<xs:complexType>
									<xs:attribute name="id" type="xs:string" use="required"/>
									<xs:attribute name="class" type="xs:string" use="optional"/>
								</xs:complexType>
							</xs:element>
						</xs:choice>
						<xs:attribute name="class" type="xs:string" use="required"/>
						<xs:attribute name="exithandler" type="xs:boolean" use="optional"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="extension-xml" minOccurs="0" maxOccurs="unbounded">
					<xs:complexType>
						<xs:choice minOccurs="0" maxOccurs="unbounded">
							<xs:any processContents="skip"/>
						</xs:choice>
						<xs:attribute name="id" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
