2
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<xsd:schema targetNamespace="http://www.omg.org/XMI" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
3 |
<xsd:attribute name="id" type="xsd:ID"/>
|
|
4 |
<xsd:attributeGroup name="IdentityAttribs">
|
|
5 |
<xsd:attribute form="qualified" name="label" type="xsd:string" use="optional"/>
|
|
6 |
<xsd:attribute form="qualified" name="uuid" type="xsd:string" use="optional"/>
|
|
7 |
</xsd:attributeGroup>
|
|
8 |
<xsd:attributeGroup name="LinkAttribs">
|
|
9 |
<xsd:attribute name="href" type="xsd:string" use="optional"/>
|
|
10 |
<xsd:attribute form="qualified" name="idref" type="xsd:IDREF" use="optional"/>
|
|
11 |
</xsd:attributeGroup>
|
|
12 |
<xsd:attributeGroup name="ObjectAttribs">
|
|
13 |
<xsd:attributeGroup ref="xmi:IdentityAttribs"/>
|
|
14 |
<xsd:attributeGroup ref="xmi:LinkAttribs"/>
|
|
15 |
<xsd:attribute fixed="2.0" form="qualified" name="version" type="xsd:string" use="optional"/>
|
|
16 |
<xsd:attribute form="qualified" name="type" type="xsd:QName" use="optional"/>
|
|
17 |
</xsd:attributeGroup>
|
|
18 |
<xsd:complexType name="XMI">
|
|
19 |
<xsd:choice maxOccurs="unbounded" minOccurs="0">
|
|
20 |
<xsd:any processContents="strict"/>
|
|
21 |
</xsd:choice>
|
|
22 |
<xsd:attributeGroup ref="xmi:IdentityAttribs"/>
|
|
23 |
<xsd:attributeGroup ref="xmi:LinkAttribs"/>
|
|
24 |
<xsd:attribute form="qualified" name="type" type="xsd:QName" use="optional"/>
|
|
25 |
<xsd:attribute fixed="2.0" form="qualified" name="version" type="xsd:string" use="required"/>
|
|
26 |
</xsd:complexType>
|
|
27 |
<xsd:element name="XMI" type="xmi:XMI"/>
|
|
28 |
<xsd:complexType name="PackageReference">
|
|
29 |
<xsd:choice maxOccurs="unbounded" minOccurs="0">
|
|
30 |
<xsd:element name="name" type="xsd:string"/>
|
|
31 |
<xsd:element name="version" type="xsd:string"/>
|
|
32 |
</xsd:choice>
|
|
33 |
<xsd:attributeGroup ref="xmi:ObjectAttribs"/>
|
|
34 |
<xsd:attribute name="name" type="xsd:string" use="optional"/>
|
|
35 |
</xsd:complexType>
|
|
36 |
<xsd:element name="PackageReference" type="xmi:PackageReference"/>
|
|
37 |
<xsd:complexType name="Model">
|
|
38 |
<xsd:complexContent>
|
|
39 |
<xsd:extension base="xmi:PackageReference"/>
|
|
40 |
</xsd:complexContent>
|
|
41 |
</xsd:complexType>
|
|
42 |
<xsd:element name="Model" type="xmi:Model"/>
|
|
43 |
<xsd:complexType name="Import">
|
|
44 |
<xsd:complexContent>
|
|
45 |
<xsd:extension base="xmi:PackageReference"/>
|
|
46 |
</xsd:complexContent>
|
|
47 |
</xsd:complexType>
|
|
48 |
<xsd:element name="Import" type="xmi:Import"/>
|
|
49 |
<xsd:complexType name="MetaModel">
|
|
50 |
<xsd:complexContent>
|
|
51 |
<xsd:extension base="xmi:PackageReference"/>
|
|
52 |
</xsd:complexContent>
|
|
53 |
</xsd:complexType>
|
|
54 |
<xsd:element name="MetaModel" type="xmi:MetaModel"/>
|
|
55 |
<xsd:complexType name="Documentation">
|
|
56 |
<xsd:choice maxOccurs="unbounded" minOccurs="0">
|
|
57 |
<xsd:element name="contact" type="xsd:string"/>
|
|
58 |
<xsd:element name="exporter" type="xsd:string"/>
|
|
59 |
<xsd:element name="exporterVersion" type="xsd:string"/>
|
|
60 |
<xsd:element name="longDescription" type="xsd:string"/>
|
|
61 |
<xsd:element name="shortDescription" type="xsd:string"/>
|
|
62 |
<xsd:element name="notice" type="xsd:string"/>
|
|
63 |
<xsd:element name="owner" type="xsd:string"/>
|
|
64 |
</xsd:choice>
|
|
65 |
<xsd:attributeGroup ref="xmi:ObjectAttribs"/>
|
|
66 |
<xsd:attribute name="contact" type="xsd:string" use="optional"/>
|
|
67 |
<xsd:attribute name="exporter" type="xsd:string" use="optional"/>
|
|
68 |
<xsd:attribute name="exporterVersion" type="xsd:string" use="optional"/>
|
|
69 |
<xsd:attribute name="longDescription" type="xsd:string" use="optional"/>
|
|
70 |
<xsd:attribute name="shortDescription" type="xsd:string" use="optional"/>
|
|
71 |
<xsd:attribute name="notice" type="xsd:string" use="optional"/>
|
|
72 |
<xsd:attribute name="owner" type="xsd:string" use="optional"/>
|
|
73 |
</xsd:complexType>
|
|
74 |
<xsd:element name="Documentation" type="xmi:Documentation"/>
|
|
75 |
<xsd:complexType name="Extension">
|
|
76 |
<xsd:choice maxOccurs="unbounded" minOccurs="0">
|
|
77 |
<xsd:any processContents="lax"/>
|
|
78 |
</xsd:choice>
|
|
79 |
<xsd:attributeGroup ref="xmi:ObjectAttribs"/>
|
|
80 |
<xsd:attribute name="extender" type="xsd:string" use="optional"/>
|
|
81 |
<xsd:attribute name="extenderID" type="xsd:string" use="optional"/>
|
|
82 |
</xsd:complexType>
|
|
83 |
<xsd:element name="Extension" type="xmi:Extension"/>
|
|
84 |
<xsd:complexType name="Difference">
|
|
85 |
<xsd:choice maxOccurs="unbounded" minOccurs="0">
|
|
86 |
<xsd:element name="target">
|
|
87 |
<xsd:complexType>
|
|
88 |
<xsd:choice maxOccurs="unbounded" minOccurs="0">
|
|
89 |
<xsd:any processContents="skip"/>
|
|
90 |
</xsd:choice>
|
|
91 |
<xsd:anyAttribute processContents="skip"/>
|
|
92 |
</xsd:complexType>
|
|
93 |
</xsd:element>
|
|
94 |
<xsd:element name="difference" type="xmi:Difference"/>
|
|
95 |
<xsd:element name="container" type="xmi:Difference"/>
|
|
96 |
</xsd:choice>
|
|
97 |
<xsd:attributeGroup ref="xmi:ObjectAttribs"/>
|
|
98 |
<xsd:attribute name="target" type="xsd:IDREFS" use="optional"/>
|
|
99 |
<xsd:attribute name="container" type="xsd:IDREFS" use="optional"/>
|
|
100 |
</xsd:complexType>
|
|
101 |
<xsd:element name="Difference" type="xmi:Difference"/>
|
|
102 |
<xsd:complexType name="Add">
|
|
103 |
<xsd:complexContent>
|
|
104 |
<xsd:extension base="xmi:Difference">
|
|
105 |
<xsd:attribute name="position" type="xsd:string" use="optional"/>
|
|
106 |
<xsd:attribute name="addition" type="xsd:IDREFS" use="optional"/>
|
|
107 |
</xsd:extension>
|
|
108 |
</xsd:complexContent>
|
|
109 |
</xsd:complexType>
|
|
110 |
<xsd:element name="Add" type="xmi:Add"/>
|
|
111 |
<xsd:complexType name="Replace">
|
|
112 |
<xsd:complexContent>
|
|
113 |
<xsd:extension base="xmi:Difference">
|
|
114 |
<xsd:attribute name="position" type="xsd:string" use="optional"/>
|
|
115 |
<xsd:attribute name="replacement" type="xsd:IDREFS" use="optional"/>
|
|
116 |
</xsd:extension>
|
|
117 |
</xsd:complexContent>
|
|
118 |
</xsd:complexType>
|
|
119 |
<xsd:element name="Replace" type="xmi:Replace"/>
|
|
120 |
<xsd:complexType name="Delete">
|
|
121 |
<xsd:complexContent>
|
|
122 |
<xsd:extension base="xmi:Difference"/>
|
|
123 |
</xsd:complexContent>
|
|
124 |
</xsd:complexType>
|
|
125 |
<xsd:element name="Delete" type="xmi:Delete"/>
|
|
126 |
<xsd:complexType name="Any">
|
|
127 |
<xsd:choice maxOccurs="unbounded" minOccurs="0">
|
|
128 |
<xsd:any processContents="skip"/>
|
|
129 |
</xsd:choice>
|
|
130 |
<xsd:anyAttribute processContents="skip"/>
|
|
131 |
</xsd:complexType>
|
|
132 |
</xsd:schema>
|