123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- edited with XMLSpy v2010 rel. 3 sp1 (x64) (http://www.altova.com) by IBM SWG CANADA (IBM SWG CANADA) -->
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: moser
- (C) Copyright IBM Corp. 2015, 2016
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.0">
- <xsd:include schemaLocation="metadata.xsd"/>
- <xsd:include schemaLocation="physical.xsd"/>
- <xsd:include schemaLocation="business.xsd"/>
- <xsd:include schemaLocation="view.xsd"/>
- <xsd:include schemaLocation="resource.xsd"/>
- <xsd:element name="module">
- <xsd:annotation>
- <xsd:documentation>The Titan module.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="objectType">
- <xsd:sequence>
- <xsd:element name="version" default="3.0" minOccurs="1" type="xsd:string">
- <xsd:annotation>
- <xsd:documentation>An explicit modeling version number, to detect modified definition or software. Note that the directory should change for major version changes, i.e. once per release.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="container" type="xsd:string">
- <xsd:annotation>
- <xsd:documentation>Specifies the location where the module resides.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:sequence>
- <xsd:element name="use" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
- <xsd:annotation>
- <xsd:documentation>Specifies the imported module. The implementation should be able to resolve macros containing session parameters. This will give the ability to dynamically load the resource modules based on the current runLocal session parameter.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- <xsd:sequence>
- <xsd:element name="useSpec" minOccurs="0" maxOccurs="unbounded">
- <xsd:annotation>
- <xsd:documentation>This is the replacement for the use elements that were defined in earlier versions.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="identifier" type="xsd:string">
- <xsd:annotation>
- <xsd:documentation>The identifier/alias to use in multi-part identifiers. (LETTER | "_") (LETTER | DIGIT | "_")* </xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="type" minOccurs="0">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="database"/>
- <xsd:enumeration value="file"/>
- <xsd:enumeration value="module"/>
- <xsd:enumeration value="dataset"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="storeID" type="xsd:string" minOccurs="0"/>
- <xsd:element name="searchPath" type="xsd:string" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- <xsd:element name="expressionLocale" type="xsd:language" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>Specifies the expression locale for the module.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="fmModel" type="xsd:string" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>Specifies the FM modelPath to use when querying this module in a V5 Query.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:choice>
- <xsd:annotation>
- <xsd:documentation>
- Please note minOccurs="0" maxOccurs="unbounded" is defined on each element, not on "choice".
- This ensures the generated JAXB class can marshal / unmarshal the module in XML/JSON format correctly.
- </xsd:documentation>
- </xsd:annotation>
- <!-- physical object -->
- <xsd:element ref="dataSource" minOccurs="0" maxOccurs="unbounded"/>
- <!-- business objects -->
- <xsd:element ref="querySubject" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element ref="filter" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element ref="calculation" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element ref="relationship" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element ref="parameterMap" minOccurs="0" maxOccurs="unbounded"/>
- <!-- view objects -->
- <xsd:element name="metadataTreeView" type="folderType" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element name="metadataTreeViewFocus" type="focus" minOccurs="0"/>
- <!-- text resource objects -->
- <xsd:element name="textResource" type="textResource" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element ref="drillGroup" minOccurs="0" maxOccurs="unbounded">
- <xsd:annotation>
- <xsd:documentation>drill Information.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:choice>
- <!-- Snapshot feature was deprecated as of 11.0.4 (Helios R4) -->
- <xsd:element name="dataRetrievalMode" default="liveConnection" minOccurs="0">
- <xsd:simpleType>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="liveConnection"/>
- <xsd:enumeration value="snapShot"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
|