]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
6a9f12e0bf5a22356a65b7aa8187da8304208713
[tmp/jakarta-migration.git] /
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
3 <!--
4     Organization schema (XSD)
5
6     Entity  : Organization
7     Part    : Common
8     Used for: Nuxeo EP core document type
9
10     $LastChangedRevision$
11     $LastChangedDate$
12 -->
13
14 <xs:schema 
15     xmlns:xs="http://www.w3.org/2001/XMLSchema"
16     xmlns:ns="http://collectionspace.org/services/organization"
17     xmlns="http://collectionspace.org/services/organization"
18     targetNamespace="http://collectionspace.org/services/organization"
19     version="0.1"
20 >
21     <!-- See http://wiki.collectionspace.org/display/collectionspace/Name+Authority+Schema -->
22 <!-- See http://wiki.collectionspace.org/display/collectionspace/Organization+Service+Home -->    
23
24     <!--  Organization Information Group -->
25     <!--  inAuthority is the csid of the owning OrgAuthority -->
26     <xs:element name="inAuthority" type="xs:string" />
27     <xs:element name="shortIdentifier" type="xs:string"/>
28     <xs:element name="refName" type="xs:string"/>
29     
30     <!-- Term Information repeatable group -->
31     <xs:element name="orgTermGroupList" type="orgTermGroupList"/>
32     
33     <xs:element name="foundingDate" type="xs:string"/>
34     <xs:element name="dissolutionDate" type="xs:string"/>
35     <xs:element name="foundingPlace" type="xs:string"/>
36     
37     <xs:element name="groups">
38         <xs:complexType>
39             <xs:sequence>
40                 <xs:element name="group" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
41             </xs:sequence>
42         </xs:complexType>
43     </xs:element>
44     
45     <xs:element name="functions">
46         <xs:complexType>
47             <xs:sequence>
48                 <xs:element name="function" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
49             </xs:sequence>
50         </xs:complexType>
51     </xs:element>
52             
53     <xs:element name="contactNames">
54         <xs:complexType>
55             <xs:sequence>
56                 <xs:element name="contactName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
57             </xs:sequence>
58         </xs:complexType>
59     </xs:element>
60
61     <xs:element name="historyNotes" type="historyNotes">
62         <xs:complexType>
63             <xs:sequence>
64                 <xs:element name="historyNote" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
65             </xs:sequence>
66         </xs:complexType>
67     </xs:element>
68     
69     <xs:complexType name="orgTermGroupList">
70         <xs:sequence>
71             <xs:element name="orgTermGroup" type="orgTermGroup" minOccurs="0" maxOccurs="unbounded"/>
72         </xs:sequence>
73     </xs:complexType>
74
75     <xs:complexType name="orgTermGroup">
76         <xs:sequence>
77                 <!-- Common across all authority item terms -->
78             <xs:element name="termDisplayName" type="xs:string"/>
79             <xs:element name="termName" type="xs:string"/>
80             <xs:element name="termType" type="xs:string"/>
81             <xs:element name="termStatus" type="xs:string"/>
82             <xs:element name="termQualifier" type="xs:string"/>
83             <xs:element name="termLanguage" type="xs:string"/>
84             <xs:element name="termPrefForLang" type="xs:boolean"/>
85             <xs:element name="termSource" type="xs:string"/>
86             <xs:element name="termSourceDetail" type="xs:string"/>
87             <xs:element name="termSourceID" type="xs:string"/>
88             <xs:element name="termSourceNote" type="xs:string"/>
89                 <!-- Specific to Organization terms -->
90             <xs:element name="mainBodyName" type="xs:string"/>
91             <xs:element name="additionsToName" type="xs:string"/>
92         </xs:sequence>
93     </xs:complexType>
94     
95 </xs:schema>
96