types.xsd 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (c) 2010-2013 by ONVIF: Open Network Video Interface Forum. All rights reserved.
  4. Recipients of this document may copy, distribute, publish, or display this
  5. document so long as this copyright notice, license and disclaimer are
  6. retained with all copies of the document.
  7. THIS DOCUMENT IS PROVIDED "AS IS," AND THE CORPORATION AND ITS MEMBERS AND
  8. THEIR AFFILIATES, MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
  9. INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY,
  10. FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE;
  11. THAT THE CONTENTS OF THIS DOCUMENT ARE SUITABLE FOR ANY PURPOSE;
  12. OR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY PATENTS,
  13. COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
  14. IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE
  15. FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
  16. DAMAGES, ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THIS
  17. DOCUMENT, WHETHER OR NOT (1) THE CORPORATION, MEMBERS OR THEIR AFFILIATES
  18. HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR (2) SUCH DAMAGES
  19. WERE REASONABLY FORESEEABLE, AND ARISING OUT OF OR RELATING TO ANY USE OR
  20. DISTRIBUTION OF THIS DOCUMENT.
  21. THE FOREGOING DISCLAIMER AND LIMITATION ON LIABILITY DO NOT APPLY TO,
  22. INVALIDATE, OR LIMIT REPRESENTATIONS AND WARRANTIES MADE BY THE MEMBERS
  23. AND THEIR RESPECTIVE AFFILIATES TO THE CORPORATION AND OTHER MEMBERS IN
  24. CERTAIN WRITTEN POLICIES OF THE CORPORATION.
  25. -->
  26. <xs:schema targetNamespace="http://www.onvif.org/ver10/pacs"
  27. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  28. xmlns:pt="http://www.onvif.org/ver10/pacs"
  29. elementFormDefault="qualified"
  30. version="1.0">
  31. <!--====== types ======-->
  32. <xs:simpleType name="ReferenceToken">
  33. <xs:annotation>
  34. <xs:documentation>
  35. Type used to reference logical and physical entities.</xs:documentation>
  36. </xs:annotation>
  37. <xs:restriction base="xs:string">
  38. <xs:maxLength value="64"/>
  39. <xs:minLength value="0"/>
  40. </xs:restriction>
  41. </xs:simpleType>
  42. <!--===============================-->
  43. <xs:complexType name="DataEntity">
  44. <xs:annotation>
  45. <xs:documentation>
  46. General datastructure referenced by a token.
  47. Should be used as extension base.</xs:documentation>
  48. </xs:annotation>
  49. <xs:sequence>
  50. </xs:sequence>
  51. <xs:attribute name="token" type="pt:ReferenceToken" use="required"><xs:annotation>
  52. <xs:documentation>A service-unique identifier of the item.</xs:documentation>
  53. </xs:annotation></xs:attribute>
  54. </xs:complexType>
  55. <!--===============================-->
  56. <xs:simpleType name="Name">
  57. <xs:annotation>
  58. <xs:documentation>
  59. Type used for names of logical and physical entities.</xs:documentation>
  60. </xs:annotation>
  61. <xs:restriction base="xs:string">
  62. <xs:maxLength value="64"/>
  63. <xs:minLength value="0"/>
  64. </xs:restriction>
  65. </xs:simpleType>
  66. <!--===============================-->
  67. <xs:simpleType name="Description">
  68. <xs:annotation>
  69. <xs:documentation>
  70. Description is optional and the maximum length is device specific.
  71. If the length is more than maximum length, it is silently chopped to the maximum length
  72. supported by the device/service (which may be 0).</xs:documentation>
  73. </xs:annotation>
  74. <xs:restriction base="xs:string">
  75. <xs:maxLength value="1024"/>
  76. <xs:minLength value="0"/>
  77. </xs:restriction>
  78. </xs:simpleType>
  79. <!--===============================-->
  80. </xs:schema>