/
KDM.kdmXMI.xsd
122 lines (122 loc) · 5.04 KB
/
KDM.kdmXMI.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns:core="http://schema.omg.org/spec/KDM/1.1/core" xmlns:kdm="http://schema.omg.org/spec/KDM/1.1/kdm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schema.omg.org/spec/KDM/1.1/kdm">
<xsd:import namespace="http://schema.omg.org/spec/KDM/1.1/core" schemaLocation="KDM.coreXMI.xsd"/>
<xsd:complexType abstract="true" name="KDMFramework">
<xsd:complexContent>
<xsd:extension base="core:ModelElement">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="audit" type="kdm:Audit"/>
<xsd:element name="extensionFamily" type="kdm:ExtensionFamily"/>
</xsd:choice>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="KDMFramework" type="kdm:KDMFramework"/>
<xsd:complexType abstract="true" name="KDMModel">
<xsd:complexContent>
<xsd:extension base="kdm:KDMFramework"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="KDMModel" type="kdm:KDMModel"/>
<xsd:complexType name="Audit">
<xsd:complexContent>
<xsd:extension base="core:Element">
<xsd:attribute name="description" type="xsd:string"/>
<xsd:attribute name="author" type="xsd:string"/>
<xsd:attribute name="date" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="Audit" type="kdm:Audit"/>
<xsd:complexType name="Segment">
<xsd:complexContent>
<xsd:extension base="kdm:KDMFramework">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="segment" type="kdm:Segment"/>
<xsd:element name="model" type="kdm:KDMModel"/>
</xsd:choice>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="Segment" type="kdm:Segment"/>
<xsd:complexType name="Attribute">
<xsd:complexContent>
<xsd:extension base="core:Element">
<xsd:attribute name="tag" type="xsd:string"/>
<xsd:attribute name="value" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="Attribute" type="kdm:Attribute"/>
<xsd:complexType name="Annotation">
<xsd:complexContent>
<xsd:extension base="core:Element">
<xsd:attribute name="text" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="Annotation" type="kdm:Annotation"/>
<xsd:complexType name="TagDefinition">
<xsd:complexContent>
<xsd:extension base="core:Element">
<xsd:attribute name="tag" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="TagDefinition" type="kdm:TagDefinition"/>
<xsd:complexType abstract="true" name="ExtendedValue">
<xsd:complexContent>
<xsd:extension base="core:Element">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="tag" type="kdm:TagDefinition"/>
</xsd:choice>
<xsd:attribute name="tag" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="ExtendedValue" type="kdm:ExtendedValue"/>
<xsd:complexType name="Stereotype">
<xsd:complexContent>
<xsd:extension base="core:Element">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="tag" type="kdm:TagDefinition"/>
</xsd:choice>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="Stereotype" type="kdm:Stereotype"/>
<xsd:complexType name="ExtensionFamily">
<xsd:complexContent>
<xsd:extension base="core:Element">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="stereotype" type="kdm:Stereotype"/>
</xsd:choice>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="ExtensionFamily" type="kdm:ExtensionFamily"/>
<xsd:complexType name="TaggedRef">
<xsd:complexContent>
<xsd:extension base="kdm:ExtendedValue">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="reference" type="core:ModelElement"/>
</xsd:choice>
<xsd:attribute name="reference" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="TaggedRef" type="kdm:TaggedRef"/>
<xsd:complexType name="TaggedValue">
<xsd:complexContent>
<xsd:extension base="kdm:ExtendedValue">
<xsd:attribute name="value" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="TaggedValue" type="kdm:TaggedValue"/>
</xsd:schema>