lineageProps.xsd 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: mdsrv
  5. (C) Copyright IBM Corp. 2008, 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. A specification for the domain of object types and property types that a service will need to specify as
  12. extensions to the generic specification in lineage.xsd.
  13. -->
  14. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  15. <xs:element name="lineageProps">
  16. <xs:annotation>
  17. <xs:documentation>Comment describing your root element</xs:documentation>
  18. </xs:annotation>
  19. <xs:complexType>
  20. <xs:choice maxOccurs="unbounded">
  21. <xs:element ref="source"/>
  22. </xs:choice>
  23. </xs:complexType>
  24. </xs:element>
  25. <xs:element name="objectType">
  26. <xs:complexType>
  27. <xs:simpleContent>
  28. <xs:extension base="xs:string">
  29. <xs:attribute name="mfwType" type="xs:string" use="optional"/>
  30. </xs:extension>
  31. </xs:simpleContent>
  32. </xs:complexType>
  33. </xs:element>
  34. <xs:element name="propertyType">
  35. <xs:complexType>
  36. <xs:simpleContent>
  37. <xs:extension base="xs:string">
  38. <xs:attribute name="transformationPriority" type="xs:nonNegativeInteger" use="optional"/>
  39. <xs:attribute name="description" type="xs:string" use="optional"/>
  40. <xs:attribute name="mfwType" type="xs:string" use="optional"/>
  41. </xs:extension>
  42. </xs:simpleContent>
  43. </xs:complexType>
  44. </xs:element>
  45. <xs:element name="source">
  46. <xs:complexType>
  47. <xs:sequence>
  48. <xs:element ref="propertyType" minOccurs="0" maxOccurs="unbounded">
  49. <xs:annotation>
  50. <xs:documentation>property types common to all objects of the source</xs:documentation>
  51. </xs:annotation>
  52. </xs:element>
  53. <xs:element name="objectTypeSpecification" minOccurs="0" maxOccurs="unbounded">
  54. <xs:annotation>
  55. <xs:documentation>property types specific to object types, or collection of object types</xs:documentation>
  56. </xs:annotation>
  57. <xs:complexType>
  58. <xs:sequence>
  59. <xs:element ref="objectType" minOccurs="0" maxOccurs="unbounded"/>
  60. <xs:element ref="propertyType" minOccurs="0" maxOccurs="unbounded">
  61. <xs:annotation>
  62. <xs:documentation>property types that pertain to the set of object types</xs:documentation>
  63. </xs:annotation>
  64. </xs:element>
  65. </xs:sequence>
  66. </xs:complexType>
  67. </xs:element>
  68. </xs:sequence>
  69. <xs:attribute name="name" type="xs:string" use="required"/>
  70. <xs:attribute name="description" type="xs:string" use="required"/>
  71. </xs:complexType>
  72. </xs:element>
  73. </xs:schema>