-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCthulhuSchema
42 lines (36 loc) · 1.69 KB
/
CthulhuSchema
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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://github.com/lewca/Cthulhu-Mythos"
xmlns:cm="https://github.com/lewca/Cthulhu-Mythos"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:mods="http://www.loc.gov/mods/v3" 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-7.xsd"/>
<xs:element name="cthulhuMythos">
<xs:complexType>
<xs:sequence>
<xs:element name="cursedObject" type="xs:string" minOccurs="0"/>
<xs:element name="oldOnes" type="xs:string" minOccurs="0"/>
<xs:element ref="cm:modsSection" minOccurs="0"/>
<xs:element ref="cm:dcSection" 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:schema>