<?xml version="1.0" encoding="Shift_JIS" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<xsd:element name="books">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="book" type="book_type"
					minOccurs="0" maxOccurs="unbounded" />
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required" />
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="book_type">
		<xsd:all minOccurs="0" maxOccurs="1">
			<xsd:element name="title" type="xsd:string" />
			<xsd:element name="author" type="xsd:string" />
			<xsd:element name="published" type="xsd:string" />
			<xsd:element name="price" type="xsd:positiveInteger" />
			<xsd:element name="publishDate" type="xsd:date" />
			<xsd:element name="category" type="xsd:string" />
			<xsd:element name="keywords" type="xsd:string" />
		</xsd:all>
		<xsd:attribute name="isbn" type="xsd:string" use="required" />
	</xsd:complexType>
</xsd:schema>
