ET2014A Schema

ET2014A Schema

Schema

Html-Help

Inline-XSD

  1. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://meta.et4.de/ET2014A" xmlns:params="urn:params" targetNamespace="http://meta.et4.de/ET2014A" elementFormDefault="qualified" params:package="de.hubermedia.vET2014A">
  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="facetGroups" type="FacetGroups" minOccurs="1" maxOccurs="1" params:tag="7"/>
  31. <xs:element name="items" type="Items" minOccurs="1" maxOccurs="1" params:tag="1"/>
  32. </xs:sequence>
  33. </xs:complexType>
  34. <xs:complexType name="Channels" params:isList="true">
  35. <xs:sequence>
  36. <xs:element name="channel" type="Channel" minOccurs="0" maxOccurs="unbounded"/>
  37. </xs:sequence>
  38. </xs:complexType>
  39. <xs:complexType name="Channel">
  40. <xs:sequence>
  41. <xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="2"/>
  42. <xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="3"/>
  43. <xs:element name="link" type="xs:anyURI" minOccurs="1" maxOccurs="1" params:tag="4"/>
  44. <xs:element name="copyright" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="5"/>
  45. </xs:sequence>
  46. <xs:attribute name="id" type="xs:integer" use="required" params:tag="1"/>
  47. </xs:complexType>
  48. <xs:complexType name="FacetGroups" params:isList="true">
  49. <xs:sequence>
  50. <xs:element name="facetGroup" type="FacetGroup" minOccurs="0" maxOccurs="unbounded"/>
  51. </xs:sequence>
  52. </xs:complexType>
  53. <xs:complexType name="FacetGroup">
  54. <xs:sequence>
  55. <xs:element name="facets" type="Facets" minOccurs="1" maxOccurs="1" params:tag="2"/>
  56. </xs:sequence>
  57. <xs:attribute name="field" type="xs:string" use="required" params:tag="1"/>
  58. </xs:complexType>
  59. <xs:complexType name="Facets" params:isList="true">
  60. <xs:sequence>
  61. <xs:element name="facet" type="Facet" minOccurs="0" maxOccurs="unbounded"/>
  62. </xs:sequence>
  63. </xs:complexType>
  64. <xs:complexType name="Facet">
  65. <xs:attribute name="value" type="xs:string" use="required" params:tag="1"/>
  66. <xs:attribute name="count" type="xs:nonNegativeInteger" use="required" params:tag="2"/>
  67. <xs:attribute name="q" type="xs:string" use="required" params:tag="3"/>
  68. <xs:attribute name="label" type="xs:string" use="required" params:tag="4"/>
  69. </xs:complexType>
  70. <xs:complexType name="Items" params:isList="true" params:flush="10000">
  71. <xs:sequence>
  72. <xs:element name="item" type="Item" minOccurs="0" maxOccurs="unbounded"/>
  73. </xs:sequence>
  74. </xs:complexType>
  75. <xs:complexType name="Item">
  76. <xs:sequence>
  77. <xs:element name="global_id" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="80"/>
  78. <!-- ?? -->
  79. <xs:element name="channel_id" type="xs:integer" minOccurs="1" maxOccurs="1" params:tag="202"/>
  80. <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="18"/>
  81. <xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1" params:tag="87"/>
  82. <xs:element name="type" type="SimpleMetaType" minOccurs="1" maxOccurs="1" params:tag="208"/>
  83. <xs:element name="categories" type="Categories" minOccurs="1" maxOccurs="1" params:tag="10"/>
  84. <xs:element name="texts" type="Texts" minOccurs="0" maxOccurs="1" params:tag="13"/>
  85. <xs:element name="country" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="24"/>
  86. <xs:element name="areas" type="Areas" minOccurs="0" maxOccurs="1" params:tag="15"/>
  87. <xs:element name="city" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="22"/>
  88. <xs:element name="zip" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="21"/>
  89. <xs:element name="street" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="20"/>
  90. <xs:element name="housenumber" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="207"/>
  91. <xs:element name="phone" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="34"/>
  92. <xs:element name="fax" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="204"/>
  93. <xs:element name="web" type="xs:anyURI" minOccurs="0" maxOccurs="1" params:tag="88"/>
  94. <xs:element name="email" type="SimpleEmail" minOccurs="0" maxOccurs="1" params:tag="35"/>
  95. <xs:element name="author" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="19"/>
  96. <xs:element name="geo" type="Geo" minOccurs="1" maxOccurs="1" params:tag="201"/>
  97. <xs:element name="ratings" type="Ratings" minOccurs="0" maxOccurs="1" params:tag="50"/>
  98. <xs:element name="cuisine_types" type="CuisineTypes" minOccurs="0" maxOccurs="1" params:tag="69"/>
  99. <xs:element name="payment" type="Payment" minOccurs="0" maxOccurs="1" params:tag="203"/>
  100. <xs:element name="highlight" type="xs:boolean" minOccurs="0" maxOccurs="1" params:tag="33"/>
  101. <xs:element name="accessibility" type="xs:boolean" minOccurs="0" maxOccurs="1" params:tag="49"/>
  102. <xs:element name="child_friendly" type="xs:boolean" minOccurs="0" maxOccurs="1" params:tag="48"/>
  103. <xs:element name="media_objects" type="MediaObjects" minOccurs="0" maxOccurs="1" params:tag="12"/>
  104. <xs:element name="keywords" type="Keywords" minOccurs="0" maxOccurs="1" params:tag="14"/>
  105. <xs:element name="timeIntervals" type="TimeIntervals" minOccurs="0" maxOccurs="1" params:tag="205"/>
  106. <xs:element name="numbers" type="Numbers" minOccurs="0" maxOccurs="1" params:tag="206"/>
  107. <xs:element name="calc_distance" type="xs:integer" minOccurs="0" maxOccurs="1" params:tag="82"/>
  108. <!--  new for ET2014A  -->
  109. <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="81"/>
  110. <xs:element name="attributes" type="Attributes" minOccurs="0" maxOccurs="1" params:tag="210"/>
  111. <xs:element name="features" type="Features" minOccurs="0" maxOccurs="1" params:tag="211"/>
  112. <xs:element name="addresses" type="Addresses" minOccurs="0" maxOccurs="1" params:tag="212"/>
  113. <xs:element name="created" type="xs:dateTime" minOccurs="0" maxOccurs="1" params:tag="26"/>
  114. <xs:element name="changed" type="xs:dateTime" minOccurs="0" maxOccurs="1" params:tag="27"/>
  115. <xs:element name="source" type="Source" minOccurs="0" maxOccurs="1" params:tag="16"/>
  116. <xs:element name="company" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="214"/>
  117. <xs:element name="district" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="215"/>
  118. <xs:element name="postoffice" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="216"/>
  119. <xs:element name="phone2" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="217"/>
  120. <!--  Tours and Routes  -->
  121. <xs:element name="duration" type="xs:double" minOccurs="0" maxOccurs="1" params:tag="218"/>
  122. <xs:element name="length" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1" params:tag="72"/>
  123. <xs:element name="elevationMin" type="xs:double" minOccurs="0" maxOccurs="1" params:tag="77"/>
  124. <xs:element name="elevationMax" type="xs:double" minOccurs="0" maxOccurs="1" params:tag="78"/>
  125. <xs:element name="totalAscent" type="xs:double" minOccurs="0" maxOccurs="1" params:tag="92"/>
  126. <xs:element name="totalDescent" type="xs:double" minOccurs="0" maxOccurs="1" params:tag="93"/>
  127. <!--
  128. <xs:element name="tour_round" type="xs:boolean" minOccurs="0" maxOccurs="1" params:tag="75" />
  129. -->
  130. <xs:element name="seasons" type="Seasons" minOccurs="0" maxOccurs="1" params:tag="51"/>
  131. <!--  SubItems (Leistungen, Routing)  -->
  132. <xs:element name="subitems" type="SubItems" minOccurs="0" maxOccurs="1" params:tag="213"/>
  133. <!--  HyperObjects  -->
  134. <xs:element name="hyperObjects" type="HyperObjects" minOccurs="0" maxOccurs="1" params:tag="219"/>
  135. </xs:sequence>
  136. </xs:complexType>
  137. <xs:complexType name="SubItems" params:isList="true">
  138. <xs:sequence>
  139. <xs:element name="subitem" type="SubItem" minOccurs="0" maxOccurs="unbounded"/>
  140. </xs:sequence>
  141. </xs:complexType>
  142. <xs:complexType name="SubItem">
  143. <xs:sequence>
  144. <xs:element name="id" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="2"/>
  145. <xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="3"/>
  146. <xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="4"/>
  147. <xs:element name="geo" type="Geo" minOccurs="0" maxOccurs="1" params:tag="5"/>
  148. <xs:element name="ref" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="6"/>
  149. <xs:element name="categories" type="Categories" minOccurs="0" maxOccurs="1" params:tag="7"/>
  150. <xs:element name="features" type="Features" minOccurs="0" maxOccurs="1" params:tag="8"/>
  151. <xs:element name="texts" type="Texts" minOccurs="0" maxOccurs="1" params:tag="9"/>
  152. <xs:element name="ratings" type="Ratings" minOccurs="0" maxOccurs="1" params:tag="10"/>
  153. <xs:element name="media_objects" type="MediaObjects" minOccurs="0" maxOccurs="1" params:tag="11"/>
  154. <xs:element name="keywords" type="Keywords" minOccurs="0" maxOccurs="1" params:tag="12"/>
  155. <xs:element name="numbers" type="Numbers" minOccurs="0" maxOccurs="1" params:tag="13"/>
  156. <xs:element name="attributes" type="Attributes" minOccurs="0" maxOccurs="1" params:tag="14"/>
  157. <xs:element name="instructions" type="Instructions" minOccurs="0" maxOccurs="1" params:tag="15"/>
  158. </xs:sequence>
  159. </xs:complexType>
  160. <xs:complexType name="HyperObjects" params:isList="true">
  161. <xs:sequence>
  162. <xs:element name="hyperObject" type="HyperObject" minOccurs="0" maxOccurs="unbounded"/>
  163. </xs:sequence>
  164. </xs:complexType>
  165. <xs:complexType name="HyperObject">
  166. <xs:sequence>
  167. <xs:element name="source" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="2"/>
  168. <xs:element name="url" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="3"/>
  169. <xs:element name="isBookable" type="xs:boolean" minOccurs="0" maxOccurs="1" params:tag="4"/>
  170. <xs:element name="attributes" type="Attributes" minOccurs="0" maxOccurs="1" params:tag="5"/>
  171. <xs:element name="numbers" type="Numbers" minOccurs="0" maxOccurs="1" params:tag="6"/>
  172. <xs:element name="hyperSubObjects" type="HyperSubObjects" minOccurs="0" maxOccurs="1" params:tag="7"/>
  173. </xs:sequence>
  174. </xs:complexType>
  175. <xs:complexType name="HyperSubObjects" params:isList="true">
  176. <xs:sequence>
  177. <xs:element name="hyperSubObject" type="HyperSubObject" minOccurs="0" maxOccurs="unbounded"/>
  178. </xs:sequence>
  179. </xs:complexType>
  180. <xs:complexType name="HyperSubObject">
  181. <xs:sequence>
  182. <xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="2"/>
  183. <xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="3"/>
  184. <xs:element name="changed" type="xs:dateTime" minOccurs="0" maxOccurs="1" params:tag="4"/>
  185. <xs:element name="texts" type="Texts" minOccurs="0" maxOccurs="1" params:tag="5"/>
  186. <xs:element name="attributes" type="Attributes" minOccurs="0" maxOccurs="1" params:tag="6"/>
  187. <xs:element name="media_objects" type="MediaObjects" minOccurs="0" maxOccurs="1" params:tag="7"/>
  188. <xs:element name="keywords" type="Keywords" minOccurs="0" maxOccurs="1" params:tag="8"/>
  189. <xs:element name="numbers" type="Numbers" minOccurs="0" maxOccurs="1" params:tag="9"/>
  190. </xs:sequence>
  191. </xs:complexType>
  192. <xs:complexType name="Instructions" params:isList="true">
  193. <xs:sequence>
  194. <xs:element name="instruction" type="Instruction" minOccurs="0" maxOccurs="unbounded"/>
  195. </xs:sequence>
  196. </xs:complexType>
  197. <xs:complexType name="Instruction">
  198. <xs:simpleContent>
  199. <xs:extension base="xs:string">
  200. <xs:attribute name="action" type="xs:string" use="required" params:tag="2"/>
  201. <xs:attribute name="lat" type="xs:double" use="optional" params:tag="3"/>
  202. <xs:attribute name="lon" type="xs:double" use="optional" params:tag="4"/>
  203. <xs:attribute name="distance" type="xs:double" use="optional" params:tag="5"/>
  204. <xs:attribute name="time" type="xs:nonNegativeInteger" use="optional" params:tag="6"/>
  205. </xs:extension>
  206. </xs:simpleContent>
  207. </xs:complexType>
  208. <xs:complexType name="Categories" params:isList="true">
  209. <xs:sequence>
  210. <xs:element name="category" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
  211. </xs:sequence>
  212. </xs:complexType>
  213. <xs:complexType name="Texts" params:isList="true">
  214. <xs:sequence>
  215. <xs:element name="text" type="Text" minOccurs="0" maxOccurs="unbounded"/>
  216. </xs:sequence>
  217. </xs:complexType>
  218. <xs:complexType name="Text">
  219. <xs:simpleContent>
  220. <xs:extension base="xs:string">
  221. <xs:attribute name="rel" type="SimpleTextRel" use="required" params:tag="2"/>
  222. <xs:attribute name="type" type="SimpleMimeType" use="optional" params:tag="3"/>
  223. <xs:attribute name="author" type="xs:string" use="optional" params:tag="4"/>
  224. <xs:attribute name="source" type="xs:string" use="optional" params:tag="5"/>
  225. </xs:extension>
  226. </xs:simpleContent>
  227. </xs:complexType>
  228. <xs:complexType name="Areas" params:isList="true">
  229. <xs:sequence>
  230. <xs:element name="area" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
  231. </xs:sequence>
  232. </xs:complexType>
  233. <xs:complexType name="Geo">
  234. <xs:sequence>
  235. <xs:element name="main" type="Coordinate" minOccurs="1" maxOccurs="1" params:tag="1"/>
  236. <xs:element name="entry" type="Coordinate" minOccurs="0" maxOccurs="unbounded" params:tag="2"/>
  237. <xs:element name="geometry" type="Geometry" minOccurs="0" maxOccurs="1" params:tag="3"/>
  238. </xs:sequence>
  239. </xs:complexType>
  240. <xs:complexType name="Coordinate">
  241. <xs:simpleContent>
  242. <xs:extension base="xs:string">
  243. <xs:attribute name="latitude" type="xs:double" use="required" params:tag="2"/>
  244. <xs:attribute name="longitude" type="xs:double" use="required" params:tag="3"/>
  245. </xs:extension>
  246. </xs:simpleContent>
  247. </xs:complexType>
  248. <xs:complexType name="Geometry">
  249. <xs:simpleContent>
  250. <xs:extension base="xs:string">
  251. <xs:attribute name="type" type="SimpleGeometryType" use="required" params:tag="2"/>
  252. </xs:extension>
  253. </xs:simpleContent>
  254. </xs:complexType>
  255. <xs:complexType name="Ratings" params:isList="true">
  256. <xs:sequence>
  257. <xs:element name="rating" type="Rating" minOccurs="0" maxOccurs="unbounded"/>
  258. </xs:sequence>
  259. </xs:complexType>
  260. <xs:complexType name="Rating">
  261. <xs:simpleContent>
  262. <xs:extension base="SimpleRatingValue">
  263. <xs:attribute name="type" type="xs:string" use="required" params:tag="2"/>
  264. </xs:extension>
  265. </xs:simpleContent>
  266. </xs:complexType>
  267. <xs:complexType name="CuisineTypes" params:isList="true">
  268. <xs:sequence>
  269. <xs:element name="cuisine_type" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
  270. </xs:sequence>
  271. </xs:complexType>
  272. <xs:complexType name="Payment" params:isList="true">
  273. <xs:sequence>
  274. <xs:element name="method" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
  275. </xs:sequence>
  276. </xs:complexType>
  277. <xs:complexType name="MediaObjects" params:isList="true">
  278. <xs:sequence>
  279. <xs:element name="media_object" type="MediaObject" minOccurs="0" maxOccurs="unbounded"/>
  280. </xs:sequence>
  281. </xs:complexType>
  282. <xs:complexType name="MediaObject">
  283. <xs:simpleContent>
  284. <xs:extension base="xs:string">
  285. <xs:attribute name="rel" type="SimpleMediaObjectRel" use="required" params:tag="2"/>
  286. <xs:attribute name="url" type="xs:anyURI" use="required" params:tag="3"/>
  287. <xs:attribute name="type" type="SimpleMimeType" use="optional" params:tag="4"/>
  288. <xs:attribute name="author" type="xs:string" use="optional" params:tag="5"/>
  289. <xs:attribute name="source" type="xs:string" use="optional" params:tag="6"/>
  290. <xs:attribute name="latitude" type="xs:double" use="optional" params:tag="7"/>
  291. <xs:attribute name="longitude" type="xs:double" use="optional" params:tag="8"/>
  292. <xs:attribute name="theme" type="xs:string" use="optional" params:tag="9"/>
  293. <xs:attribute name="ratio" type="SimpleMediaObjectRatio" use="optional" params:tag="10"/>
  294. <xs:attribute name="prio" type="xs:integer" use="optional" params:tag="11"/>
  295. </xs:extension>
  296. </xs:simpleContent>
  297. </xs:complexType>
  298. <xs:complexType name="Keywords" params:isList="true">
  299. <xs:sequence>
  300. <xs:element name="keyword" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
  301. </xs:sequence>
  302. </xs:complexType>
  303. <xs:complexType name="TimeIntervals" params:isList="true">
  304. <xs:sequence>
  305. <xs:element name="timeInterval" type="TimeInterval" minOccurs="0" maxOccurs="unbounded"/>
  306. </xs:sequence>
  307. </xs:complexType>
  308. <xs:complexType name="TimeInterval">
  309. <xs:sequence>
  310. <xs:element name="weekdays" type="TimeIntervalWeekdays" minOccurs="0" maxOccurs="1" params:tag="5"/>
  311. </xs:sequence>
  312. <xs:attribute name="start" type="xs:dateTime" use="required" params:tag="2"/>
  313. <xs:attribute name="end" type="xs:dateTime" use="required" params:tag="3"/>
  314. <xs:attribute name="repeatUntil" type="xs:dateTime" use="optional" params:tag="4"/>
  315. <xs:attribute name="tz" type="xs:string" use="optional" params:tag="6"/>
  316. <xs:attribute name="freq" type="SimpleRecurrenceFrequency" use="optional" params:tag="7" params:stringify="true"/>
  317. <xs:attribute name="dayOrdinal" type="xs:integer" use="optional" params:tag="20"/>
  318. <xs:attribute name="weekday" type="SimpleWeekDayValue" use="optional" params:tag="21" params:stringify="true"/>
  319. <xs:attribute name="month" type="xs:integer" use="optional" params:tag="22"/>
  320. <xs:attribute name="dayOfMonth" type="xs:integer" use="optional" params:tag="23"/>
  321. <xs:attribute name="interval" type="xs:integer" use="optional" params:tag="24"/>
  322. <xs:attribute name="repeatCount" type="xs:integer" use="optional" params:tag="25"/>
  323. <xs:attribute name="hideEnd" type="xs:boolean" use="optional" params:tag="30"/>
  324. </xs:complexType>
  325. <xs:complexType name="TimeIntervalWeekdays" params:isList="true">
  326. <xs:sequence>
  327. <xs:element name="weekday" type="SimpleWeekDayValue" minOccurs="1" maxOccurs="unbounded" params:stringify="true"/>
  328. </xs:sequence>
  329. </xs:complexType>
  330. <xs:complexType name="Numbers" params:isList="true">
  331. <xs:sequence>
  332. <xs:element name="number" type="Number" minOccurs="0" maxOccurs="unbounded"/>
  333. </xs:sequence>
  334. </xs:complexType>
  335. <xs:complexType name="Number">
  336. <xs:simpleContent>
  337. <xs:extension base="xs:double">
  338. <xs:attribute name="type" type="xs:string" use="required" params:tag="2"/>
  339. </xs:extension>
  340. </xs:simpleContent>
  341. </xs:complexType>
  342. <xs:complexType name="Attributes" params:isList="true">
  343. <xs:sequence>
  344. <xs:element name="attribute" type="Attribute" minOccurs="0" maxOccurs="unbounded"/>
  345. </xs:sequence>
  346. </xs:complexType>
  347. <xs:complexType name="Attribute">
  348. <xs:simpleContent>
  349. <xs:extension base="xs:string">
  350. <xs:attribute name="key" type="xs:string" use="required" params:tag="2"/>
  351. </xs:extension>
  352. </xs:simpleContent>
  353. </xs:complexType>
  354. <xs:complexType name="Features" params:isList="true">
  355. <xs:sequence>
  356. <xs:element name="feature" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
  357. </xs:sequence>
  358. </xs:complexType>
  359. <xs:complexType name="Addresses" params:isList="true">
  360. <xs:sequence>
  361. <xs:element name="address" type="Address" minOccurs="0" maxOccurs="unbounded"/>
  362. </xs:sequence>
  363. </xs:complexType>
  364. <xs:complexType name="Address">
  365. <xs:sequence>
  366. <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="3"/>
  367. <xs:element name="city" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="4"/>
  368. <xs:element name="zip" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="5"/>
  369. <xs:element name="street" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="6"/>
  370. <xs:element name="housenumber" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="7"/>
  371. <xs:element name="phone" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="8"/>
  372. <xs:element name="fax" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="9"/>
  373. <xs:element name="web" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="10"/>
  374. <xs:element name="email" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="11"/>
  375. <xs:element name="image" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="12"/>
  376. <xs:element name="district" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="13"/>
  377. <xs:element name="postoffice" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="14"/>
  378. <xs:element name="company" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="15"/>
  379. <xs:element name="phone2" type="xs:string" minOccurs="0" maxOccurs="1" params:tag="16"/>
  380. </xs:sequence>
  381. <xs:attribute name="rel" type="SimpleAddressRel" use="required" params:tag="2"/>
  382. </xs:complexType>
  383. <xs:complexType name="Source">
  384. <xs:simpleContent>
  385. <xs:extension base="xs:string">
  386. <xs:attribute name="url" type="xs:string" use="required" params:tag="2"/>
  387. </xs:extension>
  388. </xs:simpleContent>
  389. </xs:complexType>
  390. <xs:complexType name="Seasons" params:isList="true">
  391. <xs:sequence>
  392. <xs:element name="season" type="Season" minOccurs="0" maxOccurs="unbounded"/>
  393. </xs:sequence>
  394. </xs:complexType>
  395. <xs:complexType name="Season">
  396. <xs:sequence/>
  397. <xs:attribute name="month" type="xs:nonNegativeInteger" use="required" params:tag="3"/>
  398. <xs:attribute name="suitable" type="SimpleSeasonSuitability" use="required" params:tag="2" params:stringify="true"/>
  399. </xs:complexType>
  400. <!--  Simple Types  -->
  401. <xs:simpleType name="SimplePolyline">
  402. <xs:list itemType="xs:double"/>
  403. </xs:simpleType>
  404. <xs:simpleType name="SimpleEmail">
  405. <xs:restriction base="xs:string">
  406. <xs:pattern value="([a-zA-Z0-9_\-])([a-zA-Z0-9_\-\.]*)@(\[((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}|((([a-zA-Z0-9\-]+)\.)+))([a-zA-Z]{2,}|(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\])"/>
  407. </xs:restriction>
  408. </xs:simpleType>
  409. <xs:simpleType name="SimpleMimeType">
  410. <xs:restriction base="xs:string">
  411. <!--  http://www.iana.org/assignments/media-types  -->
  412. </xs:restriction>
  413. </xs:simpleType>
  414. <xs:simpleType name="SimpleRatingValue">
  415. <xs:restriction base="xs:double">
  416. <xs:minInclusive value="0"/>
  417. <xs:maxInclusive value="100"/>
  418. </xs:restriction>
  419. </xs:simpleType>
  420. <xs:simpleType name="SimpleMediaObjectRel">
  421. <xs:restriction base="xs:string">
  422. <xs:enumeration value="default"/>
  423. <xs:enumeration value="gallery"/>
  424. <xs:enumeration value="download"/>
  425. <xs:enumeration value="video"/>
  426. <xs:enumeration value="audio"/>
  427. <xs:enumeration value="qrcode"/>
  428. <xs:enumeration value="booking"/>
  429. <xs:enumeration value="socialmedia"/>
  430. <xs:enumeration value="rating"/>
  431. <xs:enumeration value="barrierfree"/>
  432. <xs:enumeration value="print"/>
  433. <xs:enumeration value="summer"/>
  434. <xs:enumeration value="winter"/>
  435. <xs:enumeration value="mobile"/>
  436. <xs:enumeration value="pages"/>
  437. <xs:enumeration value="homepage"/>
  438. <xs:enumeration value="other"/>
  439. </xs:restriction>
  440. </xs:simpleType>
  441. <xs:simpleType name="SimpleMediaObjectRatio">
  442. <xs:restriction base="xs:string">
  443. <xs:enumeration value=""/>
  444. <xs:enumeration value="3:2"/>
  445. <xs:enumeration value="4:3"/>
  446. <xs:enumeration value="16:9"/>
  447. </xs:restriction>
  448. </xs:simpleType>
  449. <xs:simpleType name="SimpleWeekDayValue">
  450. <xs:annotation>
  451. <xs:documentation>Weekday</xs:documentation>
  452. </xs:annotation>
  453. <xs:restriction base="xs:string">
  454. <xs:enumeration value="Sunday"/>
  455. <xs:enumeration value="Monday"/>
  456. <xs:enumeration value="Tuesday"/>
  457. <xs:enumeration value="Wednesday"/>
  458. <xs:enumeration value="Thursday"/>
  459. <xs:enumeration value="Friday"/>
  460. <xs:enumeration value="Saturday"/>
  461. </xs:restriction>
  462. </xs:simpleType>
  463. <xs:simpleType name="SimpleTextRel">
  464. <xs:restriction base="xs:string">
  465. <!--  New Text Types: Not filled with MD Content  -->
  466. <xs:enumeration value="teaser"/>
  467. <xs:enumeration value="destination"/>
  468. <xs:enumeration value="date"/>
  469. <xs:enumeration value="dayoff"/>
  470. <xs:enumeration value="directions"/>
  471. <xs:enumeration value="barrierfree"/>
  472. <!--  MD Content API Text Types  -->
  473. <xs:enumeration value="long"/>
  474. <xs:enumeration value="short"/>
  475. <xs:enumeration value="highlight"/>
  476. <xs:enumeration value="insidertip"/>
  477. <xs:enumeration value="openinghours"/>
  478. <xs:enumeration value="equipment"/>
  479. <xs:enumeration value="roominfo"/>
  480. <xs:enumeration value="pricerange"/>
  481. <xs:enumeration value="classification"/>
  482. <xs:enumeration value="convention"/>
  483. <xs:enumeration value="games"/>
  484. <xs:enumeration value="styles"/>
  485. <xs:enumeration value="meals"/>
  486. <xs:enumeration value="mealsavail"/>
  487. <xs:enumeration value="paymentinfo"/>
  488. <xs:enumeration value="clubinfo"/>
  489. <xs:enumeration value="guestinfo"/>
  490. <xs:enumeration value="cinemainfo"/>
  491. <xs:enumeration value="program"/>
  492. <xs:enumeration value="parking"/>
  493. <xs:enumeration value="rentalcar"/>
  494. <xs:enumeration value="schedule"/>
  495. <!--   Hotel.DE API Text Types  -->
  496. <!--  equipment, destination, directions, additional  -->
  497. <xs:enumeration value="additional"/>
  498. <!--  NEW ET2014A  -->
  499. <xs:enumeration value="details"/>
  500. <xs:enumeration value="kitchen"/>
  501. </xs:restriction>
  502. </xs:simpleType>
  503. <xs:simpleType name="SimpleMetaType">
  504. <xs:restriction base="xs:string">
  505. <xs:enumeration value="Hotel"/>
  506. <xs:enumeration value="Event"/>
  507. <xs:enumeration value="Gastro"/>
  508. <xs:enumeration value="Tour"/>
  509. <xs:enumeration value="POI"/>
  510. <xs:enumeration value="City"/>
  511. <xs:enumeration value="Area"/>
  512. <xs:enumeration value="Package"/>
  513. <xs:enumeration value="Article"/>
  514. </xs:restriction>
  515. </xs:simpleType>
  516. <xs:simpleType name="SimpleStatusType">
  517. <xs:restriction base="xs:string">
  518. <xs:enumeration value="OK"/>
  519. <xs:enumeration value="INVALID_LICENSE"/>
  520. <xs:enumeration value="INVALID_EXPERIENCE"/>
  521. <xs:enumeration value="INVALID_REQUEST"/>
  522. <xs:enumeration value="SERVER_ERROR"/>
  523. </xs:restriction>
  524. </xs:simpleType>
  525. <xs:simpleType name="SimpleGeometryType">
  526. <xs:restriction base="xs:string">
  527. <xs:enumeration value="wkt"/>
  528. <xs:enumeration value="linestring"/>
  529. </xs:restriction>
  530. </xs:simpleType>
  531. <xs:simpleType name="SimpleAddressRel">
  532. <xs:restriction base="xs:string">
  533. <xs:enumeration value="author"/>
  534. <!--  Autor (Mandanten-Config)  -->
  535. <xs:enumeration value="organisation"/>
  536. <!--  Organisation (Mandanten-Config)  -->
  537. <xs:enumeration value="support"/>
  538. <!--  Support (Mandanten-Config)  -->
  539. <xs:enumeration value="contact_person"/>
  540. <!--  Ansprechpartner  -->
  541. <xs:enumeration value="organizer"/>
  542. <!--  Veranstalter  -->
  543. <xs:enumeration value="lessor"/>
  544. <!--  Verpächter  -->
  545. </xs:restriction>
  546. </xs:simpleType>
  547. <xs:simpleType name="SimpleRecurrenceFrequency">
  548. <xs:annotation>
  549. <xs:documentation>RecurrenceFrequency</xs:documentation>
  550. </xs:annotation>
  551. <xs:restriction base="xs:string">
  552. <xs:enumeration value="single"/>
  553. <xs:enumeration value="daily"/>
  554. <xs:enumeration value="weekly"/>
  555. <xs:enumeration value="monthly"/>
  556. <xs:enumeration value="yearly"/>
  557. </xs:restriction>
  558. </xs:simpleType>
  559. <xs:simpleType name="SimpleSeasonSuitability">
  560. <xs:annotation>
  561. <xs:documentation>SeasonSuitability</xs:documentation>
  562. </xs:annotation>
  563. <xs:restriction base="xs:string">
  564. <xs:enumeration value="Unsuitable"/>
  565. <xs:enumeration value="Depends"/>
  566. <xs:enumeration value="Suitable"/>
  567. </xs:restriction>
  568. </xs:simpleType>
  569. </xs:schema>

    • Related Articles

    • ET2014A_HYPER Schema

      Schema http://developer.et4.de/reference/current/schemas/ET2014A_HYPER.xsd Html-Help http://developer.et4.de/reference/current/ET2014A_HYPER_xsd.html Inline-XSD <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ...
    • 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" ...
    • 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" ...