1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: mdsrv
- (C) Copyright IBM Corp. 2008, 2010
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--
- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
-
- A specification for the domain of object types and property types that a service will need to specify as
- extensions to the generic specification in lineage.xsd.
- -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:element name="lineageProps">
- <xs:annotation>
- <xs:documentation>Comment describing your root element</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="source"/>
- </xs:choice>
- </xs:complexType>
- </xs:element>
- <xs:element name="objectType">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="mfwType" type="xs:string" use="optional"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="propertyType">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="transformationPriority" type="xs:nonNegativeInteger" use="optional"/>
- <xs:attribute name="description" type="xs:string" use="optional"/>
- <xs:attribute name="mfwType" type="xs:string" use="optional"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="source">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="propertyType" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>property types common to all objects of the source</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="objectTypeSpecification" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>property types specific to object types, or collection of object types</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="objectType" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="propertyType" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>property types that pertain to the set of object types</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="description" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
- </xs:schema>
|