Fix EXTRA_DIST due to rename of tests
[yaz-moved-to-github.git] / etc / opacxml.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- OPAC XML. This is the output of yaz_display_OPAC -->
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
4   <xs:element name="opacRecord">
5     <xs:complexType>
6       <xs:sequence>
7         <xs:element name="bibliographicRecord">
8           
9         </xs:element>
10         <xs:element name="holdings">
11           <xs:complexType>
12             <xs:sequence>
13               <xs:element maxOccurs="unbounded" minOccurs="0" ref="holding"/>
14             </xs:sequence>
15           </xs:complexType>
16         </xs:element>
17       </xs:sequence>
18     </xs:complexType>
19   </xs:element>
20   
21   <xs:element name="holding">
22     <xs:complexType>
23       <xs:sequence>
24         <xs:element name="typeOfRecord" minOccurs="0" type="xs:string"/>
25         <xs:element name="encodingLevel" minOccurs="0" type="xs:string"/>
26         <xs:element name="format" minOccurs="0" type="xs:string"/>
27         <xs:element name="receiptAcqStatus" minOccurs="0" type="xs:string"/>
28         <xs:element name="generalRetention" minOccurs="0" type="xs:string"/>
29         
30         <xs:element name="completeness" minOccurs="0" type="xs:string"/>
31         <xs:element name="dateOfReport" minOccurs="0" type="xs:string"/>
32         <xs:element name="nucCode" minOccurs="0" type="xs:string"/>
33         <xs:element name="localLocation" minOccurs="0" type="xs:string"/>
34         <xs:element name="shelvingLocation" minOccurs="0" type="xs:string"/>
35         <xs:element name="callNumber" minOccurs="0" type="xs:string"/>
36         <xs:element name="shelvingData" minOccurs="0" type="xs:string"/>
37         <xs:element name="copyNumber" minOccurs="0" type="xs:string"/>
38         <xs:element name="publicNote" minOccurs="0" type="xs:string"/>
39         <xs:element name="reproductionNote" minOccurs="0" type="xs:string"/>
40         <xs:element name="termsUseRepro" minOccurs="0" type="xs:string"/>
41         <xs:element name="enumAndChron" minOccurs="0" type="xs:string"/>
42         <xs:element name="volumes" minOccurs="0">
43           <xs:complexType>
44             <xs:sequence>
45               <xs:element maxOccurs="unbounded" minOccurs="0" ref="volume"/>
46             </xs:sequence>
47           </xs:complexType>
48         </xs:element>
49         <xs:element name="circulations" minOccurs="0">
50           <xs:complexType>
51             <xs:sequence>
52               <xs:element maxOccurs="unbounded" minOccurs="0" ref="circulation"/>
53             </xs:sequence>
54           </xs:complexType>
55         </xs:element>
56       </xs:sequence>
57     </xs:complexType>
58   </xs:element>
59
60   <xs:element name="volume">
61     <xs:complexType>
62       <xs:sequence>
63         <xs:element name="enumeration" minOccurs="0" type="xs:string"/>
64         <xs:element name="chronology" minOccurs="0" type="xs:string"/>
65         <xs:element name="enumAndChron" minOccurs="0" type="xs:string"/>
66       </xs:sequence>
67     </xs:complexType>
68   </xs:element>
69
70   <xs:element name="circulation">
71     <xs:complexType>
72       <xs:sequence>
73         <xs:element name="availableNow">
74           <xs:complexType>
75           <xs:attribute name="value" use="required" type="xs:string"/>
76           </xs:complexType>
77         </xs:element>
78         <xs:element name="availabilityDate" minOccurs="0" type="xs:string"/>
79         <xs:element name="availableThru" minOccurs="0" type="xs:string"/>
80         <xs:element name="restrictions" minOccurs="0" type="xs:string"/>
81         <xs:element name="itemId" minOccurs="0" type="xs:string"/>
82         <xs:element name="renewable">
83           <xs:complexType>
84             <xs:attribute name="value" use="required" type="xs:string"/>
85         </xs:complexType>
86         </xs:element>
87         <xs:element name="onHold">
88           <xs:complexType>
89             <xs:attribute name="value" use="required" type="xs:string"/>
90           </xs:complexType>
91         </xs:element>
92         <xs:element name="enumAndChron" minOccurs="0"/>
93         <xs:element name="midspine" minOccurs="0"/>
94         <xs:element name="temporaryLocation" minOccurs="0"/>
95       </xs:sequence>
96     </xs:complexType>
97   </xs:element>
98 </xs:schema>