<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:include schemaLocation="image.xsd"/>
	<xs:include schemaLocation="sponsor.xsd"/>
	<xs:include schemaLocation="course.xsd"/>
	<xs:include schemaLocation="content.xsd"/>
	<xs:include schemaLocation="format.xsd"/>
	<xs:element name="recipe">
		<xs:annotation>
			<xs:documentation>FFES Recipe</xs:documentation>
		</xs:annotation>
		
		<xs:complexType>
			<xs:sequence>
				<xs:element name="title" type="htmlText"/>
				<xs:element name="description" type="htmlText"/>
				<xs:element name="ingredients" type="htmlText"/>
				<xs:element name="preparation" type="htmlText"/>
				<xs:element name="nutrition" type="htmlText"/>
				<xs:element name="serves" type="htmlText"/>
				<xs:element name="calories" type="htmlText"/>
				<xs:element name="totalFat" type="htmlText"/>
				<xs:element name="cholesterol" type="htmlText"/>
				<xs:element name="sodium" type="htmlText"/>
				<xs:element name="carbs" type="htmlText"/>
				<xs:element name="protien" type="htmlText"/>
				<xs:element name="timeType1" type="htmlText"/>
				<xs:element name="time1" type="htmlText"/>
				<xs:element name="timeType2" type="htmlText"/>
				<xs:element name="time2" type="htmlText"/>
				<xs:element name="timeType3" type="htmlText"/>
				<xs:element name="time3" type="htmlText"/>
				<xs:element name="timeType4" type="htmlText"/>
				<xs:element name="time4" type="htmlText"/>
				<xs:element name="timeType5" type="htmlText"/>
				<xs:element name="time5" type="htmlText"/>
			    <xs:element name="ingredientsImage" ref="image" />
				<xs:element name="preparationImage" ref="image" />
				<xs:element name="nutritionImage" ref="image" />
				<xs:element name="servesImage" ref="image" />
				<xs:element name="variationsImage" ref="image" />
			    <xs:sequence maxOccurs="unbounded">
					<xs:element ref="sponsor"/>
				</xs:sequence>
				<xs:sequence maxOccurs="unbounded">
					<xs:element ref="course"/>
				</xs:sequence>
				<xs:sequence maxOccurs="unbounded">
					<xs:element ref="recipe"/>
				</xs:sequence>
			</xs:sequence>
			<xs:attribute name="id" type="xs:integer" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>

