]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
b02a176754978e03061d337c6e2c6207bca7df71
[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     <xs:element name="termStatus" type="xs:string"/>
30     <xs:element name="displayName" type="xs:string"/>
31     <xs:element name="displayNameComputed" type="xs:boolean"/>
32     <xs:element name="shortDisplayName" type="xs:string"/>
33     <xs:element name="shortDisplayNameComputed" type="xs:boolean"/>
34     <xs:element name="mainBodyGroupList" type="mainBodyGroupList"/>
35     <xs:element name="source" type="xs:string"/>
36     <xs:element name="sourcePage" type="xs:string"/>
37     <xs:element name="description" type="xs:string"/>
38
39     <xs:element name="contactNames">
40         <xs:complexType>
41             <xs:sequence>
42                 <xs:element name="contactName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
43             </xs:sequence>
44         </xs:complexType>
45     </xs:element>
46     <xs:element name="foundingDate" type="xs:string"/>
47     <xs:element name="dissolutionDate" type="xs:string"/>
48     <xs:element name="foundingPlace" type="xs:string"/>
49     <xs:element name="groups">
50         <xs:complexType>
51             <xs:sequence>
52                 <xs:element name="group" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
53             </xs:sequence>
54         </xs:complexType>
55     </xs:element>
56     <xs:element name="functions">
57         <xs:complexType>
58             <xs:sequence>
59                 <xs:element name="function" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
60             </xs:sequence>
61         </xs:complexType>
62     </xs:element>
63     <xs:element name="subBodies">
64         <xs:complexType>
65             <xs:sequence>
66                 <xs:element name="subBody" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
67             </xs:sequence>
68         </xs:complexType>
69     </xs:element>
70     <xs:element name="historyNotes" type="historyNotes"/>
71
72     <xs:complexType name="mainBodyGroupList">
73         <xs:sequence>
74             <xs:element name="mainBodyGroup" type="mainBodyGroup" minOccurs="0" maxOccurs="unbounded"/>
75         </xs:sequence>
76     </xs:complexType>
77
78     <xs:complexType name="mainBodyGroup">
79         <xs:sequence>
80             <xs:element name="longName" type="xs:string"/>
81             <xs:element name="shortName" type="xs:string"/>
82             <xs:element name="nameAdditions" type="xs:string"/>
83         </xs:sequence>
84     </xs:complexType>
85
86     <xs:complexType name="historyNotes">
87         <xs:sequence>
88             <xs:element name="historyNote" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
89         </xs:sequence>
90     </xs:complexType>
91
92 </xs:schema>
93