]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
936a3d5dd173a44298065926e6d18fce884968c3
[tmp/jakarta-migration.git] /
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
3 <!--
4   Person schema (XSD)
5   
6   Entity  : Person
7   Part    : Domain - Natural History (example)
8   Used for: Nuxeo EP core document type
9   
10   $LastChangedRevision: 4929 $
11   $LastChangedDate: 2011-06-07 13:26:32 -0700 (Tue, 07 Jun 2011) $
12 -->
13
14 <xs:schema 
15   xmlns:xs="http://www.w3.org/2001/XMLSchema"
16   xmlns:ns="http://collectionspace.org/services/person/domain/naturalhistory"
17   xmlns="http://collectionspace.org/services/person/domain/naturalhistory"
18   targetNamespace="http://collectionspace.org/services/person/domain/naturalhistory"
19   version="0.1">
20
21   <!-- used for testing
22   <xs:element name="nh-string" type="xs:string" />
23   <xs:element name="nh-int" type="xs:int"/>
24   <xs:element name="nh-long" type="xs:long"/>
25   <xs:element name="nh-date" type="xs:dateTime"/>
26   <xs:element name="nh-note" type="xs:string"/>
27   -->
28
29  <xs:element name="nameTypes">
30     <xs:complexType>
31       <xs:sequence>
32         <xs:element name="nameType" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
33       </xs:sequence>
34     </xs:complexType>
35   </xs:element>
36
37   <xs:element name="affiliatedPersonOrgGroupList" type="affiliatedPersonOrgGroupList"/>
38
39   <xs:complexType name="affiliatedPersonOrgGroupList">
40     <xs:sequence>
41       <xs:element name="affiliatedPersonOrgGroup" type="affiliatedPersonOrgGroup" minOccurs="0"
42         maxOccurs="unbounded"/>
43     </xs:sequence>
44   </xs:complexType>
45
46   <xs:complexType name="affiliatedPersonOrgGroup">
47     <xs:sequence>
48       <xs:element name="affiliatedPersonOrg" type="xs:string"/>
49       <xs:element name="affiliatedPersonOrgType" type="xs:string"/>
50     </xs:sequence>
51   </xs:complexType>
52
53   <xs:element name="nameSource" type="xs:string"/>
54   <xs:element name="entityType" type="xs:string"/>
55   <xs:element name="lifeSpan" type="xs:string"/>
56   <xs:element name="scopeNote" type="xs:string"/>
57   <xs:element name="sourceNote" type="xs:string"/>
58   <xs:element name="orgContactNames">
59     <xs:complexType>
60       <xs:sequence>
61         <xs:element name="orgContactName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
62       </xs:sequence>
63     </xs:complexType>
64   </xs:element>
65   <xs:element name="nameFunctions">
66     <xs:complexType>
67       <xs:sequence>
68         <xs:element name="nameFunction" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
69       </xs:sequence>
70     </xs:complexType>
71   </xs:element>
72
73 </xs:schema>