]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
738bf80abe1ad858e587361e9c239782321cfcf1
[tmp/jakarta-migration.git] /
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
3 <!--
4     Location schema (XSD)
5     
6     Entity  : Location
7     Part    : Common
8     Used for: Nuxeo EP core document type
9     
10     $LastChangedRevision: 860 $
11     $LastChangedDate: 2009-10-14 14:48:05 -0700 (Wed, 14 Oct 2009) $
12 -->
13
14 <xs:schema 
15   xmlns:xs="http://www.w3.org/2001/XMLSchema"
16   xmlns:ns="http://collectionspace.org/services/location"
17   xmlns="http://collectionspace.org/services/location"
18   targetNamespace="http://collectionspace.org/services/location"
19   version="0.1"
20 >
21 <!-- See http://wiki.collectionspace.org/display/collectionspace/Location+Service+Home -->    
22
23     <!--  Location Information Group -->
24     <!--  inAuthority is the csid of the owning LocationAuthority -->
25     <xs:element name="inAuthority" type="xs:string" />
26                 <xs:element name="shortIdentifier" type="xs:string"/>
27     <xs:element name="refName" type="xs:string"/>
28     <xs:element name="termStatus" type="xs:string"/>
29     <xs:element name="displayName" type="xs:string"/>
30     <xs:element name="displayNameComputed" type="xs:boolean"/>
31     <xs:element name="shortDisplayName" type="xs:string"/>
32     <xs:element name="shortDisplayNameComputed" type="xs:boolean"/>
33     <xs:element name="name" type="xs:string"/>
34     <xs:element name="conditionGroupList" type="conditionGroupList"/>
35     <xs:element name="securityNote" type="xs:string"/>
36     <xs:element name="accessNote" type="xs:string"/>
37     <xs:element name="address" type="xs:string"/>
38     <xs:element name="locationType" type="xs:string"/>
39     <xs:element name="source" type="xs:string"/>
40     <xs:element name="sourcePage" type="xs:string"/>
41     <xs:element name="description" type="xs:string"/>
42
43     <xs:complexType name="conditionGroupList">
44         <xs:sequence>
45             <xs:element name="conditionGroup" type="conditionGroup" minOccurs="0" maxOccurs="unbounded"/>
46         </xs:sequence>
47     </xs:complexType>
48
49     <xs:complexType name="conditionGroup">
50         <xs:sequence>
51                                         <xs:element name="conditionNote" type="xs:string"/>
52                                         <xs:element name="conditionNoteDate" type="xs:string"/>
53         </xs:sequence>
54     </xs:complexType>
55     
56 </xs:schema>
57