-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pirates.xsd
56 lines (49 loc) · 2.4 KB
/
Pirates.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://github.com/mbolam/lis2407"
xmlns:pi="https://github.com/mbolam/lis2407"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:mods="http://www.loc.gov/mods/v3"
xmlns:pbcore="http://www.pbcore.org/PBCore/PBCoreNamespace.html"
elementFormDefault="qualified">
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/dc.xsd"/>
<xs:import namespace="http://purl.org/dc/terms/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/dcterms.xsd" />
<xs:import namespace="http://www.loc.gov/mods/v3" schemaLocation="http://www.loc.gov/standards/mods/v3/mods-3-6.xsd"/>
<xs:import namespace="http://www.pbcore.org/PBCore/PBCoreNamespace.html" schemaLocation="https://raw.githubusercontent.com/WGBH/PBCore_2.1/master/pbcore-2.1.xsd"/>
<xs:element name="pirates">
<xs:complexType>
<xs:sequence>
<xs:element name="PirateName" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
<xs:element name="AppearsIn" type="xs:string" maxOccurs="unbounded" minOccurs="0" />
<xs:element name="CultrualReference" type="xs:string" maxOccurs="unbounded" minOccurs="0" />
<xs:element ref="pi:modsSection" minOccurs="0"/>
<xs:element ref="pi:dcSection" minOccurs="0" />
<xs:element ref="pi:pbSection" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="modsSection">
<xs:complexType>
<xs:sequence>
<xs:element ref="mods:mods" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="dcSection">
<xs:complexType>
<xs:sequence>
<xs:sequence>
<xs:element ref="dc:any" maxOccurs="unbounded" />
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="pbSection">
<xs:complexType>
<xs:sequence>
<xs:element ref="pbcore:pbcoreCollection"/>
<xs:element ref="pbcore:pbcoreDescriptionDocument"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>