-
Notifications
You must be signed in to change notification settings - Fork 0
/
boardgame.xsd
65 lines (52 loc) · 2.5 KB
/
boardgame.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.pitt.edu/~mrbst20/myCollection"
xmlns:bg="http://www.pitt.edu/~mrbst20/myCollection"
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:vra="http://www.vraweb.org/vracore4.htm"
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.vraweb.org/vracore4.htm" schemaLocation="http://www.loc.gov/standards/vracore/vra.xsd"/>
<!--<xs:import namespace="http://www.vraweb.org/vracore4.htm" schemaLocation="http://www.loc.gov/standards/vracore/vra-strict.xsd"/>-->
<xs:element name="boardGame">
<xs:complexType>
<xs:sequence>
<xs:element name="bggId" type="xs:string"/>
<xs:element name="price" type="xs:decimal"/>
<xs:element name="myRating" type="xs:positiveInteger" />
<xs:element name="playerCount" type="xs:string"/>
<xs:element ref="bg:modsSection" minOccurs="0"/>
<xs:element ref="bg:dcSection" minOccurs="0" />
<xs:element ref="bg:vraSection" 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="vraSection">
<xs:complexType>
<xs:sequence>
<xs:element ref="vra:work" minOccurs="0"/>
<xs:element ref="vra:image" minOccurs="0"/>
<xs:element ref="vra:collection" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>