forked from t-yuki/ooxml-xsd
-
Notifications
You must be signed in to change notification settings - Fork 3
/
dml-diagramDataModel.xsd
205 lines (205 loc) · 8.6 KB
/
dml-diagramDataModel.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://schemas.openxmlformats.org/drawingml/2006/diagram" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns="http://schemas.openxmlformats.org/drawingml/2006/diagram">
<xsd:import schemaLocation="shared-relationshipReference.xsd" namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" />
<xsd:include schemaLocation="dml-diagramLayoutVariables.xsd" />
<xsd:include schemaLocation="dml-diagramElementPropertySet.xsd" />
<xsd:import schemaLocation="dml-graphicalObjectFormat.xsd" namespace="http://schemas.openxmlformats.org/drawingml/2006/main" />
<xsd:import schemaLocation="dml-text.xsd" namespace="http://schemas.openxmlformats.org/drawingml/2006/main" />
<xsd:simpleType name="ST_PtType">
<xsd:annotation>
<xsd:documentation>Point Type</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="node">
<xsd:annotation>
<xsd:documentation>Node</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="asst">
<xsd:annotation>
<xsd:documentation>Assistant Element</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="doc">
<xsd:annotation>
<xsd:documentation>Document</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="pres">
<xsd:annotation>
<xsd:documentation>Presentation</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="parTrans">
<xsd:annotation>
<xsd:documentation>Parent Transition</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="sibTrans">
<xsd:annotation>
<xsd:documentation>Sibling Transition</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_Pt">
<xsd:sequence>
<xsd:element name="prSet" type="CT_ElemPropSet" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Property Set</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Shape Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="t" type="a:CT_TextBody" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Text Body</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="modelId" type="ST_ModelId" use="required">
<xsd:annotation>
<xsd:documentation>Model Identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type" type="ST_PtType" use="optional" default="node">
<xsd:annotation>
<xsd:documentation>Point Type</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="cxnId" type="ST_ModelId" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Connection Identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_PtList">
<xsd:sequence>
<xsd:element name="pt" type="CT_Pt" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Point</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ST_CxnType">
<xsd:annotation>
<xsd:documentation>Connection Type</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="parOf">
<xsd:annotation>
<xsd:documentation>Parent Of</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="presOf">
<xsd:annotation>
<xsd:documentation>Presentation Of</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="presParOf">
<xsd:annotation>
<xsd:documentation>Presentation Parent Of</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="unknownRelationship">
<xsd:annotation>
<xsd:documentation>Unknown Relationship</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_Cxn">
<xsd:sequence>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="modelId" type="ST_ModelId" use="required">
<xsd:annotation>
<xsd:documentation>Model Identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type" type="ST_CxnType" use="optional" default="parOf">
<xsd:annotation>
<xsd:documentation>Point Type</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="srcId" type="ST_ModelId" use="required">
<xsd:annotation>
<xsd:documentation>Source Identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="destId" type="ST_ModelId" use="required">
<xsd:annotation>
<xsd:documentation>Destination Identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="srcOrd" type="xsd:unsignedInt" use="required">
<xsd:annotation>
<xsd:documentation>Source Position</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="destOrd" type="xsd:unsignedInt" use="required">
<xsd:annotation>
<xsd:documentation>Destination Position</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="parTransId" type="ST_ModelId" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Parent Transition Identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="sibTransId" type="ST_ModelId" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Sibling Transition Identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="presId" type="xsd:string" use="optional" default="">
<xsd:annotation>
<xsd:documentation>Presentation Identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_CxnList">
<xsd:sequence>
<xsd:element name="cxn" type="CT_Cxn" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Connection</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_DataModel">
<xsd:sequence>
<xsd:element name="ptLst" type="CT_PtList">
<xsd:annotation>
<xsd:documentation>Point List</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="cxnLst" type="CT_CxnList" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Connection List</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="bg" type="a:CT_BackgroundFormatting" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Background Formatting</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="whole" type="a:CT_WholeE2oFormatting" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Whole E2O Formatting</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="dataModel" type="CT_DataModel">
<xsd:annotation>
<xsd:documentation>Data Model</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>