-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconnjur_ml.xml
127 lines (126 loc) · 7.13 KB
/
connjur_ml.xml
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
<?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.0" vc:maxVersion="1.1">
<xs:annotation>
<xs:appinfo>CONNJUR_ML Reference Model</xs:appinfo>
<xs:documentation xml:lang="en">
CONNJUR_ML alsows NMR scientists to apply digital preservation methodologies developed in the cultural heritage sphere to be applied to complex NMR computational workflows. CONNJUR_ML achieves this by supplementing the PREMIS namespace with descriptive metadata extensions specific to NMR spectra and class wrappers to group both complete workflows and computational software lineages and dependencies.
</xs:documentation>
</xs:annotation>
<xs:element name="CONNJUR_ML" type="CONNJUR_ComplexType"/>
<!-- An instance is (1) One or more of <spectrum>, <spectrometer>, <event>, <agent> all wrapped within a <CONNJUR_ML> container;
******************************************************************************************** * -->
<xs:complexType name="CONNJUR_ComplexType">
<xs:sequence>
<xs:element name="spectrum" type="spectrumComplexType" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="spectrometer" type="spectrometerComplexType" minOccurs="0" maxOccurs="1"/>
<xs:element name="lineage" type="computationalLineage"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="spectrumComplexType">
<xs:sequence>
<xs:element name="spectrumIdentifier" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="spectralFormat" type="spectrumFormatComplexType"/>
<xs:element name="spectralDimensions" minOccurs="0" maxOccurs="1"/>
<xs:element name="spectralLayout" minOccurs="0" type="spectralLayoutComplexType"/>
<xs:element name="spectralAxis" type="spectralAxisComplexType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="spectrometerComplexType">
<xs:sequence>
<xs:element name="strength" minOccurs="1" maxOccurs="1"/>
<xs:element name="channel" type="spectralChannelComplexType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="spectrumFormatComplexType">
<xs:sequence>
<xs:element name="formatName" minOccurs="1"/> <!-- nmrPipe -->
<xs:element name="formatSpecification" minOccurs="0"/> <!-- URL -->
<xs:element name="formatByteOrder" minOccurs="0"/>
<xs:element name="formatNumericType" minOccurs="0"/> <!-- IEEE-float -->
</xs:sequence>
</xs:complexType>
<xs:complexType name="spectralLayoutComplexType"/>
<xs:complexType name="spectralAxisComplexType">
<xs:sequence>
<xs:element name="sweepwidth" minOccurs="1" maxOccurs="1"/>
<xs:element name="pointType" minOccurs="1" maxOccurs="1"/>
<xs:element name="spacingUnits" minOccurs="1" maxOccurs="1"/> <!-- dw time -->
<xs:element name="totalPoints" minOccurs="1" maxOccurs="1"/> <!-- total numbef of pointTypes -->
<xs:element name="sign" minOccurs="1" maxOccurs="1"/> <!-- frequency sign convention -->
<xs:element name="phaseShift" minOccurs="1" maxOccurs="1"/> <!-- phase shift sign convention -->
<xs:element name="encoding" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="decoupledNucleus" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="constantPhase" minOccurs="0" maxOccurs="1"/>
<xs:element name="linearPhase" minOccurs="0" maxOccurs="1"/>
<xs:element name="domain" minOccurs="1" maxOccurs="1"/> <!-- time/freq -->
<xs:element name="sampling" minOccurs="1" maxOccurs="1"/> <!-- uniform / nus -->
</xs:sequence>
</xs:complexType>
<xs:complexType name="spectralChannelComplexType">
<xs:sequence>
<xs:element name="nucleus" minOccurs="1" maxOccurs="1"/>
<xs:element name="frequency" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="computationalLineage">
<!--Groups representations and computational dependencies that link into agents and events in the workflow -->
<xs:sequence>
<xs:element name="computationalLineageIdentifierType">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="authority" type="xs:string"/>
<xs:attribute name="authorityURI" type="xs:anyURI"/>
<xs:attribute name="valueURI" type="xs:anyURI"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="computationalLineageIdentifierValue" type="xs:string"/>
<xs:element name="computationalLineageInstantiationDate">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="authority" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="computationalLineageCreator" type="xs:string"/>
<!--Repeatable allows for tagging the originator of the lineage or fork -->
<xs:element name="computationalLineageOrigin" type="xs:string"/>
<!--Instiutional or project origination/grant-->
<xs:element name="computationalLineageFork">
<!--pointer in a lineage to indicate a different lineage is a fork of the current lineage-->
<xs:complexType>
<xs:sequence>
<xs:element name="computationalLineageForkDate" type="xs:string"/>
<xs:element name="computatationlLineageForkType" type="xs:string"/>
<xs:element name="computationalLineageForkSubType" type="xs:string"/>
<xs:element name="computationalLineageForkValue" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="computationalLineageReferenceRepository">
<xs:complexType>
<xs:sequence>
<xs:element name="computationalLineageReferenceRepositoryIndentiferType" type="xs:string"/>
<xs:element
name="computationalLineageReferenceRepositoryIndentiferValue" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="computationalLineageLinkingExternalEventIdentifier">
<!--Allows linking to events at the lineage level and for bi-directional cardinality between lineages and events. Perhaps unnecessary-->
<xs:complexType>
<xs:sequence>
<xs:element name="computationalLineageLinkingExternalEventType" type="xs:string"/>
<xs:element name="computationalLineageLinkingExternalEventValue" type="xs:string"/>
<xs:element name="computationalLineageLinkingEmbeddedObjectType" type="xs:string"/>
<xs:element name="computationalLineageLinkingEmbeddedObjectValue" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>