validator.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: cogadmin
  5. (C) Copyright IBM Corp. 2005, 2015
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. -->
  12. <validator
  13. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  14. xsi:schemaLocation="http://developer.cognos.com/schemas/validator/1/ ../schemas/validator.xsd"
  15. xmlns="http://developer.cognos.com/schemas/validator/1/"
  16. xmlns:fragment="urn:cognos:fragments:validator"
  17. namespace="urn:cognos:fragments:validator:cogadmin" version="1.0">
  18. <import parameter="true" namespace="urn:cognos:fragments:validator"/>
  19. <!-- **********************parameters section********************** -->
  20. <ruleDef id="resourceID">
  21. <type>
  22. <string maxLength="1023"/>
  23. </type>
  24. </ruleDef>
  25. <ruleDef id="storeID">
  26. <pattern>
  27. <regex>[*a-zA-Z0-9-_/-]{0,1024}</regex>
  28. </pattern>
  29. </ruleDef>
  30. <ruleDef id="boolean">
  31. <pattern>
  32. <regex>(true)|(false)</regex>
  33. </pattern>
  34. </ruleDef>
  35. <ruleDef id="storeIDs" operator="and">
  36. <type>
  37. <string maxLength="4096"/>
  38. </type>
  39. <pattern>
  40. <regex>\[[a-zA-Z0-9-_/,":{}]*\]</regex>
  41. </pattern>
  42. </ruleDef>
  43. <ruleDef id="filter_priority" operator="or">
  44. <type>
  45. <unsignedInt min="1" max="5"/>
  46. </type>
  47. <type>
  48. <string maxLength="0"/>
  49. </type>
  50. </ruleDef>
  51. <ruleDef id="filter_status">
  52. <enumeration emptyValid="true">
  53. <list>cancelled,disabled,enabled,executing,failed,succeeded,pending,suspended,scheduled,inactive</list>
  54. </enumeration>
  55. </ruleDef>
  56. <ruleDef id="filter_type">
  57. <type>
  58. <string maxLength="255"/>
  59. </type>
  60. </ruleDef>
  61. <ruleDef id="filter_duration" operator="or">
  62. <type>
  63. <unsignedInt min="0" max="8760"/>
  64. </type>
  65. <type>
  66. <string maxLength="0"/>
  67. </type>
  68. </ruleDef>
  69. <ruleDef id="filter_age" operator="or">
  70. <type>
  71. <unsignedInt min="0" max="8760"/>
  72. </type>
  73. <type>
  74. <string maxLength="0"/>
  75. </type>
  76. </ruleDef>
  77. <ruleDef id="filter_scope">
  78. <type>
  79. <string maxLength="1023"/>
  80. </type>
  81. </ruleDef>
  82. <ruleDef id="filter_dispatcher">
  83. <type>
  84. <string maxLength="255"/>
  85. </type>
  86. </ruleDef>
  87. <ruleDef id="filter_tenantid">
  88. <type>
  89. <string maxLength="255"/>
  90. </type>
  91. </ruleDef>
  92. <ruleDef id="filter_period">
  93. <enumeration>
  94. <list>last_hours,fromto</list>
  95. </enumeration>
  96. </ruleDef>
  97. <ruleDef id="filter_last_hours" operator="or">
  98. <type>
  99. <unsignedInt min="0" max="8760"/>
  100. </type>
  101. <type>
  102. <string maxLength="0"/>
  103. </type>
  104. </ruleDef>
  105. <ruleDef id="filter_date">
  106. <type>
  107. <string maxLength="255"/>
  108. </type>
  109. </ruleDef>
  110. <ruleDef id="date_period">
  111. <type>
  112. <string maxLength="255"/>
  113. </type>
  114. </ruleDef>
  115. <ruleDef id="time_period">
  116. <type>
  117. <string maxLength="255"/>
  118. </type>
  119. </ruleDef>
  120. <ruleDef id="user">
  121. <type>
  122. <string maxLength="255"/>
  123. </type>
  124. </ruleDef>
  125. <ruleDef id="expanded_rows">
  126. <type>
  127. <string maxLength="255"/>
  128. </type>
  129. </ruleDef>
  130. <ruleDef id="sort_order">
  131. <enumeration emptyValid="true">
  132. <list>ascending,descending</list>
  133. </enumeration>
  134. </ruleDef>
  135. <ruleDef id="sort_column">
  136. <type>
  137. <string maxLength="255"/>
  138. </type>
  139. </ruleDef>
  140. <ruleDef id="resourceLabel">
  141. <type>
  142. <string maxLength="255"/>
  143. </type>
  144. </ruleDef>
  145. <ruleDef id="boolean">
  146. <enumeration emptyValid="true">
  147. <list>true,false</list>
  148. </enumeration>
  149. </ruleDef>
  150. <ruleDef id="actionType">
  151. <enumeration>
  152. <list>resource,group</list>
  153. </enumeration>
  154. </ruleDef>
  155. <ruleDef id="actionContextID">
  156. <type>
  157. <string maxLength="255"/>
  158. </type>
  159. </ruleDef>
  160. <ruleDef id="priorityMode">
  161. <enumeration>
  162. <list>updateSchedules,updateCurrentActivities</list>
  163. </enumeration>
  164. </ruleDef>
  165. <ruleDef id="timestamp">
  166. <type>
  167. <string maxLength="255"/>
  168. </type>
  169. </ruleDef>
  170. <ruleDef id="granularity">
  171. <enumeration>
  172. <list>hour,day,week,month</list>
  173. </enumeration>
  174. </ruleDef>
  175. <ruleDef id="filterDisplayName">
  176. <type>
  177. <string maxLength="255"/>
  178. </type>
  179. </ruleDef>
  180. </validator>