ET2014A_HYPER Schema

ET2014A_HYPER Schema

Schema

Html-Help

Inline-XSD

  1. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://meta.et4.de/ET2014A_HYPER" xmlns:params="urn:params" targetNamespace="http://meta.et4.de/ET2014A_HYPER" elementFormDefault="qualified" params:package="de.hubermedia.vET2014A_HYPER">
  2. <xs:element name="result" type="Result"/>
  3. <xs:complexType name="Result">
  4. <xs:sequence>
  5. <xs:element name="status" type="SimpleStatusType" minOccurs="1" maxOccurs="1" params:tag="5">
  6. <xs:annotation>
  7. <xs:documentation>
  8. status of the result, possible values: OK, INVALID_LICENSE, INVALID_EXPERIENCE, INVALID_REQUEST, SERVER_ERROR
  9. </xs:documentation>
  10. </xs:annotation>
  11. </xs:element>
  12. <xs:element name="message" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="6">
  13. <xs:annotation>
  14. <xs:documentation>errormessages or warnings</xs:documentation>
  15. </xs:annotation>
  16. </xs:element>
  17. <xs:element name="count" type="xs:nonNegativeInteger" minOccurs="1" maxOccurs="1" params:tag="3">
  18. <xs:annotation>
  19. <xs:documentation>count of items in the current result</xs:documentation>
  20. </xs:annotation>
  21. </xs:element>
  22. <xs:element name="overallcount" type="xs:nonNegativeInteger" minOccurs="1" maxOccurs="1" params:tag="2">
  23. <xs:annotation>
  24. <xs:documentation>
  25. count of all available items (e.g. for paging, with "limit" and "offset" parameters)
  26. </xs:documentation>
  27. </xs:annotation>
  28. </xs:element>
  29. <xs:element name="channels" type="Channels" minOccurs="1" maxOccurs="1" params:tag="4"/>
  30. <xs:element name="items" type="Items" minOccurs="1" maxOccurs="1" params:tag="1"/>
  31. </xs:sequence>
  32. </xs:complexType>
  33. <xs:complexType name="Channels" params:isList="true">
  34. <xs:sequence>
  35. <xs:element name="channel" type="Channel" minOccurs="0" maxOccurs="unbounded"/>
  36. </xs:sequence>
  37. </xs:complexType>
  38. <xs:complexType name="Channel">
  39. <xs:sequence>
  40. <xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="2"/>
  41. <xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="3"/>
  42. <xs:element name="link" type="xs:anyURI" minOccurs="1" maxOccurs="1" params:tag="4"/>
  43. <xs:element name="copyright" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="5"/>
  44. </xs:sequence>
  45. <xs:attribute name="id" type="xs:integer" use="required" params:tag="1"/>
  46. </xs:complexType>
  47. <xs:complexType name="Items" params:isList="true" params:flush="10000">
  48. <xs:sequence>
  49. <xs:element name="item" type="Item" minOccurs="0" maxOccurs="unbounded"/>
  50. </xs:sequence>
  51. </xs:complexType>
  52. <xs:complexType name="Item">
  53. <xs:sequence>
  54. <xs:element name="global_id" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="80"/>
  55. <!-- ?? -->
  56. <xs:element name="type" type="SimpleMetaType" minOccurs="1" maxOccurs="1" params:tag="208"/>
  57. <xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="87"/>
  58. <xs:element name="street" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="20"/>
  59. <xs:element name="housenumber" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="207"/>
  60. <xs:element name="zip" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="21"/>
  61. <xs:element name="city" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="22"/>
  62. <xs:element name="highlight" type="xs:boolean" minOccurs="0" maxOccurs="1" params:tag="33"/>
  63. <xs:element name="categories" type="Categories" minOccurs="1" maxOccurs="1" params:tag="10"/>
  64. <xs:element name="attributes" type="Attributes" minOccurs="0" maxOccurs="1" params:tag="210"/>
  65. <xs:element name="ratings" type="Ratings" minOccurs="0" maxOccurs="1" params:tag="50"/>
  66. <xs:element name="hyperObjects" type="HyperObjects" minOccurs="0" maxOccurs="1" params:tag="219"/>
  67. </xs:sequence>
  68. </xs:complexType>
  69. <xs:complexType name="Categories" params:isList="true">
  70. <xs:sequence>
  71. <xs:element name="category" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
  72. </xs:sequence>
  73. </xs:complexType>
  74. <xs:complexType name="HyperObjects" params:isList="true">
  75. <xs:sequence>
  76. <xs:element name="hyperObject" type="HyperObject" minOccurs="0" maxOccurs="unbounded"/>
  77. </xs:sequence>
  78. </xs:complexType>
  79. <xs:complexType name="HyperObject">
  80. <xs:sequence>
  81. <xs:element name="source" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="2"/>
  82. <xs:element name="url" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="3"/>
  83. <xs:element name="isBookable" type="xs:boolean" minOccurs="0" maxOccurs="1" params:tag="4"/>
  84. <xs:element name="attributes" type="Attributes" minOccurs="0" maxOccurs="1" params:tag="5"/>
  85. <xs:element name="numbers" type="Numbers" minOccurs="0" maxOccurs="1" params:tag="6"/>
  86. <xs:element name="hyperSubObjects" type="HyperSubObjects" minOccurs="0" maxOccurs="1" params:tag="7"/>
  87. </xs:sequence>
  88. </xs:complexType>
  89. <xs:complexType name="HyperSubObjects" params:isList="true">
  90. <xs:sequence>
  91. <xs:element name="hyperSubObject" type="HyperSubObject" minOccurs="0" maxOccurs="unbounded"/>
  92. </xs:sequence>
  93. </xs:complexType>
  94. <xs:complexType name="HyperSubObject">
  95. <xs:sequence>
  96. <xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="2"/>
  97. <xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="3"/>
  98. <xs:element name="changed" type="xs:dateTime" minOccurs="0" maxOccurs="1" params:tag="4"/>
  99. <xs:element name="texts" type="Texts" minOccurs="0" maxOccurs="1" params:tag="5"/>
  100. <xs:element name="attributes" type="Attributes" minOccurs="0" maxOccurs="1" params:tag="6"/>
  101. <xs:element name="media_objects" type="MediaObjects" minOccurs="0" maxOccurs="1" params:tag="7"/>
  102. <xs:element name="keywords" type="Keywords" minOccurs="0" maxOccurs="1" params:tag="8"/>
  103. <xs:element name="numbers" type="Numbers" minOccurs="0" maxOccurs="1" params:tag="9"/>
  104. </xs:sequence>
  105. </xs:complexType>
  106. <xs:complexType name="Texts" params:isList="true">
  107. <xs:sequence>
  108. <xs:element name="text" type="Text" minOccurs="0" maxOccurs="unbounded"/>
  109. </xs:sequence>
  110. </xs:complexType>
  111. <xs:complexType name="Text">
  112. <xs:simpleContent>
  113. <xs:extension base="xs:string">
  114. <xs:attribute name="rel" type="SimpleTextRel" use="required" params:tag="2"/>
  115. <xs:attribute name="type" type="SimpleMimeType" use="optional" params:tag="3"/>
  116. <xs:attribute name="author" type="xs:string" use="optional" params:tag="4"/>
  117. <xs:attribute name="source" type="xs:string" use="optional" params:tag="5"/>
  118. </xs:extension>
  119. </xs:simpleContent>
  120. </xs:complexType>
  121. <xs:complexType name="MediaObjects" params:isList="true">
  122. <xs:sequence>
  123. <xs:element name="media_object" type="MediaObject" minOccurs="0" maxOccurs="unbounded"/>
  124. </xs:sequence>
  125. </xs:complexType>
  126. <xs:complexType name="MediaObject">
  127. <xs:simpleContent>
  128. <xs:extension base="xs:string">
  129. <xs:attribute name="rel" type="SimpleMediaObjectRel" use="required" params:tag="2"/>
  130. <xs:attribute name="url" type="xs:anyURI" use="required" params:tag="3"/>
  131. <xs:attribute name="type" type="SimpleMimeType" use="optional" params:tag="4"/>
  132. <xs:attribute name="author" type="xs:string" use="optional" params:tag="5"/>
  133. <xs:attribute name="source" type="xs:string" use="optional" params:tag="6"/>
  134. <xs:attribute name="latitude" type="xs:double" use="optional" params:tag="7"/>
  135. <xs:attribute name="longitude" type="xs:double" use="optional" params:tag="8"/>
  136. <xs:attribute name="theme" type="xs:string" use="optional" params:tag="9"/>
  137. <xs:attribute name="ratio" type="SimpleMediaObjectRatio" use="optional" params:tag="10"/>
  138. <xs:attribute name="prio" type="xs:integer" use="optional" params:tag="11"/>
  139. </xs:extension>
  140. </xs:simpleContent>
  141. </xs:complexType>
  142. <xs:complexType name="Keywords" params:isList="true">
  143. <xs:sequence>
  144. <xs:element name="keyword" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
  145. </xs:sequence>
  146. </xs:complexType>
  147. <xs:complexType name="Numbers" params:isList="true">
  148. <xs:sequence>
  149. <xs:element name="number" type="Number" minOccurs="0" maxOccurs="unbounded"/>
  150. </xs:sequence>
  151. </xs:complexType>
  152. <xs:complexType name="Number">
  153. <xs:simpleContent>
  154. <xs:extension base="xs:double">
  155. <xs:attribute name="type" type="xs:string" use="required" params:tag="2"/>
  156. </xs:extension>
  157. </xs:simpleContent>
  158. </xs:complexType>
  159. <xs:complexType name="Attributes" params:isList="true">
  160. <xs:sequence>
  161. <xs:element name="attribute" type="Attribute" minOccurs="0" maxOccurs="unbounded"/>
  162. </xs:sequence>
  163. </xs:complexType>
  164. <xs:complexType name="Attribute">
  165. <xs:simpleContent>
  166. <xs:extension base="xs:string">
  167. <xs:attribute name="key" type="xs:string" use="required" params:tag="2"/>
  168. </xs:extension>
  169. </xs:simpleContent>
  170. </xs:complexType>
  171. <xs:complexType name="Ratings" params:isList="true">
  172. <xs:sequence>
  173. <xs:element name="rating" type="Rating" minOccurs="0" maxOccurs="unbounded"/>
  174. </xs:sequence>
  175. </xs:complexType>
  176. <xs:complexType name="Rating">
  177. <xs:simpleContent>
  178. <xs:extension base="SimpleRatingValue">
  179. <xs:attribute name="type" type="xs:string" use="required" params:tag="2"/>
  180. </xs:extension>
  181. </xs:simpleContent>
  182. </xs:complexType>
  183. <!--  Simple Types  -->
  184. <xs:simpleType name="SimpleMimeType">
  185. <xs:restriction base="xs:string">
  186. <!--  http://www.iana.org/assignments/media-types  -->
  187. </xs:restriction>
  188. </xs:simpleType>
  189. <xs:simpleType name="SimpleRatingValue">
  190. <xs:restriction base="xs:double">
  191. <xs:minInclusive value="0"/>
  192. <xs:maxInclusive value="100"/>
  193. </xs:restriction>
  194. </xs:simpleType>
  195. <xs:simpleType name="SimpleMediaObjectRel">
  196. <xs:restriction base="xs:string">
  197. <xs:enumeration value="default"/>
  198. <xs:enumeration value="gallery"/>
  199. <xs:enumeration value="download"/>
  200. <xs:enumeration value="video"/>
  201. <xs:enumeration value="audio"/>
  202. <xs:enumeration value="qrcode"/>
  203. <xs:enumeration value="booking"/>
  204. <xs:enumeration value="socialmedia"/>
  205. <xs:enumeration value="rating"/>
  206. <xs:enumeration value="barrierfree"/>
  207. <xs:enumeration value="print"/>
  208. <xs:enumeration value="summer"/>
  209. <xs:enumeration value="winter"/>
  210. <xs:enumeration value="mobile"/>
  211. <xs:enumeration value="pages"/>
  212. <xs:enumeration value="homepage"/>
  213. <xs:enumeration value="other"/>
  214. </xs:restriction>
  215. </xs:simpleType>
  216. <xs:simpleType name="SimpleMediaObjectRatio">
  217. <xs:restriction base="xs:string">
  218. <xs:enumeration value=""/>
  219. <xs:enumeration value="3:2"/>
  220. <xs:enumeration value="4:3"/>
  221. <xs:enumeration value="16:9"/>
  222. </xs:restriction>
  223. </xs:simpleType>
  224. <xs:simpleType name="SimpleTextRel">
  225. <xs:restriction base="xs:string">
  226. <!--  New Text Types: Not filled with MD Content  -->
  227. <xs:enumeration value="teaser"/>
  228. <xs:enumeration value="destination"/>
  229. <xs:enumeration value="date"/>
  230. <xs:enumeration value="dayoff"/>
  231. <xs:enumeration value="directions"/>
  232. <xs:enumeration value="barrierfree"/>
  233. <!--  MD Content API Text Types  -->
  234. <xs:enumeration value="long"/>
  235. <xs:enumeration value="short"/>
  236. <xs:enumeration value="highlight"/>
  237. <xs:enumeration value="insidertip"/>
  238. <xs:enumeration value="openinghours"/>
  239. <xs:enumeration value="equipment"/>
  240. <xs:enumeration value="roominfo"/>
  241. <xs:enumeration value="pricerange"/>
  242. <xs:enumeration value="classification"/>
  243. <xs:enumeration value="convention"/>
  244. <xs:enumeration value="games"/>
  245. <xs:enumeration value="styles"/>
  246. <xs:enumeration value="meals"/>
  247. <xs:enumeration value="mealsavail"/>
  248. <xs:enumeration value="paymentinfo"/>
  249. <xs:enumeration value="clubinfo"/>
  250. <xs:enumeration value="guestinfo"/>
  251. <xs:enumeration value="cinemainfo"/>
  252. <xs:enumeration value="program"/>
  253. <xs:enumeration value="parking"/>
  254. <xs:enumeration value="rentalcar"/>
  255. <xs:enumeration value="schedule"/>
  256. <!--   Hotel.DE API Text Types  -->
  257. <!--  equipment, destination, directions, additional  -->
  258. <xs:enumeration value="additional"/>
  259. <!--  NEW ET2014A  -->
  260. <xs:enumeration value="details"/>
  261. <xs:enumeration value="kitchen"/>
  262. </xs:restriction>
  263. </xs:simpleType>
  264. <xs:simpleType name="SimpleMetaType">
  265. <xs:restriction base="xs:string">
  266. <xs:enumeration value="Hotel"/>
  267. <xs:enumeration value="Event"/>
  268. <xs:enumeration value="Gastro"/>
  269. <xs:enumeration value="Tour"/>
  270. <xs:enumeration value="POI"/>
  271. <xs:enumeration value="City"/>
  272. <xs:enumeration value="Area"/>
  273. <xs:enumeration value="Package"/>
  274. <xs:enumeration value="Article"/>
  275. </xs:restriction>
  276. </xs:simpleType>
  277. <xs:simpleType name="SimpleStatusType">
  278. <xs:restriction base="xs:string">
  279. <xs:enumeration value="OK"/>
  280. <xs:enumeration value="INVALID_LICENSE"/>
  281. <xs:enumeration value="INVALID_EXPERIENCE"/>
  282. <xs:enumeration value="INVALID_REQUEST"/>
  283. <xs:enumeration value="SERVER_ERROR"/>
  284. </xs:restriction>
  285. </xs:simpleType>
  286. </xs:schema>
    • Related Articles

    • meta-service: hypersearch

      Entry Point http://meta.et4.de/rest.ashx/hypersearch/ Responsetype TemplateBased-XML-Response TemplateBased-JSON-Response TemplateBased-Protobuff-Response Description The meta.destination.one hyper search is a meta-search based on meta-data. The ...
    • ET2014A Schema

      Schema http://developer.et4.de/reference/current/schemas/ET2014A.xsd Html-Help http://developer.et4.de/reference/current/ET2014A_xsd.html Inline-XSD <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://meta.et4.de/ET2014A" ...
    • ET2014A_LIGHT_MULTI Schema

      Schema http://developer.et4.de/reference/current/schemas/ET2014A_LIGHT_MULTI.xsd Html-Help http://developer.et4.de/reference/current/ET2014A_LIGHT_MULTI_xsd.html Inline-XSD <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ...
    • ET2014A_LIGHT Schema

      Schema http://developer.et4.de/reference/current/schemas/ET2014A_LIGHT.xsd Html-Help http://developer.et4.de/reference/current/ET2014A_LIGHT_xsd.html Inline-XSD <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ...
    • ET2014A_MULTI Schema

      Schema http://developer.et4.de/reference/current/schemas/ET2014A_MULTI.xsd Html-Help http://developer.et4.de/reference/current/ET2014A_MULTI_xsd.html Inline-XSD <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ...