What's new? | Help | Directory | Sign in
Google
jangle
Just another generic library environment
  
  
  
  
    
Search
for
Updated Mar 14, 2008 by townxelliot
ReservationSchema  
Schema to represent a reservation

Here's a simple reservation schema to represent a borrower's reservation of a work (where a work is roughly comparable to a FRBR Manifestation):

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.talis.com/2007/soa/circulation" targetNamespace="http://schemas.talis.com/2007/soa/circulation" elementFormDefault="unqualified" attributeFormDefault="unqualified">

<xsd:element name="borrower-reservation">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="reservation-id" type="xsd:int"/>
				<xsd:element name="status" type="xsd:string"/>
				<xsd:element name="last-useful-date" type="date-time-type"/>
				<xsd:element name="creation-date" type="date-time-type"/>
				<xsd:element name="create-location" type="xsd:string"/>
				<xsd:element name="collection-location" type="xsd:string"/>
				<xsd:element name="author" type="xsd:string"/>
				<xsd:element name="title" type="xsd:string"/>
				<xsd:element name="publisher" type="xsd:string"/>
				<xsd:element name="control-number" type="xsd:string"/>
				<xsd:element name="publication-year" type="xsd:int"/>
				<xsd:element name="edition" type="xsd:string"/>
				<xsd:element name="series" type="xsd:string"/>
				<xsd:element name="physical-medium" type="xsd:string"/>
				<xsd:element name="class-name" type="xsd:string"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>

Sign in to add a comment