metadataQueryCommands.xsd 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: mdsrv
  5. (C) Copyright IBM Corp. 2008, 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  9. <xs:element name="commands">
  10. <xs:annotation>
  11. <xs:documentation>Commands used for personal data merge feature</xs:documentation>
  12. </xs:annotation>
  13. <xs:complexType>
  14. <xs:choice>
  15. <xs:element ref="queryModelDataSources"/>
  16. </xs:choice>
  17. </xs:complexType>
  18. </xs:element>
  19. <xs:element name="queryModelDataSources">
  20. <xs:complexType>
  21. <xs:sequence>
  22. <xs:element name="input">
  23. <xs:complexType>
  24. <xs:sequence>
  25. <xs:element ref="cmSearchPath"/>
  26. </xs:sequence>
  27. </xs:complexType>
  28. </xs:element>
  29. <xs:element name="output">
  30. <xs:complexType>
  31. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  32. <xs:element name="dataSource">
  33. <xs:complexType>
  34. <xs:sequence>
  35. <xs:element name="cmDataSource">
  36. <xs:annotation>
  37. <xs:documentation>name of the corresponding data source object stored in Content Store that contains connection information.</xs:documentation>
  38. </xs:annotation>
  39. </xs:element>
  40. <xs:element name="interface">
  41. <xs:annotation>
  42. <xs:documentation>Indicator of the data source type (e.g. PC for PowerCube, OR for Oracle etc.)</xs:documentation>
  43. </xs:annotation>
  44. </xs:element>
  45. <xs:element name="sourceType" default="regular" minOccurs="0">
  46. <xs:annotation>
  47. <xs:documentation>Indicates the type of the data source: note only 'regular' data sources are associated with a corresponding object in Content Store.</xs:documentation>
  48. </xs:annotation>
  49. <xs:simpleType>
  50. <xs:restriction base="xs:NMTOKEN">
  51. <xs:enumeration value="regular"/>
  52. <xs:enumeration value="personalData"/>
  53. <xs:enumeration value="reportExtract"/>
  54. </xs:restriction>
  55. </xs:simpleType>
  56. </xs:element>
  57. <xs:element name="sourcePath" minOccurs="0">
  58. <xs:annotation>
  59. <xs:documentation>Populated only for personal data sources and contains a path to a file or a report in Content Store.</xs:documentation>
  60. </xs:annotation>
  61. </xs:element>
  62. <xs:element name="directAccess" type="xs:boolean" default="false" minOccurs="0">
  63. <xs:annotation>
  64. <xs:documentation>Populated only for personal data sources indicates if an attempt will be made to access the file directly without prompting.</xs:documentation>
  65. </xs:annotation>
  66. </xs:element>
  67. </xs:sequence>
  68. </xs:complexType>
  69. </xs:element>
  70. </xs:sequence>
  71. </xs:complexType>
  72. </xs:element>
  73. </xs:sequence>
  74. </xs:complexType>
  75. </xs:element>
  76. <xs:element name="cmSearchPath">
  77. <xs:annotation>
  78. <xs:documentation>Path to a model stored in Content Store.</xs:documentation>
  79. </xs:annotation>
  80. </xs:element>
  81. </xs:schema>