]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
09d3c65bc31dbbd5fb8b3253eaea121270481cc5
[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
11 <xs:schema 
12     xmlns:xs="http://www.w3.org/2001/XMLSchema"
13     xmlns:ns="http://collectionspace.org/services/location"
14     xmlns="http://collectionspace.org/services/location"
15     targetNamespace="http://collectionspace.org/services/location"
16     version="0.1"
17 >
18 <!-- See http://wiki.collectionspace.org/display/collectionspace/Location+Service+Home -->    
19
20     <!--  Location Information Group -->
21     <!--  inAuthority is the csid of the owning LocationAuthority -->
22     <xs:element name="inAuthority" type="xs:string" />
23     <xs:element name="shortIdentifier" type="xs:string"/>
24     <xs:element name="refName" type="xs:string"/>
25     
26     <!-- Term Information repeatable group -->
27     <xs:element name="locTermGroupList" type="locTermGroupList"/>
28                 
29     <xs:element name="accessNote" type="xs:string"/>
30     <xs:element name="address" type="xs:string"/>
31     <xs:element name="conditionGroupList" type="conditionGroupList"/>
32     <xs:element name="securityNote" type="xs:string"/>
33     <xs:element name="locationType" type="xs:string"/>
34
35     <xs:complexType name="conditionGroupList">
36         <xs:sequence>
37             <xs:element name="conditionGroup" type="conditionGroup" minOccurs="0" maxOccurs="unbounded"/>
38         </xs:sequence>
39     </xs:complexType>
40
41     <xs:complexType name="conditionGroup">
42         <xs:sequence>
43             <xs:element name="conditionNote" type="xs:string"/>
44             <xs:element name="conditionNoteDate" type="xs:date"/>
45         </xs:sequence>
46     </xs:complexType>
47     
48         <xs:complexType name="locTermGroupList">
49         <xs:sequence>
50             <xs:element name="locTermGroup" type="locTermGroup" minOccurs="0" maxOccurs="unbounded"/>
51         </xs:sequence>
52     </xs:complexType>
53
54     <xs:complexType name="locTermGroup">
55         <xs:sequence>
56             <!-- Common across all authority item terms -->
57             <xs:element name="termDisplayName" type="xs:string"/>
58             <xs:element name="termFormattedDisplayName" type="xs:string"/>
59             <xs:element name="termName" type="xs:string"/>
60             <xs:element name="termType" type="xs:string"/>
61             <xs:element name="termStatus" type="xs:string"/>
62             <xs:element name="termQualifier" type="xs:string"/>
63             <xs:element name="termLanguage" type="xs:string"/>
64             <xs:element name="termPrefForLang" type="xs:boolean"/>
65             <xs:element name="termSource" type="xs:string"/>
66             <xs:element name="termSourceDetail" type="xs:string"/>
67             <xs:element name="termSourceID" type="xs:string"/>
68             <xs:element name="termSourceNote" type="xs:string"/>
69             <!-- Specific to Storage Location terms -->
70             <!-- (None at present) -->
71         </xs:sequence>
72     </xs:complexType>
73     
74 </xs:schema>
75