forked from modelica/ssp-ls-traceability
-
Notifications
You must be signed in to change notification settings - Fork 0
/
STC.xsd
744 lines (712 loc) · 43.2 KB
/
STC.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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified"
vc:minVersion="1.1"
xmlns:stc="http://apps.pmsf.net/SSPTraceability/SSPTraceabilityCommon"
xmlns:ssc="http://ssp-standard.org/SSP1/SystemStructureCommon"
xmlns:xlink="http://www.w3.org/1999/xlink"
targetNamespace="http://apps.pmsf.net/SSPTraceability/SSPTraceabilityCommon">
<xs:import namespace="http://ssp-standard.org/SSP1/SystemStructureCommon" schemaLocation="ssp/SystemStructureCommon.xsd"/>
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="https://www.w3.org/XML/2008/06/xlink.xsd"/>
<xs:complexType name="GeneralInformationType">
<xs:annotation>
<xs:documentation xml:lang="en">
This element is used to encapsulate general information about the
simulation task, which is not part of any specific phase or step.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DerivationChain" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
This element can be used to provide the set of file information that
was used to derive the current file. I.e. if the content of the current
file can be considered to be derived from one or a set of other STC
files, then the top level meta data and DerivationChain information of
those files should be included in their original order as entries in
this file's DerivationChain element.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="DerivationChainEntry" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="GUID" type="xs:string" use="required"/>
<xs:attributeGroup ref="ssc:ATopLevelMetaData"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:group ref="stc:GResourceOrReference" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Links" minOccurs="0" type="stc:LinksType"/>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
</xs:complexType>
<xs:group name="GElementCommon">
<xs:annotation>
<xs:documentation xml:lang="en">
Common element content for all modeling elements of the STC file.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Classification" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">
This element, which can occur multiple times, provides a set of classifications
of an STC modeling element, provided as Keyword Value Pairs (KWP), the meaning
of which is interpreted according to the name of the classification provided in
the name attribute.
This approach can be used, for example, to provide searchable keywords for
content, or to assign and track quality or validation level requirements
across the STC process, or to maintain variant or other classification
content across the process.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ClassificationEntry" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">
This element provides a keyword value pair entry, with the
keyword provided through the keyword attribute and the value
being the contents of the element.
</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="keyword" type="xs:normalizedString" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute gives the keyword for the classification entry
(i.e. keyword value pair). It is left undefined whether this
must be unique across the entries of the Classification element,
or whether repeated entries are allowed. This will depend on
the definition of the classification.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="xlink:type" fixed="simple"/>
<xs:attribute ref="xlink:href">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute gives an optional link for the classification
entry (i.e. keyword value pair). This link can be given in
addition to any content of the classification entry, or it
can be the sole information of the classification entry.
The rules will depend on the definition of the classification.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="type" type="xs:normalizedString">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute provides the name of the type of classification
being provided. The name should be unique across the Classification
elements of the immediately enclosing element.
In order to ensure uniqueness all types should be identified
with reverse domain name notation (cf. Java package names
or Apple UTIs) of a domain that is controlled by the entity
defining the semantics and content of the classification.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Annotations" minOccurs="0" type="ssc:TAnnotations"/>
</xs:sequence>
</xs:group>
<xs:group name="GPhaseCommon">
<xs:sequence>
<xs:element name="Links" minOccurs="0" type="stc:LinksType"/>
<xs:element name="LifeCycleInformation" minOccurs="0" type="stc:LifeCycleInformationType"/>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
</xs:group>
<xs:complexType name="LifeCycleInformationType">
<xs:annotation>
<xs:documentation xml:lang="en">
This element contains life cycle information about the enclosing phase or or step
element. Due to the inherent dependencies of life cycles, life cycle information
at later phases will be dependent on life cycle status of former phases to a
certain extent: For example, if the Implementation Phase is designated as having
reached the status "Validated", it would create a contradiction if the Requirements
Phase has only reached status "Drafted".
Multiple life cycle information entries can be present, in order to record the
historical progression of the life cycle status, however only the last entry in
document order, which will also be of the highest maturity, will be considered
valid for the current file contents, earlier states only recording historical
data.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Drafted" minOccurs="0" type="stc:LifeCycleEntryType"/>
<xs:element name="Defined" minOccurs="0" type="stc:LifeCycleEntryType"/>
<xs:element name="Validated" minOccurs="0" type="stc:LifeCycleEntryType"/>
<xs:element name="Approved" minOccurs="0" type="stc:LifeCycleEntryType"/>
<xs:element name="Archived" minOccurs="0" type="stc:LifeCycleEntryType"/>
<xs:element name="Retracted" minOccurs="0" type="stc:LifeCycleEntryType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="LifeCycleEntryType">
<xs:sequence>
<xs:group ref="stc:GResourceOrReference" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Responsible" type="stc:ResponsibleType"/>
<xs:element name="Signature" minOccurs="0" maxOccurs="unbounded" type="stc:SignatureType">
<xs:annotation>
<xs:documentation xml:lang="en">
This element can contain digital signature information on the checksum
attribute of the life cycle entry element. It is left unspecified what types
of signatures are used and/or available for now. Multiple or no signature elements
may be present.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
<xs:attribute name="date" type="xs:dateTimeStamp" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Timestamp when life cycle entry was assigned. Note that the time stamp data type makes
timezone information mandatory, so that a full ordering of times is possible.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="checksum" type="xs:hexBinary">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute gives the checksum over the phase/step information stored in the enclosing
phase/step element, calculated according to the STC specification. This attribute is optional
if the life cycle stage is not Approved or Archived, but becomes required if the life cycle stage
is Approved or Archived. Optionally, digital signatures over this checksum can be provided using
Signature elements in the enclosing life cycle entry element.
The checksum is calculated using the algorithm indicated by the checksumType attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="checksumType" type="xs:string" default="SHA3-256">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute gives the algorithm for the calculation of the checksum attribute. MUST be
SHA3-256 for now, indicating a SHA3 256bit secure hash algorithm, as specified in FIPS 202.
In the future other checksum algorithms might be supported.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StepType">
<xs:annotation>
<xs:documentation xml:lang="en">
This type specifies the content of each individual step inside a phase of the overall Simulation Task.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Input" minOccurs="0" type="stc:ParticleType"/>
<xs:element name="Procedure" minOccurs="0" type="stc:ParticleType"/>
<xs:element name="Output" minOccurs="0" type="stc:ParticleType"/>
<xs:element name="Rationale" minOccurs="0" type="stc:ParticleType"/>
<xs:element name="Links" minOccurs="0" type="stc:LinksType"/>
<xs:element name="LifeCycleInformation" type="stc:LifeCycleInformationType" minOccurs="0"/>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
<xs:complexType name="ParticleType">
<xs:annotation>
<xs:documentation xml:lang="en">
This type specifies the content of each individual particle inside a step of a phase of the overall Simulation Task.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="stc:GResourceOrReference" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
<xs:complexType name="LinksType">
<xs:annotation>
<xs:documentation xml:lang="en">
This element provides a set of links that provide more detailed relationship information between parts of
resources or other information relevant to a phase or step.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Link" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">
This element provides an extended link conforming to the XLink specification. It provides detailed
relationship information between (parts of) resources or other information relevant to a phase or
step.
An extended link relates 2 or more locators (which identify a particular piece of information
through an URI). It can provide navigation information between these locators through arcs.
Locators, arcs and the link itself can further specify their semantic meaning through optional
role or arcrole attributes. The SSP Traceability specification currently provides no predefined
roles.
All individual elements and attributes are as specified in the XLink specification.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Locator" minOccurs="2" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">
This element provides a locator conforming to the XLink specification. It identifies a
particular piece of information through an URI, that is taking part in the linking
relationship. Locators can further specify their semantic meaning through an optional
role attribute. The SSP Traceability specification currently provides no predefined roles.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute ref="xlink:type" fixed="locator"/>
<xs:attribute ref="xlink:href" use="required"/>
<xs:attribute ref="xlink:label"/>
<xs:attribute ref="xlink:title"/>
<xs:attribute ref="xlink:role"/>
</xs:complexType>
</xs:element>
<xs:element name="Arc" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">
This element provides an arc conforming to the XLink specification. An arc relates sets
of locators in a navigable relationship, including directionality information.
Arcs can further specify their semantic meaning through an optional arcrole attribute.
The SSP Traceability specification currently provides no predefined roles.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute ref="xlink:type" fixed="arc"/>
<xs:attribute ref="xlink:from" use="required"/>
<xs:attribute ref="xlink:to" use="required"/>
<xs:attribute ref="xlink:title"/>
<xs:attribute ref="xlink:arcrole"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute ref="xlink:type" fixed="extended"/>
<xs:attribute ref="xlink:title"/>
<xs:attribute ref="xlink:role"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ResourceType">
<xs:annotation>
<xs:documentation xml:lang="en">
This element provides information on one resource that is related to the particular step
and particle. Multiple (or no) resources may be present.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Content" minOccurs="0" maxOccurs="1" type="stc:ContentType">
<xs:annotation>
<xs:documentation xml:lang="en">
This optional element can contain inlined content of the resource. If it is present,
then the attribute source of the Resource element must not be present.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Summary" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation xml:lang="en">
This element provides an optional summary of the resource being referenced. The
summary information is intended for human consumption to get an overview of the
resource content without looking at the content itself. The summary content can
be provided inline through the Content element, or it can be provided through the
source URI attribute.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Content" minOccurs="0" maxOccurs="1" type="stc:ContentType">
<xs:annotation>
<xs:documentation xml:lang="en">
This optional element can contain inlined content of the resource summary. If it
is present, then the attribute source of the Summary element must not be present.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Signature" minOccurs="0" maxOccurs="unbounded" type="stc:SignatureType">
<xs:annotation>
<xs:documentation xml:lang="en">
This element can contain digital signature information on the summary referenced
by the enclosing Summary element. It is left unspecified what types of signatures
are used and/or available for now. Multiple or no signature elements may be present.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
This mandatory attribute specifies the MIME type of the resource summary, which
does not have a default value. If no specific MIME type can be indicated, then
the type application/octet-stream is to be used. If markdown content is used,
then the type text/markdown shall be used.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="source" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute indicates the source of the resource summary as a
URI (cf. RFC 3986). For purposes of the resolution of relative URIs
the base URI is the URI of the STC, if the sourceBase attribute is
not specified or is specified as STC, and the URI of the referenced
resource if the sourceBase attribute is specified as resource.
This allows the specification of summary sources that reside
inside the resource (e.g. an FMU) through relative URIs.
For summaries that are located alongside the STC, relative URIs
without scheme and authority can and should be used to specify the
summary sources. For summaries that are packaged inside an SSP
that contains this STC, this is mandatory (in this way, the STC
URIs remain valid after unpacking the SSP into the filesystem).
If the source attribute is missing, the summary is provided
inline as contents of the Content element, which must not be
present otherwise.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sourceBase" use="optional" default="STC">
<xs:annotation>
<xs:documentation xml:lang="en">
Defines the base the source URI is resolved against: If the attribute
is missing or is specified as STC, the source is resolved against the
URI of the STC, if the attribute is specified as resource the URI is
resolved against the (resolved) URI of the resource source.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="STC"/>
<xs:enumeration value="resource"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="MetaData" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">
This element can specify additional meta data for the given resource. Multiple
(or no) MetaData elements may be present.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Content" minOccurs="0" maxOccurs="1" type="stc:ContentType">
<xs:annotation>
<xs:documentation xml:lang="en">
This optional element can contain inlined content of the resource meta data. If it
is present, then the attribute source of the MetaData element must not be present.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Signature" minOccurs="0" maxOccurs="unbounded" type="stc:SignatureType">
<xs:annotation>
<xs:documentation xml:lang="en">
This element can contain digital signature information on the meta data referenced
by the enclosing MetaData element. It is left unspecified what types of signatures
are used and/or available for now. Multiple or no signature elements may be present.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
<xs:attribute name="kind" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute indicates the kind of resource meta data that is referenced, i.e.
what role it plays in relation to the resource being described.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="general"/>
<xs:enumeration value="quality"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
This mandatory attribute specifies the MIME type of the resource meta data, which
does not have a default value. If no specific MIME type can be indicated, then
the type application/octet-stream is to be used.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="source" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute indicates the source of the resource meta data as a
URI (cf. RFC 3986). For purposes of the resolution of relative URIs
the base URI is the URI of the STC, if the sourceBase attribute is
not specified or is specified as STC, and the URI of the referenced
resource if the sourceBase attribute is specified as resource.
This allows the specification of meta data sources that reside
inside the resource (e.g. an FMU) through relative URIs.
For meta data that are located alongside the STC, relative URIs
without scheme and authority can and should be used to specify the
meta data sources. For meta data that are packaged inside an SSP
that contains this STC, this is mandatory (in this way, the STC
URIs remain valid after unpacking the SSP into the filesystem).
If the source attribute is missing, the meta data is provided
inline as contents of the Content element, which must not be
present otherwise.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sourceBase" use="optional" default="STC">
<xs:annotation>
<xs:documentation xml:lang="en">
Defines the base the source URI is resolved against: If the attribute
is missing or is specified as STC, the source is resolved against the
URI of the STC, if the attribute is specified as resource the URI is
resolved against the (resolved) URI of the resource source.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="STC"/>
<xs:enumeration value="resource"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Signature" minOccurs="0" maxOccurs="unbounded" type="stc:SignatureType">
<xs:annotation>
<xs:documentation xml:lang="en">
This element can contain digital signature information on the resource referenced
by the enclosing Resource element. It is left unspecified what types of signatures
are used and/or available for now. Multiple or no signature elements may be present.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
<xs:attribute name="kind" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute indicates the kind of resource that is referenced, i.e. what role it
plays in relation to the particle being described. If no more precise label applies,
the kind document can be used.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="document"/>
<xs:enumeration value="requirement"/>
<xs:enumeration value="specification"/>
<xs:enumeration value="model"/>
<xs:enumeration value="parameter"/>
<xs:enumeration value="system"/>
<xs:enumeration value="test case"/>
<xs:enumeration value="result"/>
<xs:enumeration value="method"/>
<xs:enumeration value="rationale"/>
<xs:enumeration value="report"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="scope">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute indicates the scope or level that a resource is specific to, i.e. whether the
resource applies at a global, system, subsystem or component level. The use of this attribute
is optional, i.e. it should only be specified where it makes sense to give this kind of
information.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="global"/>
<xs:enumeration value="system"/>
<xs:enumeration value="subsystem"/>
<xs:enumeration value="component"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
This mandatory attribute specifies the MIME type of the resource, which does not
have a default value. If no specific MIME type can be indicated, then the type
application/octet-stream is to be used.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="source" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute indicates the source of the resource as a URI
(cf. RFC 3986). For purposes of the resolution of relative URIs
the base URI is the URI of the STC. Therefore for resources
that are located alongside the STC, relative URIs without scheme
and authority can and should be used to specify the component
sources. For resources that are packaged inside an SSP that
contains this STC, this is mandatory (in this way, the STC URIs
remain valid after unpacking the SSP into the filesystem).
If the source attribute is missing, the resource is provided
inline as contents of the Content element, which must not be
present otherwise.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="master" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute, if present, indicates the original, canonical master source for the resource.
If it is present, it indicates that the content provided via source attribute and/or Content
element is only a copy of the original, canonical data, and this attributes provides the
URI reference to that original canonical master data.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
<xs:complexType name="SignatureType">
<xs:sequence>
<xs:element name="Content" minOccurs="0" maxOccurs="1" type="stc:ContentType"/>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
<xs:attribute name="role" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
This mandatory attribute specifies the role this signature has in the overall
process. It indicates whether the digital signature is intended to just convey
the authenticity of the information, or whether a claim for suitability of
the information for certain purposes is made. In the later case, the digital
signature format should include detailed information about what suitability
claims are being made.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="authenticity"/>
<xs:enumeration value="suitability"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
This mandatory attribute specifies the MIME type of the resource signature, which
does not have a default value. If no specific MIME type can be indicated, then
the type application/octet-stream is to be used.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="source" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute indicates the source of the resource signature as a
URI (cf. RFC 3986). For purposes of the resolution of relative URIs
the base URI is the URI of the STC, if the sourceBase attribute is
not specified or is specified as STC, and the URI of the referenced
resource if the sourceBase attribute is specified as resource.
This allows the specification of signature sources that reside
inside the resource (e.g. an FMU) through relative URIs.
For signatures that are located alongside the STC, relative URIs
without scheme and authority can and should be used to specify the
signature sources. For signatures that are packaged inside an SSP
that contains this STC, this is mandatory (in this way, the STC
URIs remain valid after unpacking the SSP into the filesystem).
If the source attribute is missing, the signature is provided
inline as contents of the Content element, which must not be
present otherwise.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sourceBase" use="optional" default="STC">
<xs:annotation>
<xs:documentation xml:lang="en">
Defines the base the source URI is resolved against: If the attribute
is missing or is specified as STC, the source is resolved against the
URI of the STC, if the attribute is specified as resource the URI is
resolved against the (resolved) URI of the resource source.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="STC"/>
<xs:enumeration value="resource"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ContentType" mixed="true">
<xs:annotation>
<xs:documentation xml:lang="en">
This optional element can contain inlined content of an entity. If it is present,
then the attribute source of the enclosing element must not be present.
</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="ResponsibleType">
<xs:annotation>
<xs:documentation xml:lang="en">
This element gives information on the responsible entity for a given step.
</xs:documentation>
</xs:annotation>
<xs:attribute name="organization" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute gives the organization that is responsible for a given step.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="role" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute gives the role of the person that is responsible for a given step.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute gives the name of the person that is responsible for a given step.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:group name="GResourceOrReference">
<xs:annotation>
<xs:documentation xml:lang="en">
This group provides a choice between a resource and a resource reference, which references
a resource defined in another location in the file or somewhere else.
</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="Resource" type="stc:ResourceType"/>
<xs:element name="ResourceReference">
<xs:annotation>
<xs:documentation xml:lang="en">
This element references a resource element defined in another place, that is
related to the particular step and particle. The referenced resource is
specified using a URI. The resource reference element conforms to the simple
link type of the XLink specification.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
<xs:attribute ref="xlink:type" fixed="simple"/>
<xs:attribute ref="xlink:href" use="required"/>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:group>
</xs:schema>