<?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns="http://www.lapetus-ltd.com/2009/xml/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.lapetus-ltd.com/2009/xml/types" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.5.0"> <xsd:annotation> <xsd:documentation> Some documentation for the reader ... </xsd:documentation> </xsd:annotation> <!-- REFERENCES OTHER DEFINITIONS --> <xsd:include schemaLocation="base_types.xsd"/> <!-- EXAMPLES OF A SIMPLE TYPE THAT IS USED BELOW --> <xsd:simpleType name="XLptsIdentifierType"> <xsd:annotation> <xsd:documentation> THIS DOCUMENTATION APPEARS IN THE REGENERATE JAVA CLASS </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}"/> </xsd:restriction> </xsd:simpleType> <!-- EXAMPLES OF A COMPLEX TYPE THAT IS USED IN ANOTHER COMPLEX TYPE --> <xsd:complexType name="XLptsCodeEntryType"> <xsd:annotation> <xsd:documentation> THIS DOCUMENTATION APPEARS IN THE REGENERATE JAVA CLASS </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="uniqueTitle" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="code" type="xsd:string" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="XLptsCodeTemplateType"> <xsd:annotation> <xsd:documentation> THIS DOCUMENTATION APPEARS IN THE REGENERATE JAVA CLASS </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="id" type="XLptsIdentifierType" minOccurs="1" maxOccurs="1"/> <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="entry" type="XLptsCodeEntryType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> <xsd:element name="XLptsCodeTemplateType" xml:base="XLptsCodeTemplateType"/> <xsd:element name="XLptsCodeEntryType" xml:base="XLptsCodeEntryType"/> </xsd:schema>