123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: moser
- (C) Copyright IBM Corp. 2015, 2021
- 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="7.4">
- <xsd:complexType name="propertyType">
- <xsd:annotation>
- <xsd:documentation>generic properties.</xsd:documentation>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string" minOccurs="0"/>
- <xsd:element name="value" type="xsd:string" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="baseObjectType">
- <xsd:annotation>
- <xsd:documentation>The base metadata object. used as base object class in JAVA code for tree walking.</xsd:documentation>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="idForExpression" type="xsd:string" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>fully qualified object identifier generated for expression definition.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="physicalObjectType">
- <xsd:annotation>
- <xsd:documentation>The physical metadata object.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="baseObjectType">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string">
- <xsd:annotation>
- <xsd:documentation>The object name as it is known by the underlying data source.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="description" type="xsd:string" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>The object description.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="hidden" type="xsd:boolean" default="false" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>If true, the object is hidden in database.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="originalName" type="xsd:string" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>The original object name which might be different than how it is referred in the undelying data source.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:complexType name="objectType">
- <xsd:annotation>
- <xsd:documentation>The base metadata object.</xsd:documentation>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="baseObjectType">
- <xsd:sequence>
- <xsd:annotation>
- <xsd:documentation>identification and description</xsd:documentation>
- </xsd:annotation>
- <xsd:element name="identifier" type="xsd:string">
- <xsd:annotation>
- <xsd:documentation>The object identifier. (LETTER | "_") (LETTER | DIGIT | "_")* </xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="description" type="xsd:string" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>The object description. Translatable</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="label" type="xsd:string" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>The object label. Translatable</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="comment" type="xsd:string" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>Module developer comment. not Translatable</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="screenTip" type="xsd:string" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>Defines the text that will be displayed when a user passes the cursor over an interface element. Translatable</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="hidden" type="xsd:boolean" default="false" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>If true, the object is hidden in Metadata Tree View.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded">
- <xsd:annotation>
- <xsd:documentation>Generic property container.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="propertyOverride" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
- <xsd:annotation>
- <xsd:documentation>List of properties name that this object override. Only valid if the object is not copy.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="editMode" type="editModeType" default="RW" minOccurs="0">
- <xsd:annotation>
- <xsd:documentation>Transient property to control which aspects of the object are allowed to be changed/overridden. E.g. for objects from FM this will be set to RO, it will be set for all instances of objectType for the FM package.</xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:simpleType name="instanceType">
- <xsd:annotation>
- <xsd:documentation>The instance type. Copy is default instance type</xsd:documentation>
- </xsd:annotation>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="copy">
- <xsd:annotation>
- <xsd:documentation>This instance is a copy of another instance.</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="local">
- <xsd:annotation>
- <xsd:documentation>This instance is defined locally.</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="missing">
- <xsd:annotation>
- <xsd:documentation>
- This instance is a reference of another instance. However, the referenced instance is missing.
- This value is a feedback message to client.
- Module that has metadata objects with missing instanceType is invalid. Saving an invalid module is not allowed.
- </xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="reference">
- <xsd:annotation>
- <xsd:documentation>This instance is a reference of another instance.</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="editModeType">
- <xsd:annotation>
- <xsd:documentation>Transient property to control which aspects of the object are allowed to be changed/overridden.</xsd:documentation>
- </xsd:annotation>
- <xsd:restriction base="xsd:NMTOKEN">
- <xsd:enumeration value="RW">
- <xsd:annotation>
- <xsd:documentation>All aspects of the object are editable.</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- <xsd:enumeration value="RO">
- <xsd:annotation>
- <xsd:documentation>The object is read-only.</xsd:documentation>
- </xsd:annotation>
- </xsd:enumeration>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:schema>
|