-
Notifications
You must be signed in to change notification settings - Fork 16
/
doajArticles.xsd
172 lines (148 loc) · 5.36 KB
/
doajArticles.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
version = "1.3"
xmlns:xs ="http://www.w3.org/2001/XMLSchema"
xmlns:iso_639-2b="http://www.doaj.org/schemas/iso_639-2b/1.1">
<xs:import namespace="http://www.doaj.org/schemas/iso_639-2b/1.1"
schemaLocation="http://www.doaj.org/static/doaj/iso_639-2b.xsd">
<xs:annotation>
<xs:documentation>
This schema determines allowable xml file formats
for upload into the DOAJ database.
The schema uses imported codes for the representation
of names of languages devised by the International
Organization for Standardization (ISO) 639-2/B
(bibliographic codes). Please note that when two
codes separated by a dash occurs in the iso 639-2
table then only the first code is used, the
bibliographic one. The terminology code that comes
second is omitted.
</xs:documentation>
</xs:annotation>
</xs:import>
<xs:element name="records">
<xs:complexType>
<xs:sequence>
<xs:element name="record" type="recordType"
maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="recordType">
<xs:sequence>
<xs:element name="language"
type="iso_639-2b:LanguageCodeType"
minOccurs="0"/>
<xs:element name="publisher" type="xs:string" minOccurs="0"/>
<xs:element name="journalTitle" type="xs:string" />
<xs:element name="issn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[d0-9]{4}-{0,1}[0-9]{3}[0-9xX]{1}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="eissn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]{4}-{0,1}[0-9]{3}[0-9xX]{1}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="publicationDate">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]{4}(-[0-9]{2}(-[0-9]{2})?)?"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="volume" type="xs:string" minOccurs="0"/>
<xs:element name="issue" type="xs:string" minOccurs="0"/>
<xs:element name="startPage" type="xs:string" minOccurs="0"/>
<xs:element name="endPage" type="xs:string" minOccurs="0"/>
<xs:element name="doi" type="xs:string" minOccurs="0"/>
<xs:element name="publisherRecordId" type="xs:string" minOccurs="0"/>
<xs:element name="documentType" type="xs:string" minOccurs="0"/>
<xs:element name="title" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="language" type="iso_639-2b:LanguageCodeType" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="authors" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="author" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" />
<xs:element name="email" type="xs:string" minOccurs="0" />
<xs:element name="affiliationId" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="orcid_id" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="https://orcid\.org/[0-9]{4}-[0-9]{4}-[0-9]{4}-\d{3}[\dX]"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="affiliationsList" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="affiliationName" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="affiliationId" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="abstract" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="language" type="iso_639-2b:LanguageCodeType" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="fullTextUrl">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="fullUrl">
<xs:attribute name="format" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="keywords"
minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="keyword" type="xs:string"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="language" type="iso_639-2b:LanguageCodeType"
use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="fullUrl">
<xs:restriction base="xs:anyURI">
<xs:pattern value="https?://([^/:]+\.[\p{L}]{2,10}|([0-9]{1,3}\.){3}[0-9]{1,3})(:[0-9]+)?(.*)?"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>