relmdMetadataSource.xsd 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: relmd
  5. (C) Copyright IBM Corp. 2008, 2015
  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" xmlns:relmd="http://www.ibm.com/xmlns/prod/cognos/relmd/1/0" targetNamespace="http://www.ibm.com/xmlns/prod/cognos/relmd/1/0" elementFormDefault="qualified" attributeFormDefault="qualified">
  9. <xs:include schemaLocation="../relmdMetadata.xsd"/>
  10. <!--Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.-->
  11. <!--Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).-->
  12. <xs:element name="contentStoreDatabaseConnection">
  13. <xs:annotation>
  14. <xs:documentation>Leads to a DataSourceConnection object in the IBM Cognos Content Store, which contains the required parameters for connecting to the database.</xs:documentation>
  15. </xs:annotation>
  16. <xs:complexType>
  17. <xs:attributeGroup ref="relmd:cmDataSource">
  18. <xs:annotation>
  19. <xs:documentation>A data source in the Content Store.</xs:documentation>
  20. </xs:annotation>
  21. </xs:attributeGroup>
  22. <xs:attributeGroup ref="relmd:cmDataSourceAmbiguousConnectionResolution"/>
  23. <xs:attributeGroup ref="relmd:cmDataSourceAmbiguousSignonResolution"/>
  24. <xs:attributeGroup ref="relmd:cmDataSourceMissingSignonResolution"/>
  25. </xs:complexType>
  26. </xs:element>
  27. <!---->
  28. <xs:attributeGroup name="cmDataSourceAmbiguousConnectionResolution">
  29. <xs:attribute name="dataSourceConnectionName" type="xs:string" use="optional">
  30. <xs:annotation>
  31. <xs:documentation>Required if the dataSource object contains multiple dataSourceConnection objects (that are "executable" by the current user), </xs:documentation>
  32. </xs:annotation>
  33. </xs:attribute>
  34. </xs:attributeGroup>
  35. <xs:attributeGroup name="cmDataSourceAmbiguousSignonResolution">
  36. <xs:attribute name="dataSourceSignonName" type="xs:string" use="optional">
  37. <xs:annotation>
  38. <xs:documentation>the name of a dataSourceSignon object contained within the data source connection. Required if the dataSourceConnection object contains multiple dataSourceSignon objects (that are "executable" by the current user) </xs:documentation>
  39. </xs:annotation>
  40. </xs:attribute>
  41. </xs:attributeGroup>
  42. <xs:attributeGroup name="cmDataSourceMissingSignonResolution">
  43. <xs:attribute name="encryptedCredentialsXml" type="xs:string" use="optional">
  44. <xs:annotation>
  45. <xs:documentation>the database autherntication credentials, required if the dataSourceConnection object contains no dataSourceSignon objects (that are "executable" by the current user)</xs:documentation>
  46. </xs:annotation>
  47. </xs:attribute>
  48. </xs:attributeGroup>
  49. <!---->
  50. <xs:group name="cmDataSourceConnectionFaults">
  51. <xs:choice>
  52. <xs:element name="cmDataSourceAmbiguousConnectionFault">
  53. <xs:complexType>
  54. <xs:group ref="relmd:cmDataSourceAmbiguousObjectsList"/>
  55. <xs:attributeGroup ref="relmd:cmDataSource"/>
  56. </xs:complexType>
  57. </xs:element>
  58. <xs:element name="cmDataSourceAmbiguousSignonFault">
  59. <xs:complexType>
  60. <xs:group ref="relmd:cmDataSourceAmbiguousObjectsList"/>
  61. <xs:attributeGroup ref="relmd:cmDataSourceConnection"/>
  62. </xs:complexType>
  63. </xs:element>
  64. <xs:element name="cmDataSourceMissingSignonFault">
  65. <xs:complexType>
  66. <xs:attributeGroup ref="relmd:cmDataSourceConnection"/>
  67. </xs:complexType>
  68. </xs:element>
  69. </xs:choice>
  70. </xs:group>
  71. <xs:group name="cmDataSourceAmbiguousObjectsList">
  72. <xs:sequence>
  73. <xs:element name="cmDataSourceAmbiguousObject" maxOccurs="unbounded">
  74. <xs:complexType>
  75. <xs:attribute name="cmObjectName" use="required"/>
  76. </xs:complexType>
  77. </xs:element>
  78. </xs:sequence>
  79. </xs:group>
  80. <xs:attributeGroup name="cmDataSourceConnection">
  81. <xs:attributeGroup ref="relmd:cmDataSource"/>
  82. <xs:attribute name="dataSourceConnectionName" type="xs:string" use="required"/>
  83. </xs:attributeGroup>
  84. </xs:schema>