<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:tns="http://ws.traserv.com/travelsearch/accommodatieinfo" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.1" targetNamespace="http://ws.traserv.com/travelsearch/accommodatieinfo" elementFormDefault="qualified">
	<xs:annotation>
		<xs:documentation xml:lang="en"> This xsd describes the format of accommodation
			information in the TravelSearch SearchAndFind web-service, an xml document of
			this format is added as description within the AccommodationInfo object in the
			'description' field, next too this information the object contains ster /
			touroperator / picture and location information.
                        New in v1.0.1: The BR tag is now allowed in the simplehtml content type.
                        New in v1.0.2: The BR/ tag is now allowed in the simplehtml content type.
                        New in v1.0.3: The description tag can now optionally have an language identifier
                        New in v1.0.4: simplehtml now allows table,tr,th,td tags, td tags support the colspan/rowspan attributes
						New in v1.0.5: added optional attribute unavailable to the main accommodationinfo tag
						New in v1.0.6: added description type 'unit'
						New in v1.1: Added description attribute typeId, added optional description element unitDetails
        </xs:documentation>
		<xs:documentation xml:lang="nl"> Deze xsd beschrijft het formaat voor de
			accommodatie info binnen de TravelSearch SearchAndFind web-service, een xml
			document van dit formaat worden toegevoegd als description binnen het
			AccommodationInfo object in het 'description' veld, dit object bevat naast
			deze informatie, ster / touroperator / afbeelding en afbeeldingen informatie.
                        Nieuw in v1.0.1: De BR tag is nu toegestaan in het simplehtml inhoudstype.
                        Nieuw in v1.0.2: De BR/ tag is nu toegestaan in het simplehtml inhoudstype.
                        Nieuw in v1.0.3: The description tag heeft nu optioneel een taal identifier.
                        Nieuw in v1.0.4: simplehtml staat nu table,tr,th,td tags toe, td tags ondersteunen de colspan/rowspan attributen
						Nieuw in v1.0.5: Optioneel boolean attribute unavailable aan de hoofd accommodationinfo tag toegevoegd
						Nieuw in v1.0.6: description type 'unit' toegevoegd.
						Nieuw in v1.1: description typeId attribuut toegevoegd, optioneel element unitDetails aan description toegevoegd.
        </xs:documentation>
	</xs:annotation>
	<xs:complexType name="accommodationinfo">
		<xs:sequence>
			<xs:attribute name="unavailable" type="xs:boolean" use="optional">
				<xs:annotation>
					<xs:documentation xml:lang="en"> When set to true there currently is no content unavailable for this accommodation, requesters should try again later.</xs:documentation>
					<xs:documentation xml:lang="nl"> Wanneer op 'true' ingesteld, dan is er momenteel geen content beschikbaar voor de accommodatie, aanvragers kunnen het later nogmaals proberen.</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:element maxOccurs="1" minOccurs="1" name="name" type="tns:plaintext"/>
			<xs:element maxOccurs="1" minOccurs="0" name="accommodationtype">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="tns:plaintext">
							<xs:attribute name="code" type="xs:string" use="optional">
								<xs:annotation>
									<xs:documentation xml:lang="en"> This element
										describes the accommodation type
                                    </xs:documentation>
									<xs:documentation xml:lang="nl"> Dit element
										beschrijft het accommodatie type
                                    </xs:documentation>
								</xs:annotation>
							</xs:attribute>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
			<xs:element maxOccurs="1" minOccurs="0" name="classifications" type="tns:classifications"/>
			<xs:element maxOccurs="1" minOccurs="0" name="location" type="tns:location"/>
			<xs:element maxOccurs="1" minOccurs="0" name="descriptions" type="tns:descriptions"/>
			<xs:element maxOccurs="1" minOccurs="0" name="properties" type="tns:properties"/>
			<xs:element maxOccurs="1" minOccurs="0" name="media" type="tns:media"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="location">
		<xs:annotation>
			<xs:documentation xml:lang="en">Optional element, to indicate the
				location.</xs:documentation>
			<xs:documentation xml:lang="nl">Optioneel element om de locatie aan te
				geven.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element maxOccurs="1" minOccurs="0" name="country" type="tns:plaintext">
			</xs:element>
			<xs:element maxOccurs="1" minOccurs="0" name="district" type="tns:plaintext">
			</xs:element>
			<xs:element maxOccurs="1" minOccurs="0" name="place" type="tns:plaintext">
			</xs:element>
			<xs:element maxOccurs="1" minOccurs="0" name="gpslocation" type="tns:plaintext">
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="classifications">
		<xs:annotation>
			<xs:documentation xml:lang="en"> classifications is a collection of
				classification elements.</xs:documentation>
			<xs:documentation xml:lang="nl"> classifications is een verzameling van
				classification elementen.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element maxOccurs="unbounded" minOccurs="1" name="classification">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="tns:plaintext">
							<xs:annotation>
								<xs:documentation xml:lang="en">A classification of
									this accommodation, made by the specified
									supplier. </xs:documentation>
								<xs:documentation xml:lang="nl">Een classificatie
									van een accommodatie representeert, gemaakt door
									de aangegeven aanbieder. </xs:documentation>
							</xs:annotation>
							<xs:attribute name="unit" type="xs:string" use="required">
								<xs:annotation>
									<xs:documentation xml:lang="en"> This property defines
										the unit of this classification, for instance
										'stars'.</xs:documentation>
									<xs:documentation xml:lang="nl"> Dit attribute
										definieert de eenheid van deze classificatie,
										bijvoorbeeld 'sterren'.</xs:documentation>
								</xs:annotation>
							</xs:attribute>
							<xs:attribute name="suppliedby" type="xs:string" use="optional">
								<xs:annotation>
									<xs:documentation xml:lang="en"> This property defines
										the supplier of this information. </xs:documentation>
									<xs:documentation xml:lang="nl"> Dit attribute
										definieert de eenheid die deze informatie heeft
										verschaft. </xs:documentation>
								</xs:annotation>
							</xs:attribute>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="descriptions">
		<xs:annotation>
			<xs:documentation xml:lang="en"> descriptions is a collection description
				elements, which represent a description of the location or accommodation.
            </xs:documentation>
			<xs:documentation xml:lang="nl"> descriptions is een verzameling van
				description element, die een beschrijving een een locatie of accommodatie
				representeren. </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element maxOccurs="unbounded" name="description" type="tns:description"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="properties">
		<xs:annotation>
			<xs:documentation xml:lang="en"> properties is a collection property
				elements, which can represent properties of the location or
				accommodation, facilities available in the accommodation or in a park
				surrounding the accommodation. </xs:documentation>
			<xs:documentation xml:lang="nl"> properties is een verzameling property
				elementen, deze kunnen eigenschappen van de locatie of accommodatie
				representeren, of faciliteiten beschikbaar in de accommodatie of in een
				park waarin de accommodatie zich bevind. </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element maxOccurs="unbounded" name="property" type="tns:property"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="media">
		<xs:annotation>
			<xs:documentation xml:lang="en"> media is a collection of images and
				videos.</xs:documentation>
			<xs:documentation xml:lang="nl"> media is een verzameling van afbeeldingen
				en videos.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element maxOccurs="unbounded" minOccurs="0" name="image" type="tns:image"/>
			<xs:element maxOccurs="unbounded" minOccurs="0" name="video" type="tns:video"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="description">
		<xs:annotation>
			<xs:documentation xml:lang="en"> descriptions are divided into 1 or more
				part, these parts can be used as a hint to split your text into paragraphs,
				please provide adequate spacing when you decide to concatenate all parts.
            </xs:documentation>
			<xs:documentation xml:lang="nl"> descriptions zijn opgedeeld in 1 of meer
				part's, deze 'parts' (delen) kunnen gebruikt worden als hint bij het
				opdelen van de text in paragrafen, gebruik voldoende spati‘ring indien u
				besluit de delen achter elkaar te plaatsen. </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element maxOccurs="1" minOccurs="0" name="parts" type="tns:parts">
			</xs:element>
			<xs:element maxOccurs="1" minOccurs="0" name="images" type="tns:images">
				<xs:annotation>
					<xs:documentation xml:lang="en">Contains images specifically
						related to this description, all other images are placed in the
						media section.</xs:documentation>
					<xs:documentation xml:lang="nl">Bevat afbeelding die specifiek
						gerelateerd zijn aan deze beschrijving, alle overige
						afbeeldingen worden in de media sectie
						geplaatst.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="1" minOccurs="0" name="unitDetails" type="tns:unitDetails">
			</xs:element>
		</xs:sequence>
		<xs:attribute name="type" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="general"/>
					<xs:enumeration value="accommodation"/>
					<xs:enumeration value="shortdescription"/>
					<xs:enumeration value="location"/>
					<xs:enumeration value="unit"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="typeId" type="xs:string" use="optional">
			<xs:documentation xml:lang="en">Provide more info on the description, for description type unit, this could contain a unit_id, to better reference the unit.</xs:documentation>
			<xs:documentation xml:lang="nl">Geef meer informatie in de description. Voor een description van het type unit kan dit bijvoorbeeld een unit_id bevatten, zodat de betreffende unit beter kan worden aangeduid.</xs:documentation>
		</xs:attribute>
		<xs:attribute name="season" use="optional">
			<xs:annotation>
				<xs:documentation xml:lang="en"> season, indicates whether this is a
					summer or winter description, when it isn't set, the description can be
					applied throughout the year. </xs:documentation>
				<xs:documentation xml:lang="nl"> season, duidt aan of dit een zomer of een
					winter beschrijving betreft, wanneer dit attribuut ontbreekt, dan
					kan de beschrijving het gehele jaar toegepast worden.
         </xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="summer"/>
					<xs:enumeration value="winter"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="subtype" use="optional">
			<xs:annotation>
				<xs:documentation xml:lang="en"> subtype is only used when the type
					attribute is set to 'location'. </xs:documentation>
				<xs:documentation xml:lang="nl"> subtype wordt alleen gebruikt wanneer
					het type attribute op 'location' staat. </xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="country"/>
					<xs:enumeration value="district"/>
					<xs:enumeration value="place"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="suppliedby" type="xs:string" use="optional">
			<xs:annotation>
				<xs:documentation xml:lang="en"> This property defines the supplier of
					the information. </xs:documentation>
				<xs:documentation xml:lang="nl"> Dit attribute definieert de eenheid
					die deze informatie heeft verschaft. </xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="language" type="xs:string" use="optional">
			<xs:annotation>
				<xs:documentation xml:lang="en"> The language attribute is an
					iso-language identifier, describing the language of this specific
					part. The system tries to obtain the accommodation info in the
					requested language, but may have to revert to an other version due to
					unavailability. When omitted, the content is to be assumed to be in the
					requested language. It is up to the implementor whether to display this
					alternative information. </xs:documentation>
				<xs:documentation xml:lang="nl"> Het language (taal) attribute is een
					iso-taal aanduiding, die de taal van dit specifieke gedeelte (part)
					beschrijft. Het systeem probeert de accommodatie info in de gevraagde
					taal te retourneren, maar moet eventueel terugvallen op een andere
					versie alsgevolg van het niet beschikbaar zijn. Wanneer niet
					opgegeven, moet aangenomen worden dat de inhoud in de gevraagde taal
					is. Het is aan de gebruiker van deze informatie of deze alternatieve
					informatie al dan niet te gebruiken. </xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="unitDetails">
		<xs:sequence>
			<xs:element maxOccurs="1" minOccurs="0" name="facilities" type="tns:facilities">
			</xs:element>
			<xs:element maxOccurs="1" minOccurs="0" name="beds" type="tns:beds">
			</xs:element>
			<xs:element name="area" minOccurs="0" maxOccurs="1">
			    <xs:complexType>
			        <xs:simpleContent>
			            <xs:extension base="xs:integer">
			                <xs:attribute name="unit" type="xs:string" use="required"/>
			            </xs:extension>
			        </xs:simpleContent>
			    </xs:complexType>
			</xs:element>
			<xs:element maxOccurs="1" minOccurs="0" name="maxPersons" type="xs:integer"/>
			<xs:element maxOccurs="1" minOccurs="0" name="bedrooms" type="xs:integer"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="facilities">
		<xs:sequence>
			<xs:element maxOccurs="unbounded" minOccurs="1" name="facility" type="tns:facilityType">
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="facilityType">
		<xs:annotation>
		    <xs:documentation xml:lang="en">
		        Three variants exist for air conditioning because real-world accommodation
		        data distinguishes between:
		        1) Air conditioning available, but it is unknown whether it is free or paid
		           (FACILITY_AIR_CONDITIONING).
		        2) Air conditioning available free of charge
		           (FACILITY_AIR_CONDITIONING_FREE).
		        3) Air conditioning available but subject to an extra fee
		           (FACILITY_AIR_CONDITIONING_PAID).
		        This separation is required because suppliers, hotels and OTA systems
		        routinely provide this information differently, and guests often filter
		        based on free or paid air conditioning.
		    </xs:documentation>

		    <xs:documentation xml:lang="nl">
		        Er bestaan drie varianten voor airconditioning omdat accommodatiegegevens
		        in de praktijk onderscheid maken tussen:
		        1) Airconditioning aanwezig, maar onbekend of deze gratis of betalend is
		           (FACILITY_AIR_CONDITIONING).
		        2) Airconditioning gratis beschikbaar
		           (FACILITY_AIR_CONDITIONING_FREE).
		        3) Airconditioning aanwezig maar tegen betaling
		           (FACILITY_AIR_CONDITIONING_PAID).
		        Dit onderscheid is nodig omdat leveranciers, hotels en OTA-systemen deze
		        informatie verschillend aanleveren, en gasten vaak filteren op gratis of
		        betalende airco.
		    </xs:documentation>
		</xs:annotation>			
		<xs:restriction base="xs:string">
      <xs:enumeration value="VIEW_ATRIUM"/>
      <xs:enumeration value="VIEW_ATRIUM_LIMITED"/>
      <xs:enumeration value="VIEW_BEACH"/>
      <xs:enumeration value="VIEW_BEACH_LIMITED"/>
      <xs:enumeration value="VIEW_CASTLE"/>
      <xs:enumeration value="VIEW_CASTLE_LIMITED"/>
      <xs:enumeration value="VIEW_CITY"/>
      <xs:enumeration value="VIEW_CITY_LIMITED"/>
      <xs:enumeration value="VIEW_COURTYARD"/>
      <xs:enumeration value="VIEW_COURTYARD_LIMITED"/>
      <xs:enumeration value="VIEW_FOREST"/>
      <xs:enumeration value="VIEW_FOREST_LIMITED"/>
      <xs:enumeration value="VIEW_GARDEN"/>
      <xs:enumeration value="VIEW_GARDEN_LIMITED"/>
      <xs:enumeration value="VIEW_GLACIER"/>
      <xs:enumeration value="VIEW_GLACIER_LIMITED"/>
      <xs:enumeration value="VIEW_HARBOUR"/>
      <xs:enumeration value="VIEW_HARBOUR_LIMITED"/>
      <xs:enumeration value="VIEW_HILL"/>
      <xs:enumeration value="VIEW_HILL_LIMITED"/>
      <xs:enumeration value="VIEW_LAGOON"/>
      <xs:enumeration value="VIEW_LAGOON_LIMITED"/>
      <xs:enumeration value="VIEW_LAKE"/>
      <xs:enumeration value="VIEW_LAKE_LIMITED"/>
      <xs:enumeration value="VIEW_MOUNTAIN"/>
      <xs:enumeration value="VIEW_MOUNTAIN_LIMITED"/>
      <xs:enumeration value="VIEW_PANORAMIC"/>
      <xs:enumeration value="VIEW_PANORAMIC_LIMITED"/>
      <xs:enumeration value="VIEW_PARK"/>
      <xs:enumeration value="VIEW_PARK_LIMITED"/>
      <xs:enumeration value="VIEW_POOL"/>
      <xs:enumeration value="VIEW_POOL_LIMITED"/>
      <xs:enumeration value="VIEW_RIVER"/>
      <xs:enumeration value="VIEW_RIVER_LIMITED"/>
      <xs:enumeration value="VIEW_SEA"/>
      <xs:enumeration value="VIEW_SEA_LIMITED"/>
      <xs:enumeration value="VIEW_VALLEY"/>
      <xs:enumeration value="VIEW_VALLEY_LIMITED"/>
      <xs:enumeration value="VIEW_VILLAGE"/>
      <xs:enumeration value="VIEW_VILLAGE_LIMITED"/>
      <xs:enumeration value="VIEW_BAY"/>
      <xs:enumeration value="VIEW_BAY_LIMITED"/>
      <xs:enumeration value="VIEW_CANAL"/>
      <xs:enumeration value="VIEW_CANAL_LIMITED"/>
      <xs:enumeration value="VIEW_DESERT"/>
      <xs:enumeration value="VIEW_DESERT_LIMITED"/>
      <xs:enumeration value="VIEW_DUNE"/>
      <xs:enumeration value="VIEW_DUNE_LIMITED"/>
      <xs:enumeration value="VIEW_FIELD"/>
      <xs:enumeration value="VIEW_FIELD_LIMITED"/>
      <xs:enumeration value="VIEW_GOLFCOURSE"/>
      <xs:enumeration value="VIEW_GOLFCOURSE_LIMITED"/>
      <xs:enumeration value="VIEW_JUNGLE"/>
      <xs:enumeration value="VIEW_JUNGLE_LIMITED"/>
      <xs:enumeration value="VIEW_MARINA"/>
      <xs:enumeration value="VIEW_MARINA_LIMITED"/>
      <xs:enumeration value="VIEW_MEADOW"/>
      <xs:enumeration value="VIEW_MEADOW_LIMITED"/>
      <xs:enumeration value="VIEW_OCEAN"/>
      <xs:enumeration value="VIEW_OCEAN_LIMITED"/>
      <xs:enumeration value="VIEW_SKI_SLOPE"/>
      <xs:enumeration value="VIEW_SKI_SLOPE_LIMITED"/>
      <xs:enumeration value="VIEW_SKYLINE"/>
      <xs:enumeration value="VIEW_SKYLINE_LIMITED"/>
      <xs:enumeration value="VIEW_STREET"/>
      <xs:enumeration value="VIEW_STREET_LIMITED"/>
			
			<!-- bed typen -->
			<xs:enumeration value="BEDS_SINGLE"/>
      <xs:enumeration value="BEDS_DOUBLE"/>
      <xs:enumeration value="BEDS_TWIN"/>
      <xs:enumeration value="BEDS_QUEEN_SIZE"/>
      <xs:enumeration value="BEDS_KING_SIZE"/>
      <xs:enumeration value="BEDS_BUNK_BEDS"/>
      <xs:enumeration value="BEDS_SOFA_BED"/>
      <xs:enumeration value="BEDS_EXTRA_BED"/>
      <xs:enumeration value="BEDS_CHILD_BED"/>
      <xs:enumeration value="BEDS_BABY_COT"/>			
			
      <!-- Klimaat -->
      <xs:enumeration value="FACILITY_AIR_CONDITIONING"/>
      <xs:enumeration value="FACILITY_AIR_CONDITIONING_FREE"/>
      <xs:enumeration value="FACILITY_AIR_CONDITIONING_PAID"/>

      <xs:enumeration value="FACILITY_HEATING"/>
      <xs:enumeration value="FACILITY_HEATING_FREE"/>
      <xs:enumeration value="FACILITY_HEATING_PAID"/>

      <!-- Buitenruimte -->
      <xs:enumeration value="FACILITY_BALCONY"/>
      <xs:enumeration value="FACILITY_BALCONY_OR_TERRACE"/>
      <xs:enumeration value="FACILITY_TERRACE"/>

      <!-- Badkamer & wellness -->
      <xs:enumeration value="FACILITY_BATH_ROBE_FREE"/>
      <xs:enumeration value="FACILITY_BATH_TUB"/>
      <xs:enumeration value="FACILITY_BATH_TUB_OR_SHOWER"/>
      <xs:enumeration value="FACILITY_HAIR_DRYER"/>
      <xs:enumeration value="FACILITY_SHOWER"/>
      <xs:enumeration value="FACILITY_TOILET"/>

      <!-- Linnen & handdoeken -->
      <xs:enumeration value="FACILITY_BED_LINEN_FREE"/>
      <xs:enumeration value="FACILITY_TOWELS_FREE"/>

      <!-- Keuken -->
      <xs:enumeration value="FACILITY_COFFEE_MACHINE"/>
      <xs:enumeration value="FACILITY_FRIDGE"/>
      <xs:enumeration value="FACILITY_STOVE"/>
      <xs:enumeration value="FACILITY_KETTLE"/>
      <xs:enumeration value="FACILITY_KITCHENETTE"/>
      <xs:enumeration value="FACILITY_MICROWAVE"/>
      <xs:enumeration value="FACILITY_OVEN"/>

      <!-- Minibar -->
      <xs:enumeration value="FACILITY_MINI_BAR"/>
      <xs:enumeration value="FACILITY_MINI_BAR_FREE"/>
      <xs:enumeration value="FACILITY_MINI_BAR_PAID"/>

      <!-- Veiligheid -->
      <xs:enumeration value="FACILITY_SAFE"/>
      <xs:enumeration value="FACILITY_SAFE_FREE"/>

      <!-- Media & communicatie -->
      <xs:enumeration value="FACILITY_TELEPHONE"/>
      <xs:enumeration value="FACILITY_TV"/>

      <xs:enumeration value="FACILITY_WIFI"/>
      <xs:enumeration value="FACILITY_WIFI_FREE"/>
      <xs:enumeration value="FACILITY_WIFI_PAID"/>

      <!-- Overig comfort -->
      <xs:enumeration value="FACILITY_SEATING_AREA"/>
      <xs:enumeration value="FACILITY_WRITING_DESK"/>
			
		</xs:restriction>
	</xs:simpleType>
	
	<xs:complexType name="beds">
		<xs:sequence>
			<xs:element maxOccurs="unbounded" minOccurs="1" name="bedInfo" type="tns:bedInfoType">
			</xs:element>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="bedInfoType">
	    <xs:sequence>
	        <xs:element name="type" type="bedType"/>
	        <xs:element name="count" type="xs:integer"/>
	        <xs:element name="personCount" type="xs:integer"/>
	    </xs:sequence>
	</xs:complexType>
	
	<xs:simpleType name="bedType">
	    <xs:restriction base="xs:string">
	        <xs:enumeration value="BEDS_SINGLE"/>
	        <xs:enumeration value="BEDS_DOUBLE"/>
	        <xs:enumeration value="BEDS_TWIN"/>
	        <xs:enumeration value="BEDS_QUEEN_SIZE"/>
	        <xs:enumeration value="BEDS_KING_SIZE"/>
	        <xs:enumeration value="BEDS_BUNK_BEDS"/>
	        <xs:enumeration value="BEDS_SOFA_BED"/>
	        <xs:enumeration value="BEDS_EXTRA_BED"/>
	        <xs:enumeration value="BEDS_CHILD_BED"/>
	        <xs:enumeration value="BEDS_BABY_COT"/>
	    </xs:restriction>
	</xs:simpleType>
		<xs:complexType name="parts">
		<xs:sequence>
			<xs:element maxOccurs="unbounded" minOccurs="1" name="part" type="tns:part">
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="part">
		<xs:sequence>
			<xs:element maxOccurs="1" minOccurs="0" name="title" type="tns:plaintext">
				<xs:annotation>
					<xs:documentation xml:lang="en"> The optional title element
						contains a title of this specific part of the description. It
						(optionally) can be used as a header above the part. This content
						cannot contain any formatting </xs:documentation>
					<xs:documentation xml:lang="nl"> Het optionele title element bevat
						een title van dit specifieke deel (part) van de description. Het
						kan (optioneel) gebruikt worden as koptekst boven het onderdeel.
						De inhoud kan geen opmaak bevatten </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element maxOccurs="1" minOccurs="1" name="content" type="tns:simplehtml">
				<xs:annotation>
					<xs:documentation xml:lang="en"> The content element contains the
						actual content of a part of a description. This text (usually
						wrapped in a CDATA segment) will be utf-8 encoded, just as the
						entire target document. Note that this content only may contain a
						subset of html, the b,u,i,ul and li tags are accepted.
                    </xs:documentation>
					<xs:documentation xml:lang="nl"> Het content element bevat de
						daadwerkelijke inhoud van een 'part' van een 'description'. Deze
						tekst (meestal omvat in een CDATA segment) zal utf-8 geencodeerd
						zijn, net zoals het gehele doel document. Merk op dat deze inhoud
						alleen een beperkte set van html mag bevatten, de b,u,i,ul en li
						tags worden geaccepteerd. </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="language" type="xs:string" use="required">
			<xs:annotation>
				<xs:documentation xml:lang="en"> The language attribute is an
					iso-language identifier, describing the language of this specific
					part. The system tries to obtain the accommodation info in the
					requested language, but may have to revert to an other version due to
					unavailability. When omitted, the content is to be assumed to be in the
					requested language. It is up to the implementor whether to display this
					alternative information. </xs:documentation>
				<xs:documentation xml:lang="nl"> Het language (taal) attribute is een
					iso-taal aanduiding, die de taal van dit specifieke gedeelte (part)
					beschrijft. Het systeem probeert de accommodatie info in de gevraagde
					taal te retourneren, maar moet eventueel terugvallen op een andere
					versie alsgevolg van het niet beschikbaar zijn. Wanneer niet
					opgegeven, moet aangenomen worden dat de inhoud in de gevraagde taal
					is. Het is aan de gebruiker van deze informatie of deze alternatieve
					informatie al dan niet te gebruiken. </xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="property">
		<xs:annotation>
			<xs:documentation xml:lang="en"> a property defines a property describing
				the accommodation or a facility available at the accommodation or its
				location. there were available a value and optionally a unit can be added to
				the property as well as an description. An property can have multiple names
				and descriptions, but only if they differ in language.
            </xs:documentation>
			<xs:documentation xml:lang="nl"> een property definieert een eigenschap dat
				de accommodatie beschrijft of een faciliteit beschikbaar in de
				accommodatie of op z'n locatie. daar waar beschikbaar kan een waarde en
				optioneel een eenheid (unit) toegevoegd worden alsmede een beschrijving
				(description). Een property kan meerdere namen en beschrijvingen hebben,
				maar alleen als deze afwijken in taal. </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element maxOccurs="unbounded" minOccurs="1" name="name">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="tns:plaintext">
							<xs:attribute name="language" type="xs:string" use="optional">
								<xs:annotation>
									<xs:documentation xml:lang="en">The language
										parameter is optional, since a properties name
										is not always language
										dependent.</xs:documentation>
									<xs:documentation xml:lang="nl">De language
										parameter is optioneel, gezien een property
										naam niet altijd taal gebonden
										is.</xs:documentation>
								</xs:annotation>
							</xs:attribute>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
			<xs:element maxOccurs="1" minOccurs="0" name="value" type="tns:plaintext"/>
			<xs:element maxOccurs="1" minOccurs="0" name="unit" type="tns:plaintext"/>
			<xs:element maxOccurs="1" minOccurs="0" name="location" type="tns:plaintext"/>
			<xs:element maxOccurs="1" minOccurs="0" name="sublocation" type="tns:plaintext"/>
			<xs:element maxOccurs="unbounded" minOccurs="0" name="description">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="tns:simplehtml">
							<xs:attribute name="language" type="xs:string" use="required">
								<xs:annotation>
									<xs:documentation xml:lang="en"> The language
										attribute is an iso-language identifier,
										describing the language of this specific part.
										The system tries to obtain the property info in
										the requested language, but may have to revert
										to an other version due to unavailability. When
										omitted, the content is to be assumed to be in the
										requested language. It is up to the implementor
										whether to display this alternative
										information. Note that this content only may
										contain a subset of html, the b,u,i,ul and li
										tags are accepted. </xs:documentation>
									<xs:documentation xml:lang="nl"> Het language
										(taal) attribute is een iso-taal aanduiding,
										die de taal van dit specifieke gedeelte
										beschrijft. Het systeem probeert de property
										info in de gevraagde taal te retourneren, maar
										moet eventueel terugvallen op een andere
										versie als gevolg van het niet beschikbaar
										zijn. Wanneer niet opgegeven, moet aangenomen
										worden dat de inhoud in de gevraagde taal is. Het
										is aan de gebruiker van deze informatie of deze
										alternatieve informatie al dan niet te
										gebruiken. Merk op dat deze inhoud alleen een
										beperkte set van html mag bevatten, de b,u,i,ul
										en li tags worden geaccepteerd.
                                    </xs:documentation>
								</xs:annotation>
							</xs:attribute>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="type" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="facility"/>
					<xs:enumeration value="general"/>
					<xs:enumeration value="location"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="suppliedby" type="tns:plaintext" use="optional">
			<xs:annotation>
				<xs:documentation xml:lang="en"> This property defines the supplier of
					the information. </xs:documentation>
				<xs:documentation xml:lang="nl"> Dit attribute definieert de eenheid
					die deze informatie heeft verschaft. </xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="images">
		<xs:sequence>
			<xs:element maxOccurs="unbounded" minOccurs="1" name="image" type="tns:image"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="image">
		<xs:annotation>
			<xs:documentation xml:lang="en">An image can have multiple titles and
				descriptions, but only if they differ in language. </xs:documentation>
			<xs:documentation xml:lang="nl">Een afbeelding kan meerdere titels en
				beschrijvingen hebben, maar alleen als deze afwijken in taal.
            </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element maxOccurs="1" minOccurs="1" name="url" type="xs:string"/>
			<xs:element maxOccurs="unbounded" minOccurs="0" name="title">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="tns:simplehtml">
							<xs:attribute name="language" type="xs:string" use="optional">
								<xs:annotation>
									<xs:documentation xml:lang="en"> The language
										attribute is an iso-language identifier,
										describing the language of this specific
										title. The language parameter is optional,
										since a properties name is not always language
										dependent. </xs:documentation>
									<xs:documentation xml:lang="nl"> Het language
										(taal) attribute is een iso-taal aanduiding,
										die de taal van deze specifieke titel. De
										language parameter is optioneel, gezien een
										property naam niet altijd taal gebonden is.
                                    </xs:documentation>
								</xs:annotation>
							</xs:attribute>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
			<xs:element maxOccurs="unbounded" minOccurs="0" name="description">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="tns:simplehtml">
							<xs:attribute name="language" type="xs:string" use="required">
								<xs:annotation>
									<xs:documentation xml:lang="en"> The language
										attribute is an iso-language identifier,
										describing the language of this specific
										description. </xs:documentation>
									<xs:documentation xml:lang="nl"> Het language
										(taal) attribute is een iso-taal aanduiding,
										die de taal van deze specifieke beschrijving.
                                    </xs:documentation>
								</xs:annotation>
							</xs:attribute>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="season" use="optional">
			<xs:annotation>
				<xs:documentation xml:lang="en"> season, indicates whether this is a
					summer or winter image, when it isn't set, the image can be applied
					throughout the year. </xs:documentation>
				<xs:documentation xml:lang="nl"> season, duidt aan of dit een zomer of een
					winter afbeelding betreft, wanneer dit attribuut ontbreekt, dan kan
					de afbeelding het gehele jaar toegepast worden. </xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="summer"/>
					<xs:enumeration value="winter"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="suppliedby" type="tns:plaintext" use="optional">
			<xs:annotation>
				<xs:documentation xml:lang="en"> This property defines the supplier of
					the image. </xs:documentation>
				<xs:documentation xml:lang="nl"> Dit attribute definieert de eenheid
					die deze afbeelding heeft verschaft. </xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="video">
		<xs:annotation>
			<xs:documentation xml:lang="en"> This type is based on the image
				type.</xs:documentation>
			<xs:documentation xml:lang="nl"> Dit type is gebaseerd op het image type.
            </xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="tns:image"/>
		</xs:complexContent>
	</xs:complexType>
	<xs:simpleType name="simplehtml">
		<xs:restriction base="xs:string">
			<xs:pattern value="(([^&lt;&gt;])|(&lt;(/)?([bui]|li|ul|br|table|th|tr|td)&gt;)|(&lt;br/&gt;)|(&lt;t[dh] colspan=&quot;\d+&quot;&gt;)|(&lt;t[dh] rowspan=&quot;\d+&quot;&gt;))+"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="plaintext">
		<xs:restriction base="xs:string">
			<xs:pattern value="([^&lt;&gt;])+"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="accommodationinfo" type="tns:accommodationinfo"/>
</xs:schema>
