blob: 03324ebff055d2f5ed0936f28b30e49457a639f7 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.eclipse.org/webtools/books" xmlns:tns="http://www.eclipse.org/webtools/books">
<element name="books">
<complexType>
<choice>
<element ref="tns:book" minOccurs="0" maxOccurs="unbounded"></element>
</choice>
</complexType>
</element>
<element name="book">
<complexType>
<choice>
<element ref="tns:publisher" minOccurs="1" maxOccurs="1"/>
<element ref="tns:author" minOccurs="1" maxOccurs="unbounded"></element>
</choice>
<attribute name="title" type="string" use="required"></attribute>
<attribute name="link" type="anyURI" use="optional"></attribute>
<attribute name="image" type="anyURI" use="optional"></attribute>
<attribute name="publicationDate" type="date" use="required"></attribute>
</complexType>
</element>
<element name="publisher">
<complexType>
<attribute name="name" type="string" use="required"></attribute>
<attribute name="link" type="anyURI" use="optional"></attribute>
</complexType>
</element>
<element name="author">
<complexType>
<attribute name="name" type="string" use="required"></attribute>
<attribute name="bioPage" type="anyURI" use="optional"></attribute>
</complexType>
</element>
</schema>