-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDM2Foundation.xsd
executable file
·283 lines (283 loc) · 11.1 KB
/
DM2Foundation.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by David M McDaniel (Silver Bullet Solutions, Inc.) -->
<xs:schema xmlns="http://www.ideasgroup.org/dm2" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ism="urn:us:gov:ic:ism:v2" xmlns:ideas="http://www.ideasgroup.org/xsd"
xmlns:dc="http://purl.org/dc/elements/1.1/" targetNamespace="http://www.ideasgroup.org/dm2"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="urn:us:gov:ic:ism:v2"
schemaLocation="https://raw.githubusercontent.com/lonniev/cio.defense.gov.schemas.pes/v2.02c1/IntelligenceCommunityInformationSecurityMarking.xsd"/>
<xs:import namespace="http://www.ideasgroup.org/xsd"
schemaLocation="https://raw.githubusercontent.com/lonniev/cio.defense.gov.schemas.pes/v2.02c1/IdeasFoundation.xsd"/>
<xs:element name="InformationPedigree">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:choice>
<!-- This section is generated from the model according to the IDEAS XSD production rules -->
<xs:element name="NamingScheme">
<xs:annotation>
<xs:documentation>An NameType and a RepresentationScheme whose members
are intentionally Names. Examples: ISO 3166 Country Codes
IdeasNames</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:NamingScheme">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of NameType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="PedigreeInformation">
<xs:annotation>
<xs:documentation>Information describing pedigree</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:IndividualType">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of Information -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="PedigreeInformationType">
<xs:annotation>
<xs:documentation>The Powertype of
PedigreeInformation.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:IndividualTypeType">
<xs:attribute name="exemplar" type="xs:string"/>
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of InformationType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Activity">
<xs:annotation>
<xs:documentation>Work, not specific to a single organization, weapon
system or individual that transforms inputs (Resources) into outputs
(Resources) or changes their state.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:IndividualType">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of IndividualType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="activityConsumesResource">
<xs:annotation>
<xs:documentation>Represents that an activity consumes a
resource</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:CoupleType">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of OverlapType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="activityProducesResource">
<xs:annotation>
<xs:documentation>Represents that an activity produces a
resource</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:CoupleType">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of BeforeAfterType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ruleConstrainsActivity">
<xs:annotation>
<xs:documentation>An overlap between a Rule and the Activities it
allows</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:CoupleType">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of superSubtype -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="measureOfTypeActivity">
<xs:annotation>
<xs:documentation>A measureOfType that relates an Activity to a
Measure</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:superSubtype">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of measureOfType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Measure">
<xs:annotation>
<xs:documentation>The magnitude of some attribute of an
individual.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:IndividualType">
<xs:attribute name="numericValue" type="xs:string"/>
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of Property -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="LocationType">
<xs:annotation>
<xs:documentation>The powertype of Location</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:IndividualType">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of IndividualType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Rule">
<xs:annotation>
<xs:documentation>A principle or condition that governs behavior; a
prescribed guide for conduct or action </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:IndividualType">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of Guidance -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="MeasureTypeUnitsOfMeasure">
<xs:annotation>
<xs:documentation>The subtype of MeasureType that has
units.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:IndividualTypeType">
<xs:attribute name="units" type="xs:string"/>
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of MeasureType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Performer">
<xs:annotation>
<xs:documentation>Any entity - human, automated, or any aggregation of
human and/or automated - that performs an activity and provides a
capability.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:IndividualType">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of Resource -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="measureOfTypeResource">
<xs:annotation>
<xs:documentation>ResourceType is a member of Measure</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:superSubtype">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of measureOfType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="activityPerformedByPerformer">
<xs:annotation>
<xs:documentation>An overlap between a Performer and an Activity that is
non-specific as to whether: 1. the Activity is solely performed by
the Performer 2. the Activity is performed by several Performers 3.
the Performer performs only this Activity 4. the Performer performs
other Activities</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:CoupleType">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of OverlapType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="resourceInLocationType">
<xs:annotation>
<xs:documentation>The relationship that describes the location of a
performer or type of performer</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:CoupleType">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of WholePartType -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Location">
<xs:annotation>
<xs:documentation>A point or extent in space that may be referred to
physically or logically.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:Individual">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of Individual -->
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="typeInstance">
<xs:annotation>
<xs:documentation>A couple that asserts that a Thing is a member of a
Type. Examples: * I am a member of the type People (hard to believe,
but true) * Field Marshal is of the type Rank * Viscount Bernard
Montgomery is of the type Person * The state of Viscount Bernard
Montgomery from 1945 to his death is of type Field
Marshal</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ideas:typeInstance">
<xs:attributeGroup ref="ism:SecurityAttributesOptionGroup"/>
</xs:extension>
<!-- Subtype of couple -->
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attributeGroup ref="ism:SecurityAttributesGroup"/>
</xs:complexType>
</xs:element>
</xs:schema>