<featureGroup>
  <!-- =========== Amenity ============ -->

  <feature name="Fire station">
    <category>amenity</category>
    <icon image="features/pois/amenity_firestation2.n.24.png"/>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfire_station</help>
    <point/>
    <tag k="amenity" v="fire_station"/>
    <inputSet ref="simpleName" />
    <inputSet ref="common"/>
  </feature>


  <feature name="Police Station">
    <category>amenity</category>
    <icon image="features/pois/amenity_police2.n.24.png"/>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpolice</help>
    <point/>
    <area/>
    <tag k="amenity" v="police"/>
    <inputSet ref="simpleName"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Library">
    <category>amenity</category>
    <icon image="features/pois/amenity_library.n.24.png">
      ${name}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dlibrary</help>
    <point/>
    <area/>
    <tag k="amenity" v="library"/>
    <inputSet ref="simpleName"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Hospital">
    <category>amenity</category>
    <icon image="features/pois/health_hospital.n.24.png"/>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dhospital</help>
    <point/>
    <area/>
    <tag k="amenity" v="hospital"/>
    <inputSet ref="simpleName"/>
    <input type="choice" presence="always" category="Details" name="Emergency treatment available" key="emergency" description="Are there accident and emergency facilities at this hospital?">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <inputSet ref="common"/>
  </feature>

  <feature name="Veterinarian">
    <category>amenity</category>
    <icon image="features/pois/health_veterinary.n.8E7409.24.png">
      ${name}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dveterinary</help>
    <point/>
    <area/>
    <tag k="amenity" v="veterinary"/>
    <inputSet ref="names"/>
    <inputSet ref="web"/>
    <inputSet ref="buildingAddress"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Place of Worship">
    <category>amenity</category>
    <icon image="features/pois/place_of_worship_unknown.n.24.png"/>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dplace_of_worship</help>
    <point/>
    <tag k="amenity" v="place_of_worship"/>
    <inputSet ref="simpleName" />
    <input type="choice" presence="always" category="Details" name="Religion" key="religion" description="The religion worshipped here.">
      <choice value="christian" text="Christianity (church)"/>
      <choice value="jewish" text="Judaism (synagogue)"/>
      <choice value="muslim" text="Islam (mosque)"/>
      <choice value="hindu" text="Hinduism (temple)"/>
      <choice value="buddhist" text="Buddhism (temple)"/>
      <choice value="sikh" text="Sikhism (gurdwara)"/>
      <choice value="shinto" text="Shinto (shrine)"/>
    </input>

    <input type="freetext" presence="always" category="Details" name="denomination" key="denomination" description="The denomination of the religion worshiped here." priority="low"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="ATM">
    <category>amenity</category>
    <icon image="features/pois/money_atm.n.24.png"/>
    <help>http://wiki.openstreetmap.org/wiki/Atm</help>
    <point/>
    <tag k="amenity" v="atm"/>
    <input type="freetext" presence="always" category="Details" name="Operator" key="operator" description="The organisation that provides this ATM" priority="low"/>
    <input type="freetext" presence="always" category="Details" name="Fee" key="fee" description="Is there a charge for using this ATM? If so how much?"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Bank">
    <category>amenity</category>
    <icon image="features/pois/money_bank2.n.24.png">
      ${name}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbank</help>
    <point/>
    <tag k="amenity" v="bank"/>
    <inputSet ref="names"/>
    <inputSet ref="buildingAddress"/>
    <input type="choice" presence="always" category="Details" name="Public ATM available" key="atm" description="Is there a public ATM available?">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <inputSet ref="common"/>
  </feature>


  <feature name="Recycling">
    <category>amenity</category>
    <icon image="features/pois/amenity_recycling.n.24.png"/>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Drecycling</help>
    <point/>
    <area/>
    <tag k="amenity" v="recycling"/>
    <inputSet ref="simpleName"/>
    <input type="choice" presence="always" category="Details" name="Type of facility" key="recycling_type" description="Is this containers in a rural area or at an manned facility?" priority="high">
      <choice value="container" text="Container"/>
      <choice value="centre" text="Recycling centre"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Batteries" key="recycling:batteries" description="Small batteries for household appliances" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Books" key="recycling:books" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Cans" key="recycling:cans" description="Metal cans and other small metal packaging" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Cardboard" key="recycling:cardboard" description="I.e. large pieces of packaging" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Cartons" key="recycling:cartons" description="Packaging for groceries, i.e. milk cartons" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Clothes" key="recycling:clothes" description="Clothes, including shoes" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Electrical appliances" key="recycling:electrical_appliances" description="Larger electrical items, i.e. refrigerators, freezers, dishwashers" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Glass" key="recycling:glass" description="I.e glass sheets" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Glass bottles" key="recycling:glass_bottles" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Green waste" key="recycling:green_waste" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Magazines" key="recycling:magazines" description="Magazines (glossy pages)" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Newspaper" key="recycling:newspaper" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Paper" key="recycling:paper" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Paper packaging" key="recycling:paper_packaging" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Plastic" key="recycling:plastic" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Plastic bottles" key="recycling:plastic_bottles" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Plastic packaging" key="recycling:plastic_packaging" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Scrap metal" key="recycling:scrap_metal" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Small appliances" key="recycling:small_appliances" description="Small electrical appliances, i.e. walkman, power adapter, remote control" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Waste" key="recycling:waste" description="General waste (black bags)" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <input type="choice" presence="onTagMatch" category="Details" name="Wood" key="recycling:wood" description="" priority="low">
      <choice value="yes" text="Yes"/>
      <choice value="no" text="No"/>
    </input>
    <inputSet ref="common"/>
  </feature>

  <feature name="School">
    <category>amenity</category>
    <icon image="features/pois/education_school.n.24.png">
      ${name}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dschool</help>
    <point/>
    <tag k="amenity" v="school"/>
    <inputSet ref="names"/>
    <inputSet ref="buildingAddress"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Kindergarten">
    <category>amenity</category>
    <category>buildings</category>
    <icon image="features/pois/education_nursery3.n.24.png">
      ${name}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dkindergarten</help>
    <point/>
    <tag k="amenity" v="kindergarten"/>
    <inputSet ref="names"/>
    <inputSet ref="buildingAddress"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Town hall">
    <category>amenity</category>
    <icon image="features/pois/amenity_town_hall.n.24.png">
      ${name}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dtownhall</help>
    <point/>
    <tag k="amenity" v="townhall"/>
    <inputSet ref="names"/>
    <inputSet ref="buildingAddress"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Post Box">
    <category>amenity</category>
    <icon image="features/pois/amenity_post_box.n.24.png">
      ${ref}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Post_box</help>
    <point/>
    <tag k="amenity" v="post_box"/>
    <input type="freetext" presence="always" category="Details" name="Ref" key="ref" description="Reference number of the post box"/>
    <input type="freetext" presence="always" category="Details" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Post Office">
    <category>amenity</category>
    <category>buildings</category>
    <icon image="features/pois/amenity_post_office.n.24.png">
      ${name}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity=post_office</help>
    <point/>
    <area/>
    <tag k="amenity" v="post_office"/>
    <input type="freetext" presence="always" category="Details" name="Ref" key="ref" description="Reference number of the post office"/>
    <input type="freetext" presence="always" category="Details" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
    <inputSet ref="common"/>
    <inputSet ref="simpleName"/>
  </feature>

  <feature name="Trash/rubbish bin">
    <category>amenity</category>
    <icon image="features/pois/amenity_waste_bin.n.24.png">
      ${ref}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity=waste_basket</help>
    <point/>
    <tag k="amenity" v="waste_basket"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Toilets">
    <category>amenity</category>
    <icon image="features/pois/amenity_toilets.n.24.png">
      ${ref}
    </icon>
    <point/>
    <tag k="amenity" v="toilets"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Water fountain">
    <category>amenity</category>
    <category>foodanddrink</category>
    <icon image="features/pois/food_drinkingtap.n.24.png">
      ${ref}
    </icon>
    <point/>
    <tag k="amenity" v="drinking_water"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Shelter">
    <category>amenity</category>
    <icon image="features/pois/accommodation_shelter2.n.24.png">
      ${name}
    </icon>    
    <point/>
    <area/>
    <tag k="amenity" v="shelter"/>
    <input type="choice" presence="always" name="Type of shelter" key="shelter_type" description="The intended use of the shelter.">
      <choice value="picnic_shelter" text="Picnic shelter"/>
      <choice value="public_transport" text="Public transport"/>
      <choice value="weather_shelter" text="Weather shelter"/>
      <choice value="wildlife_hide" text="Wildlife hide"/>
    </input>
    <inputSet ref="names"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Barbecue">
    <category>amenity</category>
    <icon image="features/pois/tourist_picnic.n.24.png"/>
    <!-- specific icon needed -->
    <point/>
    <tag k="amenity" v="bbq"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Hunting stand">
    <category>sport</category>
    <icon image="features/pois/sport_shooting.n.24.png"/>
    <point/>
    <tag k="amenity" v="hunting_stand"/>
    <inputSet ref="common"/>
    <inputSet ref="names"/>
  </feature>


  <feature name="Park bench">
    <category>amenity</category>
    <icon image="features/pois/amenity_bench.n.24.png" />
    <point/>
    <tag k="amenity" v="bench"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Public telephone">
    <category>amenity</category>
    <icon image="features/pois/amenity_telephone.n.24.png" />
    <point/>
    <tag k="amenity" v="telephone"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Emergency phone">
    <category>amenity</category>
    <icon image="features/pois/emergency-telephone-24.png" />
    <!-- icon from http://www.clker.com/clipart-emergency-telephone-blue.html, feel free to (re)move this notice -->
    <point/>
    <tag k="amenity" v="emergency_phone"/>
    <inputSet ref="common"/>
    <input type="freetext" presence="always" category="Details" name="Ref" key="ref" description="Reference number of emergency phone."/>    
  </feature>


  <feature name="Swimming pool">
    <category>amenity</category>
    <category>sport</category>
    <icon image="features/pois/sport_swimming_outdoor.n.24.png">
      ${name}
    </icon>
    <point/>
    <area/>
    <tag k="amenity" v="swimming_pool"/>
    <tag k="sport" v="swimming"/>
    <inputSet ref="simpleName"/>    
    <inputSet ref="common"/>
    <inputSet ref="permissions"/>
    <input type="choice" presence="always" name="Indoor" key="covered" description="Indoor or outdoor?">
      <choice value="yes" text="Indoor"/>
      <choice value="no" text="Outdoor"/>
    </input>
    <input type="freetext" presence="onTagMatch" category="Details" name="Operator" key="operator" description="The organisation that runs the swimming pool." />    

  </feature>

  <feature name="Fountain">
    <category>amenity</category>
    <icon image="features/pois/amenity_fountain2.n.24.png">
    ${name}
    </icon>
    <point/>
    <tag k="amenity" v="fountain"/>
    <inputSet ref="common"/>
    <inputSet ref="simpleName"/>
  </feature>

  <feature name="Vending machine">
    <category>amenity</category>
    <category>foodanddrink</category>
    <icon image="features/pois/shopping_vending_machine.n.24.png">A vending machine.</icon>

    <point/>
    <tag k="amenity" v="vending_machine"/>
    <inputSet ref="common"/>
    <inputSet ref="simpleName"/>
    <input type="freetext" presence="always" name="Product" key="vending" description="What is being sold: tickets, food, maps..."/>
    <inputSet ref="simpleOperator" />
    <inputSet ref="payments"/>
  </feature>

  <!-- ========= Entertainment ========= -->

  <feature name="Pub">
    <category>foodanddrink</category>
    <icon image="features/pois/food_pub.n.24.png">
      ${name}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpub</help>
    <point/>
    <tag k="amenity" v="pub"/>
    <inputSet ref="names"/>
    <inputSet ref="web"/>
    <inputSet ref="buildingAddress"/>
    <inputSet ref="wifi"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Bar">
    <category>foodanddrink</category>
    <icon image="features/pois/food_bar.n.24.png">
      ${name}
    </icon>
    <point/>
    <tag k="amenity" v="bar"/>
    <inputSet ref="names"/>
    <inputSet ref="web"/>
    <inputSet ref="buildingAddress"/>
    <inputSet ref="wifi"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Restaurant">
    <category>foodanddrink</category>
    <icon image="features/pois/food_restaurant.n.24.png">
      ${name}
    </icon>
    <point/>
    <tag k="amenity" v="restaurant"/>
    <inputSet ref="names"/>
    <inputSet ref="web"/>
    <inputSet ref="buildingAddress"/>
    <inputSet ref="cuisine"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Cafe">
    <category>foodanddrink</category>
    <icon image="features/pois/food_cafe.n.24.png">
      ${name}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcafe</help>
    <point/>
    <tag k="amenity" v="cafe"/>
    <inputSet ref="names"/>
    <inputSet ref="web"/>
    <inputSet ref="buildingAddress"/>
    <inputSet ref="cuisine"/>
    <inputSet ref="wifi"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Fast Food">
    <category>foodanddrink</category>
    <icon image="features/pois/food_fastfood.n.24.png">
      ${name}
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfast_food</help>
    <point/>
    <tag k="amenity" v="fast_food"/>
    <inputSet ref="names"/>
    <inputSet ref="web"/>
    <inputSet ref="buildingAddress"/>
    <inputSet ref="cuisine"/>
    <inputSet ref="common"/>
  </feature>
 

  <feature name="Nightclub">
    <category>foodanddrink</category>
    <category>sport</category>
    <icon image="features/pois/food_nightclub.n.24.png">
      ${name}
    </icon>
    <point/>
    <tag k="amenity" v="nightclub"/>
    <inputSet ref="names"/>
    <inputSet ref="web"/>
    <inputSet ref="buildingAddress"/>
    <inputSet ref="wifi"/>
    <inputSet ref="common"/>
  </feature>
  
</featureGroup>