<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Mit XMLSpy v2006 sp2 U bearbeitet (http://www.altova.com) von Gelhaus (CeWe Color) -->
<!-- Mit XMLSpy v2006 sp2 U bearbeitet (http://www.altova.com) von Gelhaus (CeWe Color) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified">
	<xs:element name="contents">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="content" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="category" type="xs:string"/>
							<xs:element name="metainformation">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="timestamps" minOccurs="0">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="created" type="xs:unsignedInt"/>
													<xs:element name="published" type="xs:unsignedInt"/>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="teaser" minOccurs="0">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="image" minOccurs="0" maxOccurs="unbounded">
														<xs:complexType>
															<xs:simpleContent>
																<xs:extension base="xs:string">
																	<xs:attribute name="orientation" type="orientationType" default="landscape"/>
																</xs:extension>
															</xs:simpleContent>
														</xs:complexType>
													</xs:element>
													<xs:element name="description" type="xs:string" minOccurs="0"/>
													<xs:element name="text" type="xs:string" minOccurs="0"/>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="eventspecific" minOccurs="0">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="footballmatch" minOccurs="0">
														<xs:complexType>
															<xs:sequence>
																<xs:element name="team" minOccurs="2" maxOccurs="2">
																	<xs:complexType>
																		<xs:simpleContent>
																			<xs:extension base="xs:string">
																				<xs:attribute name="goals" type="xs:nonNegativeInteger"/>
																			</xs:extension>
																		</xs:simpleContent>
																	</xs:complexType>
																</xs:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="type" type="xs:string" use="optional" default="footballmatch"/>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="bookversion" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="booktypes">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="booktype" type="bookType" maxOccurs="unbounded"/>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="thumbnail">
											<xs:complexType>
												<xs:attribute name="filename" type="xs:string" use="required"/>
											</xs:complexType>
										</xs:element>
										<xs:element name="description" type="xs:string"/>
										<xs:element name="templates">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="template" maxOccurs="unbounded">
														<xs:complexType>
															<xs:sequence>
																<xs:element name="pdfname" type="xs:string"/>
																<xs:element name="imagename" type="xs:string"/>
																<xs:element name="priceclass" type="xs:unsignedByte"/>
																<xs:element name="layout" minOccurs="0">
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="total">
																				<xs:complexType>
																					<xs:attribute name="width" type="xs:unsignedShort" use="required"/>
																					<xs:attribute name="height" type="xs:unsignedShort" use="required"/>
																				</xs:complexType>
																			</xs:element>
																			<xs:element name="imagearea" minOccurs="0" maxOccurs="unbounded">
																				<xs:complexType>
																					<xs:attribute name="rotation" type="xs:integer" default="0"/>
																					<xs:attribute name="top" type="xs:integer" use="required"/>
																					<xs:attribute name="left" type="xs:integer" use="required"/>
																					<xs:attribute name="bottom" type="xs:integer" use="required"/>
																					<xs:attribute name="right" type="xs:integer" use="required"/>
																					<xs:attribute name="align" type="xs:string" use="optional"/>
																				</xs:complexType>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
															</xs:sequence>
															<xs:attribute name="imagesize" type="xs:string" default="singlepage"/>
															<xs:attribute name="align" type="xs:string" use="required"/>
															<xs:attribute name="type" type="xs:string" use="required"/>
															<xs:attribute name="islocked" type="xs:boolean" default="true"/>
															<xs:attribute name="repeat" type="xs:string" use="required"/>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="orientation" type="orientationType" default="quadratic"/>
									<xs:attribute name="pathprefix" type="xs:string"/>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="theme_id" type="xs:string" use="optional" default="wm2006"/>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:simpleType name="orientationType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="quadratic"/>
			<xs:enumeration value="portrait"/>
			<xs:enumeration value="landscape"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="bookType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ALB13"/>
			<xs:enumeration value="ALB14"/>
			<xs:enumeration value="ALB15"/>
			<xs:enumeration value="ALB16"/>
			<xs:enumeration value="ALB17"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
