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