kpml-request.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns="urn:ietf:params:xml:ns:kpml-request" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ietf:params:xml:ns:kpml-request" elementFormDefault="qualified" attributeFormDefault="unqualified">
  3. <xs:element name="kpml-request">
  4. <xs:annotation>
  5. <xs:documentation>IETF Keypad Markup Language Request
  6. </xs:documentation>
  7. </xs:annotation>
  8. <xs:complexType>
  9. <xs:sequence>
  10. <xs:element name="stream" minOccurs="0">
  11. <xs:complexType>
  12. <xs:choice>
  13. <xs:element name="reverse" minOccurs="0"/>
  14. <xs:any namespace="##other"/>
  15. </xs:choice>
  16. </xs:complexType>
  17. </xs:element>
  18. <xs:element name="pattern">
  19. <xs:complexType>
  20. <xs:sequence>
  21. <xs:element name="flush" minOccurs="0">
  22. <xs:annotation>
  23. <xs:documentation>
  24. Default is to not flush buffer
  25. </xs:documentation>
  26. </xs:annotation>
  27. <xs:complexType>
  28. <xs:simpleContent>
  29. <xs:extension base="xs:string"/>
  30. </xs:simpleContent>
  31. </xs:complexType>
  32. </xs:element>
  33. <xs:element name="regex" maxOccurs="unbounded">
  34. <xs:annotation>
  35. <xs:documentation>
  36. Key press notation is a string to allow
  37. for future extension of non-16 digit
  38. keypads or named keys
  39. </xs:documentation>
  40. </xs:annotation>
  41. <xs:complexType mixed="true">
  42. <xs:choice>
  43. <xs:element name="pre" minOccurs="0">
  44. <xs:complexType>
  45. <xs:simpleContent>
  46. <xs:extension base="xs:string"/>
  47. </xs:simpleContent>
  48. </xs:complexType>
  49. </xs:element>
  50. <xs:any namespace="##other"/>
  51. </xs:choice>
  52. <xs:attribute name="tag" type="xs:string" use="optional"/>
  53. </xs:complexType>
  54. </xs:element>
  55. </xs:sequence>
  56. <xs:attribute name="persist" use="optional">
  57. <xs:annotation>
  58. <xs:documentation>Default is "one-shot"
  59. </xs:documentation>
  60. </xs:annotation>
  61. <xs:simpleType>
  62. <xs:restriction base="xs:string">
  63. <xs:enumeration value="one-shot"/>
  64. <xs:enumeration value="persist"/>
  65. <xs:enumeration value="single-notify"/>
  66. </xs:restriction>
  67. </xs:simpleType>
  68. </xs:attribute>
  69. <xs:attribute name="interdigittimer" type="xs:integer" use="optional">
  70. <xs:annotation>
  71. <xs:documentation>Default is 4000 (ms)
  72. </xs:documentation>
  73. </xs:annotation>
  74. </xs:attribute>
  75. <xs:attribute name="criticaldigittimer" type="xs:integer" use="optional">
  76. <xs:annotation>
  77. <xs:documentation>Default is 1000 (ms)
  78. </xs:documentation>
  79. </xs:annotation>
  80. </xs:attribute>
  81. <xs:attribute name="extradigittimer" type="xs:integer" use="optional">
  82. <xs:annotation>
  83. <xs:documentation>Default is 500 (ms)
  84. </xs:documentation>
  85. </xs:annotation>
  86. </xs:attribute>
  87. <xs:attribute name="long" type="xs:integer" use="optional"/>
  88. <xs:attribute name="longrepeat" type="xs:boolean" use="optional"/>
  89. <xs:attribute name="nopartial" type="xs:boolean" use="optional">
  90. <xs:annotation>
  91. <xs:documentation>Default is false
  92. </xs:documentation>
  93. </xs:annotation>
  94. </xs:attribute>
  95. <xs:attribute name="enterkey" type="xs:string" use="optional">
  96. <xs:annotation>
  97. <xs:documentation>No default enterkey
  98. </xs:documentation>
  99. </xs:annotation>
  100. </xs:attribute>
  101. </xs:complexType>
  102. </xs:element>
  103. </xs:sequence>
  104. <xs:attribute name="version" type="xs:string" use="required"/>
  105. </xs:complexType>
  106. </xs:element>
  107. </xs:schema>