File: opacxml.xsd

package info (click to toggle)
yaz 5.27.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,184 kB
  • sloc: xml: 123,414; ansic: 72,530; sh: 5,007; tcl: 2,169; makefile: 1,321; yacc: 382
file content (99 lines) | stat: -rw-r--r-- 3,587 bytes parent folder | download | duplicates (3)
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?xml version="1.0" encoding="UTF-8"?>
<!--
OPAC XML. This is the XML that YAZ is using to represent Z39.50 OPAC
records.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="opacRecord">
    <xs:complexType>
      <xs:sequence>
	<xs:element name="bibliographicRecord">
	</xs:element>
	<xs:element name="holdings">
	  <xs:complexType>
	    <xs:sequence>
	      <xs:element maxOccurs="unbounded" minOccurs="0" ref="holding"/>
	    </xs:sequence>
	  </xs:complexType>
	</xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

  <xs:element name="holding">
    <xs:complexType>
      <xs:sequence>
	<xs:element name="typeOfRecord" minOccurs="0" type="xs:string"/>
	<xs:element name="encodingLevel" minOccurs="0" type="xs:string"/>
	<xs:element name="format" minOccurs="0" type="xs:string"/>
	<xs:element name="receiptAcqStatus" minOccurs="0" type="xs:string"/>
	<xs:element name="generalRetention" minOccurs="0" type="xs:string"/>
	<xs:element name="completeness" minOccurs="0" type="xs:string"/>
	<xs:element name="dateOfReport" minOccurs="0" type="xs:string"/>
	<xs:element name="nucCode" minOccurs="0" type="xs:string"/>
	<xs:element name="localLocation" minOccurs="0" type="xs:string"/>
	<xs:element name="shelvingLocation" minOccurs="0" type="xs:string"/>
	<xs:element name="callNumber" minOccurs="0" type="xs:string"/>
	<xs:element name="shelvingData" minOccurs="0" type="xs:string"/>
	<xs:element name="copyNumber" minOccurs="0" type="xs:string"/>
	<xs:element name="publicNote" minOccurs="0" type="xs:string"/>
	<xs:element name="reproductionNote" minOccurs="0" type="xs:string"/>
	<xs:element name="termsUseRepro" minOccurs="0" type="xs:string"/>
	<xs:element name="enumAndChron" minOccurs="0" type="xs:string"/>
	<xs:element name="volumes" minOccurs="0">
	  <xs:complexType>
	    <xs:sequence>
	      <xs:element maxOccurs="unbounded" minOccurs="0" ref="volume"/>
	    </xs:sequence>
	  </xs:complexType>
	</xs:element>
	<xs:element name="circulations" minOccurs="0">
	  <xs:complexType>
	    <xs:sequence>
	      <xs:element maxOccurs="unbounded" minOccurs="0" ref="circulation"/>
	    </xs:sequence>
	  </xs:complexType>
	</xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

  <xs:element name="volume">
    <xs:complexType>
      <xs:sequence>
	<xs:element name="enumeration" minOccurs="0" type="xs:string"/>
	<xs:element name="chronology" minOccurs="0" type="xs:string"/>
	<xs:element name="enumAndChron" minOccurs="0" type="xs:string"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

  <xs:element name="circulation">
    <xs:complexType>
      <xs:sequence>
	<xs:element name="availableNow">
	  <xs:complexType>
	  <xs:attribute name="value" use="required" type="xs:string"/>
	  </xs:complexType>
	</xs:element>
	<xs:element name="availabilityDate" minOccurs="0" type="xs:string"/>
	<xs:element name="availableThru" minOccurs="0" type="xs:string"/>
	<xs:element name="restrictions" minOccurs="0" type="xs:string"/>
	<xs:element name="itemId" minOccurs="0" type="xs:string"/>
	<xs:element name="renewable">
	  <xs:complexType>
	    <xs:attribute name="value" use="required" type="xs:string"/>
	</xs:complexType>
	</xs:element>
	<xs:element name="onHold">
	  <xs:complexType>
	    <xs:attribute name="value" use="required" type="xs:string"/>
	  </xs:complexType>
	</xs:element>
	<xs:element name="enumAndChron" minOccurs="0"/>
	<xs:element name="midspine" minOccurs="0"/>
	<xs:element name="temporaryLocation" minOccurs="0"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>