]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
baffa38660d30ed9517dc6b2111bb4d0fe570d58
[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: 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/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
33     <!-- FIXME Start of main body (represented by 'longName' element) repeatable group -->
34     <xs:element name="shortName" type="xs:string"/>
35     <xs:element name="longName" type="xs:string"/>
36     <xs:element name="nameAdditions" type="xs:string"/>
37     <!-- FIXME End of main body repeatable group -->
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">
71         <xs:complexType>
72             <xs:sequence>
73                 <xs:element name="historyNote" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
74             </xs:sequence>
75         </xs:complexType>
76     </xs:element>
77
78 </xs:schema>
79