moserInfo.xsd 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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, 2019
  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="7.4">
  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 object
  20. </xsd:documentation>
  21. </xsd:annotation>
  22. </xsd:element>
  23. <xsd:element name="id" type="xsd:string" minOccurs="1">
  24. <xsd:annotation>
  25. <xsd:documentation>
  26. !!! Deprecated - Use ids !!! The id of an object, to uniquely identify this object
  27. </xsd:documentation>
  28. </xsd:annotation>
  29. </xsd:element>
  30. <xsd:element name="ids" type="xsd:string" minOccurs="1" maxOccurs="unbounded">
  31. <xsd:annotation>
  32. <xsd:documentation>
  33. The ids of objects, to uniquely identify objects created
  34. </xsd:documentation>
  35. </xsd:annotation>
  36. </xsd:element>
  37. <xsd:element name="state" type="State" minOccurs="1">
  38. <xsd:annotation>
  39. <xsd:documentation>
  40. The state of an object, to identify it's current state
  41. </xsd:documentation>
  42. </xsd:annotation>
  43. </xsd:element>
  44. <!-- Optional elements -->
  45. <xsd:element name="label" type="xsd:string" minOccurs="0">
  46. <xsd:annotation>
  47. <xsd:documentation>
  48. Optional, the pretty label for an object to be used by the UI to display to user.
  49. </xsd:documentation>
  50. </xsd:annotation>
  51. </xsd:element>
  52. <xsd:element name="lastModified" type="xsd:string" minOccurs="0">
  53. <xsd:annotation>
  54. <xsd:documentation>
  55. Optional, the last modification time of an object to know if this object has changed.
  56. </xsd:documentation>
  57. </xsd:annotation>
  58. </xsd:element>
  59. <xsd:element name="model" type="xsd:string" minOccurs="0">
  60. <xsd:annotation>
  61. <xsd:documentation>
  62. Optional, the string to use as modelPath in a query against this module.
  63. </xsd:documentation>
  64. </xsd:annotation>
  65. </xsd:element>
  66. <xsd:element name="type" type="xsd:string" minOccurs="0">
  67. <xsd:annotation>
  68. <xsd:documentation>
  69. Optional, Either module or lightweightOLAP.
  70. </xsd:documentation>
  71. </xsd:annotation>
  72. </xsd:element>
  73. <xsd:element name="startTime" type="xsd:string" minOccurs="0"/>
  74. <xsd:element name="endTime" type="xsd:string" minOccurs="0"/>
  75. <xsd:element name="lastPublished" type="xsd:string" minOccurs="0">
  76. <xsd:annotation>
  77. <xsd:documentation>
  78. Optional, Time indicating when a package was last published.
  79. </xsd:documentation>
  80. </xsd:annotation>
  81. </xsd:element>
  82. <xsd:element name="lastAnalysisCollection" type="xsd:string" minOccurs="0">
  83. <xsd:annotation>
  84. <xsd:documentation>
  85. Optional, Time indicating when smarts analysis was last performed.
  86. </xsd:documentation>
  87. </xsd:annotation>
  88. </xsd:element>
  89. <xsd:element name="lastOverrideUpdate" type="xsd:string" minOccurs="0">
  90. <xsd:annotation>
  91. <xsd:documentation>
  92. Optional, Time indicating when smarts data was manually edited.
  93. </xsd:documentation>
  94. </xsd:annotation>
  95. </xsd:element>
  96. <xsd:element name="loadOptions" type="xsd:string" minOccurs="0">
  97. <xsd:annotation>
  98. <xsd:documentation>
  99. Optional, The load options that were specified for metadata import or smarts analysis.
  100. </xsd:documentation>
  101. </xsd:annotation>
  102. </xsd:element>
  103. </xsd:sequence>
  104. </xsd:complexType>
  105. </xsd:element>
  106. <xsd:simpleType name="StateType">
  107. <xsd:restriction base="xsd:string">
  108. <xsd:enumeration value="NOTLOADED"/>
  109. <xsd:enumeration value="PENDING"/>
  110. <xsd:enumeration value="LOADING"/>
  111. <xsd:enumeration value="LOADED"/>
  112. <xsd:enumeration value="ERROR"/>
  113. </xsd:restriction>
  114. </xsd:simpleType>
  115. <xsd:simpleType name="ActionType">
  116. <xsd:restriction base="xsd:string">
  117. <xsd:enumeration value="load"/>
  118. <xsd:enumeration value="cancel"/>
  119. <xsd:enumeration value="refresh"/>
  120. <xsd:enumeration value="clear"/>
  121. </xsd:restriction>
  122. </xsd:simpleType>
  123. <xsd:complexType name="State">
  124. <xsd:sequence>
  125. <xsd:element name="type" type="StateType" minOccurs="1"/>
  126. <xsd:element name="actions" type="ActionType" minOccurs="1" maxOccurs="unbounded"/>
  127. </xsd:sequence>
  128. </xsd:complexType>
  129. </xsd:schema>