modelDiff.xsd 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: fmmd
  5. (C) Copyright IBM Corp. 2003, 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure
  7. restricted by GSA ADP Schedule Contract with IBM Corp.
  8. -->
  9. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  10. <xs:element name="ENTER_NAME_OF_ROOT_ELEMENT_HERE">
  11. <xs:annotation>
  12. <xs:documentation>Comment describing your root element</xs:documentation>
  13. </xs:annotation>
  14. <xs:complexType>
  15. <xs:sequence>
  16. <xs:element name="ModelItem">
  17. <xs:complexType>
  18. <xs:sequence>
  19. <xs:element name="Path" type="xs:string" maxOccurs="unbounded">
  20. <xs:annotation>
  21. <xs:documentation>The model id's that are impacted and may exist in reports. These are the model ids we look in the reports for.</xs:documentation>
  22. </xs:annotation>
  23. </xs:element>
  24. <xs:element name="Prop" minOccurs="0">
  25. <xs:annotation>
  26. <xs:documentation>element included if a property has been modified. Element not rewquired for a delete type change</xs:documentation>
  27. </xs:annotation>
  28. <xs:complexType>
  29. <xs:sequence>
  30. <xs:element name="Before" type="xs:string">
  31. <xs:annotation>
  32. <xs:documentation>Value of the property before the change</xs:documentation>
  33. </xs:annotation>
  34. </xs:element>
  35. <xs:element name="After" type="xs:string">
  36. <xs:annotation>
  37. <xs:documentation>Vlaue of the model after the change</xs:documentation>
  38. </xs:annotation>
  39. </xs:element>
  40. </xs:sequence>
  41. <xs:attribute name="Name" type="xs:string">
  42. <xs:annotation>
  43. <xs:documentation>Name of the property</xs:documentation>
  44. </xs:annotation>
  45. </xs:attribute>
  46. </xs:complexType>
  47. </xs:element>
  48. </xs:sequence>
  49. <xs:attribute name="type">
  50. <xs:annotation>
  51. <xs:documentation>The type of differences</xs:documentation>
  52. </xs:annotation>
  53. <xs:simpleType>
  54. <xs:restriction base="xs:NMTOKEN">
  55. <xs:enumeration value="Modified"/>
  56. <xs:enumeration value="Added"/>
  57. <xs:enumeration value="Removed"/>
  58. </xs:restriction>
  59. </xs:simpleType>
  60. </xs:attribute>
  61. <xs:attribute name="num" type="xs:unsignedInt">
  62. <xs:annotation>
  63. <xs:documentation>count starting from 1 for each model item</xs:documentation>
  64. </xs:annotation>
  65. </xs:attribute>
  66. <xs:attribute name="severity">
  67. <xs:annotation>
  68. <xs:documentation>The severity of the change. Danger implies that the reports referencing the paths will be broken. Info means reports may be impacted but should run.</xs:documentation>
  69. </xs:annotation>
  70. <xs:simpleType>
  71. <xs:restriction base="xs:NMTOKEN">
  72. <xs:enumeration value="Danger"/>
  73. <xs:enumeration value="Info"/>
  74. </xs:restriction>
  75. </xs:simpleType>
  76. </xs:attribute>
  77. <xs:attribute name="Name" type="xs:string">
  78. <xs:annotation>
  79. <xs:documentation>Object name that is displayed in the impact report</xs:documentation>
  80. </xs:annotation>
  81. </xs:attribute>
  82. <xs:attribute name="lastChangedBy" type="xs:string">
  83. <xs:annotation>
  84. <xs:documentation>User name of the last person to make the change. This may contain an empty value.</xs:documentation>
  85. </xs:annotation>
  86. </xs:attribute>
  87. <xs:attribute name="lastChanged" type="xs:string">
  88. <xs:annotation>
  89. <xs:documentation>date and time when the last change for the object was made</xs:documentation>
  90. </xs:annotation>
  91. </xs:attribute>
  92. <xs:attribute name="class" type="xs:string">
  93. <xs:annotation>
  94. <xs:documentation>object type as a string from the model. Like querySubject, relationship etc.</xs:documentation>
  95. </xs:annotation>
  96. </xs:attribute>
  97. <xs:attribute name="comment" type="xs:string">
  98. <xs:annotation>
  99. <xs:documentation>develop comment from the model</xs:documentation>
  100. </xs:annotation>
  101. </xs:attribute>
  102. <xs:attribute name="id">
  103. <xs:annotation>
  104. <xs:documentation>object id of the model item that changed</xs:documentation>
  105. </xs:annotation>
  106. </xs:attribute>
  107. </xs:complexType>
  108. </xs:element>
  109. </xs:sequence>
  110. </xs:complexType>
  111. </xs:element>
  112. </xs:schema>