moserInfo.xsd 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: moser
  5. (C) Copyright IBM Corp. 2015, 2018
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="6.0">
  9. <xsd:element name="moserInfo">
  10. <xsd:annotation>
  11. <xsd:documentation>A generic container for a Titan modeling service object's metadata info</xsd:documentation>
  12. </xsd:annotation>
  13. <xsd:complexType>
  14. <xsd:sequence>
  15. <!-- Required elements - PLEASE PRESERVE -->
  16. <xsd:element name="href" type="xsd:string" minOccurs="1">
  17. <xsd:annotation>
  18. <xsd:documentation>
  19. The href to an object, path to access this
  20. object
  21. </xsd:documentation>
  22. </xsd:annotation>
  23. </xsd:element>
  24. <xsd:element name="id" type="xsd:string" minOccurs="1">
  25. <xsd:annotation>
  26. <xsd:documentation>
  27. The id of an object, to uniquely identify
  28. this object
  29. </xsd:documentation>
  30. </xsd:annotation>
  31. </xsd:element>
  32. <xsd:element name="state" type="State" minOccurs="1">
  33. <xsd:annotation>
  34. <xsd:documentation>
  35. The state of an object, to identify it's
  36. current state
  37. </xsd:documentation>
  38. </xsd:annotation>
  39. </xsd:element>
  40. <!-- Optional elements -->
  41. <xsd:element name="label" type="xsd:string" minOccurs="0">
  42. <xsd:annotation>
  43. <xsd:documentation>
  44. Optional, the pretty label for an object to
  45. be used by the UI to display to user.
  46. </xsd:documentation>
  47. </xsd:annotation>
  48. </xsd:element>
  49. <xsd:element name="lastModified" type="xsd:string" minOccurs="0">
  50. <xsd:annotation>
  51. <xsd:documentation>
  52. Optional, the last modification time of an
  53. object to know if this object has changed.
  54. </xsd:documentation>
  55. </xsd:annotation>
  56. </xsd:element>
  57. <xsd:element name="model" type="xsd:string" minOccurs="0">
  58. <xsd:annotation>
  59. <xsd:documentation>
  60. Optional, the string to use as modelPath in
  61. a query against this module.
  62. </xsd:documentation>
  63. </xsd:annotation>
  64. </xsd:element>
  65. <xsd:element name="type" type="xsd:string" minOccurs="0">
  66. <xsd:annotation>
  67. <xsd:documentation>
  68. Optional, Either module or lightweightOLAP.
  69. </xsd:documentation>
  70. </xsd:annotation>
  71. </xsd:element>
  72. <xsd:element name="startTime" type="xsd:string" minOccurs="0"/>
  73. <xsd:element name="endTime" type="xsd:string" minOccurs="0"/>
  74. <xsd:element name="lastPublished" type="xsd:string" minOccurs="0">
  75. <xsd:annotation>
  76. <xsd:documentation>
  77. Optional, Time indicating when a package was last published.
  78. </xsd:documentation>
  79. </xsd:annotation>
  80. </xsd:element>
  81. <xsd:element name="lastAnalysisCollection" type="xsd:string" minOccurs="0">
  82. <xsd:annotation>
  83. <xsd:documentation>
  84. Optional, Time indicating when smarts analysis was last performed.
  85. </xsd:documentation>
  86. </xsd:annotation>
  87. </xsd:element>
  88. <xsd:element name="lastOverrideUpdate" type="xsd:string" minOccurs="0">
  89. <xsd:annotation>
  90. <xsd:documentation>
  91. Optional, Time indicating when smarts data was manually edited.
  92. </xsd:documentation>
  93. </xsd:annotation>
  94. </xsd:element>
  95. <xsd:element name="loadOptions" type="xsd:string" minOccurs="0">
  96. <xsd:annotation>
  97. <xsd:documentation>
  98. Optional, The load options that were specified for metadata import or smarts analysis.
  99. </xsd:documentation>
  100. </xsd:annotation>
  101. </xsd:element>
  102. </xsd:sequence>
  103. </xsd:complexType>
  104. </xsd:element>
  105. <xsd:simpleType name="StateType">
  106. <xsd:restriction base="xsd:string">
  107. <xsd:enumeration value="NOTLOADED"/>
  108. <xsd:enumeration value="PENDING"/>
  109. <xsd:enumeration value="LOADING"/>
  110. <xsd:enumeration value="LOADED"/>
  111. <xsd:enumeration value="ERROR"/>
  112. </xsd:restriction>
  113. </xsd:simpleType>
  114. <xsd:simpleType name="ActionType">
  115. <xsd:restriction base="xsd:string">
  116. <xsd:enumeration value="load"/>
  117. <xsd:enumeration value="cancel"/>
  118. <xsd:enumeration value="refresh"/>
  119. <xsd:enumeration value="clear"/>
  120. </xsd:restriction>
  121. </xsd:simpleType>
  122. <xsd:complexType name="State">
  123. <xsd:sequence>
  124. <xsd:element name="type" type="StateType" minOccurs="1"/>
  125. <xsd:element name="actions" type="ActionType" minOccurs="1" maxOccurs="unbounded"/>
  126. </xsd:sequence>
  127. </xsd:complexType>
  128. </xsd:schema>