123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- edited with XMLSpy v2010 rel. 3 sp1 (http://www.altova.com) by Biraj Saha (IBM SWG CANADA) -->
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: relmd
- (C) Copyright IBM Corp. 2008, 2015
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <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">
- <xs:include schemaLocation="relmdMetadataBrowseRules.xsd"/>
- <xs:include schemaLocation="../source/relmdMetadataSource.xsd"/>
- <!---->
- <!--Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.-->
- <!--Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).-->
- <xs:attributeGroup name="schemaParentPath">
- <xs:attribute name="parentCatalog" type="xs:string" use="optional"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="parentSchemaPath">
- <xs:attributeGroup ref="relmd:schemaParentPath"/>
- <xs:attribute name="parentSchema" type="xs:string" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="parentColumnContainerPath">
- <xs:attributeGroup ref="relmd:parentSchemaPath"/>
- <xs:attribute name="parentObject" type="xs:string" use="required"/>
- </xs:attributeGroup>
- <xs:element name="browseMetadataRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="relmd:contentStoreDatabaseConnection"/>
- <xs:group ref="relmd:browseFunction"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="browseMetadataResult">
- <xs:complexType>
- <xs:choice>
- <xs:element name="browsedObject" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="description" type="xs:short"/>
- </xs:complexType>
- </xs:element>
- <xs:group ref="relmd:cmDataSourceConnectionFaults"/>
- </xs:choice>
- </xs:complexType>
- </xs:element>
- <xs:group name="browseFunction">
- <xs:choice>
- <xs:element name="catalogsBrowse">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:browseOptions"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="schemasBrowse">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:schemaParentPath"/>
- <xs:attributeGroup ref="relmd:browseOptions"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="tablesBrowse">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:parentSchemaPath"/>
- <xs:attributeGroup ref="relmd:browseOptions"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="viewsBrowse">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:parentSchemaPath"/>
- <xs:attributeGroup ref="relmd:browseOptions"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="columnsBrowse">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:parentColumnContainerPath"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="synonymsBrowse">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:parentSchemaPath"/>
- <xs:attributeGroup ref="relmd:browseOptions"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="proceduresBrowse">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:parentSchemaPath"/>
- <xs:attributeGroup ref="relmd:browseOptions"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="functionsBrowse">
- <xs:complexType>
- <xs:attributeGroup ref="relmd:parentSchemaPath"/>
- <xs:attributeGroup ref="relmd:browseOptions"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:group>
- <xs:attributeGroup name="browseOptions">
- <xs:attribute name="browseQueryType" use="optional" default="regular">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="regular"/>
- <xs:enumeration value="systemObjects"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:attributeGroup>
- </xs:schema>
|