<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.myherefordshire.com/schemas/EventSchema.xsd" xmlns="http://www.myherefordshire.com/schemas/EventSchema.xsd">
  <xs:simpleType name="eventCategory">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Agricultural Shows" />
      <xs:enumeration value="Arts &amp; Crafts" />
      <xs:enumeration value="Theatre, Plays &amp; Film" />
      <xs:enumeration value="Farmers Markets" />
      <xs:enumeration value="Education &amp; Courses" />
      <xs:enumeration value="Heritage &amp; History" />
      <xs:enumeration value="Parish Meetings" />
      <xs:enumeration value="Fairs &amp; Shows" />
      <xs:enumeration value="Gigs, Concerts &amp; Music" />
      <xs:enumeration value="Sport &amp; leisure" />
      <xs:enumeration value="Kids Activities" />
      <xs:enumeration value="Other" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Events">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="100" name="EventsFeed" minOccurs="0">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EventID" type="xs:string" nillable="0" />
              <xs:element name="Title" type="xs:string" nillable="0" />
              <xs:element name="SubTitle" type="xs:string" />
              <xs:element name="Locality" type="xs:string" nillable="0" />
              <xs:element name="StatusDisplayName" type="xs:string" nillable="0" />
              <xs:element name="StartDate" type="xs:string" nillable="0" />
              <xs:element name="FinishDate" type="xs:string" nillable="0" />
              <xs:element name="CategoryList">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Category" type="eventCategory" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>