-
Notifications
You must be signed in to change notification settings - Fork 3
/
sources.xsd
156 lines (153 loc) · 5.98 KB
/
sources.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified"
xmlns="http://vamdc.org/xml/xsams/1.0"
xmlns:xsams="http://vamdc.org/xml/xsams/1.0"
targetNamespace="http://vamdc.org/xml/xsams/1.0">
<xs:include schemaLocation="typesAttributes.xsd"/>
<xs:element name="Sources" type="SourcesType">
<xs:annotation>
<xs:documentation>All relevant references to data sources</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="AuthorType">
<xs:sequence>
<xs:element name="Name" type="xs:string">
<xs:annotation>
<xs:documentation>Author's name. Example: A. Einstein</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Address" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Author's address. Example: AMD Unit, IAEA, Vienna, Austria</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SourcesType">
<xs:sequence>
<xs:element name="Source" type="SourceType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A bibliography (bibreference) entry</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SourceType">
<xs:annotation>
<xs:documentation>Description of bibliography (references). Word "reference" is avoided</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="Category" type="SourceCategoryType">
<xs:annotation>
<xs:documentation>Bibliographic reference type. Example: journal</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Bibliographic reference name. Example: Physical Review</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Year" type="xs:gYear">
<xs:annotation>
<xs:documentation>Year of the bibliographic reference. Example: 2008</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Authors" type="AuthorsType"/>
<xs:element name="Title" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Title</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Volume" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Volume of the bibliographic reference. Example: 72A</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DigitalObjectIdentifier" type="xs:token" minOccurs="0">
<xs:annotation>
<xs:documentation>Digital Object Identifier. Example: doi:10.1016/j.adt.2007.11.003</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArticleNumber" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Article number, journal-specific article identifier, may contain any string</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PageBegin" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Initial page of a bibliographic reference. Example: 22</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PageEnd" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Final page of a bibliographic reference. Example: 23</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UniformResourceIdentifier" type="xs:anyURI" minOccurs="0">
<xs:annotation>
<xs:documentation>A Uniform Resource Identifier of a bibliographic reference. Example: http://www.iop.org/EJ/abstract/0953-4075/41/10/105002</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Publisher" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Publisher of a bibliographic reference. Example: IOP Publishing Ltd</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="City" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>City of publication. Example: Bristol.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Editors" type="EditorsType" minOccurs="0"/>
<xs:element name="ProductionDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Date of the reference</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Version" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Version of a database, code, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Comments" type="xs:string" minOccurs="0"/>
<xs:element name="BibTeX" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>BibTeX representation of reference, for those who already have it in database</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attribute name="sourceID" type="SourceIDType" use="required"/>
</xs:complexType>
<xs:complexType name="AuthorsType">
<xs:sequence>
<xs:element name="Author" type="AuthorType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Author of bibliographic reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="EditorsType">
<xs:sequence>
<xs:element name="Name" type="xs:string" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name of an editor</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="SourceCategoryType">
<xs:restriction base="xs:string">
<xs:enumeration value="book"/>
<xs:enumeration value="database"/>
<xs:enumeration value="journal"/>
<xs:enumeration value="preprint"/>
<xs:enumeration value="private communication"/>
<xs:enumeration value="proceedings"/>
<xs:enumeration value="report"/>
<xs:enumeration value="thesis"/>
<xs:enumeration value="vamdc node"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>