<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<xsd:element name="recipe" type="RecipeType"/>
	<xsd:complexType name="RecipeType">
		 <xsd:sequence>
			
			<xsd:element name="steps" type="StepsType" />
		</xsd:sequence>
		<xsd:attribute name="name" type="xsd:string"/>
		<xsd:attribute name="description" type="xsd:string" />
	</xsd:complexType>
	
	
	<xsd:complexType name="IngredientsType">
		<xsd:sequence>
			<xsd:element name="ingredient" type="IngredientType" maxOccurs="unbounded"/>
		</xsd:sequence>
		
	</xsd:complexType>
	
	
	<xsd:complexType name="StepsType">
		<xsd:sequence>
			<xsd:element name="step" type="StepType" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	
	
	<xsd:complexType name="IngredientType">
		<xsd:attribute name="index" type="xsd:positiveInteger"/>
		<xsd:attribute name="description" type="xsd:string"/>
		<xsd:attribute name="amount" type="xsd:string"/>
	</xsd:complexType>
	
	
	<xsd:complexType name="StepType">
		<xsd:attribute name="index" type="xsd:positiveInteger"/>
		<xsd:attribute name="description" type="xsd:string"/>
	</xsd:complexType>
</xsd:schema>

