base:beer_xml

Root element of all BeerXML 3 documents.

Element Information

Model

Source

<xsd:element name="beer_xml">
  <xsd:annotation>
    <xsd:documentation>Root element of all BeerXML 3 documents.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="version" type="unit:VersionType">
        <xsd:annotation>
          <xsd:documentation>Explicitly encode BeerXML version within list of records.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:choice>
        <xsd:annotation>
          <xsd:documentation>Choice of the record collection type.</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="fermentables">
          <xsd:annotation>
            <xsd:documentation>Records for any ingredient that contributes to the gravity of the beer.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="fermentable" type="ferm:FermentableType" maxOccurs="unbounded"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="miscellaneous_ingredients">
          <xsd:annotation>
            <xsd:documentation>Records for adjuncts which do not contribute to the gravity of the beer.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="miscellaneous" type="misc:MiscellaneousType" maxOccurs="unbounded"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="hop_varieties">
          <xsd:annotation>
            <xsd:documentation>Records detailing the many properties of unique hop varieties.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="hop" type="hop:VarietyInformation" maxOccurs="unbounded"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="cultures">
          <xsd:annotation>
            <xsd:documentation>Records detailing the wide array of unique yeast cultures.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="yeast" type="yeast:CultureInformation" maxOccurs="unbounded"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="profiles">
          <xsd:annotation>
            <xsd:documentation>Records for regional water profiles used in style-specific beer brewing.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="water" type="water:WaterType" maxOccurs="unbounded"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="styles">
          <xsd:annotation>
            <xsd:documentation>Records detailing the characteristics of the beer styles for which judging guidelines have been established.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="style" type="style:StyleType" maxOccurs="unbounded"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="procedure">
          <xsd:annotation>
            <xsd:documentation>A collection of steps providing process information for common mashing procedures.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="mash" type="mash:MashProcedureType" maxOccurs="unbounded"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="recipes">
          <xsd:annotation>
            <xsd:documentation>Records containing a minimal collection of the description of ingredients, procedures and other required parameters necessary to recreate a batch of beer.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="recipe" type="rec:RecipeType" maxOccurs="unbounded"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

Sample

< beer_xml xmlns = "urn:beerxml:v2" xmlns:rec = "urn:beerxml:recipe:v2" xmlns:style = "urn:beerxml:style:v2" xmlns:ferm = "urn:beerxml:fermentable:v2" xmlns:misc = "urn:beerxml:miscellaneous:v2" xmlns:yeast = "urn:beerxml:yeast:v2" xmlns:mash = "urn:beerxml:mash:v2" xmlns:step = "urn:beerxml:mash:step:v2" xsi:schemaLocation = "urn:beerxml:v2 BeerXML.v2.xsd" >

< version>

2.06

</ version>

< recipes>

< recipe>

< rec:name>

#20 1058 Medieval Ale

</ rec:name>

< rec:type>

all grain

</ rec:type>

< rec:author/>

< rec:batch_size volume = "gal" >

5.50

</ rec:batch_size>

< rec:boil_size volume = "gal" >

5.50

</ rec:boil_size>

< rec:boil_time duration = "min" >

90.0

</ rec:boil_time>