-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbaking_schema_mike.xsd
85 lines (71 loc) · 3.22 KB
/
baking_schema_mike.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://github.com/mbolam/lis2407"
xmlns:bake="https://github.com/mbolam/lis2407" xmlns:mods="http://www.loc.gov/mods/v3"
xmlns:vra="http://www.vraweb.org/vracore4.htm" elementFormDefault="qualified">
<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:element name="bakingitem">
<xs:complexType>
<xs:sequence>
<xs:element ref="bake:measurement" minOccurs="0"/>
<xs:element ref="bake:weight" minOccurs="0"/>
<xs:element name="purpose" type="xs:string" minOccurs="0"/>
<xs:element ref="bake:recipes" minOccurs="0"/>
<xs:element ref="bake:purchaselocation" minOccurs="0"/>
<xs:element ref="bake:modsSection" minOccurs="0"/>
<xs:element ref="bake:vraSection" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="measurement">
<xs:complexType>
<xs:sequence>
<xs:element name="height" minOccurs="0" maxOccurs="unbounded" type="xs:decimal"/>
<xs:element name="length" minOccurs="0" maxOccurs="unbounded" type="xs:decimal"/>
<xs:element name="width" minOccurs="0" maxOccurs="unbounded" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="weight">
<xs:complexType>
<xs:sequence>
<xs:element name="pounds" minOccurs="0" maxOccurs="unbounded" type="xs:decimal"/>
<xs:element name="kilograms" minOccurs="0" maxOccurs="unbounded" type="xs:decimal"/>
<xs:element name="grams" minOccurs="0" maxOccurs="unbounded" type="xs:decimal"/>
<xs:element name="ounces" minOccurs="0" maxOccurs="unbounded" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="recipes">
<xs:complexType>
<xs:sequence>
<xs:element name="UsedIn" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="purchaselocation">
<xs:complexType>
<xs:sequence>
<xs:element name="purchaseUrl" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
<xs:element name="physicalPurchaseLocation" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
</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="vraSection">
<xs:complexType>
<xs:sequence>
<xs:element ref="vra:work" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>