]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
f709a5c67d4379d82d8723c19fad8fdbfe965699
[tmp/jakarta-migration.git] /
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
2 \r
3 <!--\r
4   CollectionObject schema (XSD)\r
5   \r
6   Entity  : CollectionObject\r
7   Part    : Domain - Natural History (example)\r
8   Used for: Nuxeo EP core document type\r
9   \r
10   $LastChangedRevision$\r
11   $LastChangedDate$\r
12 -->\r
13 \r
14 <xs:schema \r
15   xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
16   xmlns:ns="http://collectionspace.org/collectionobject/"\r
17   xmlns="http://collectionspace.org/collectionobject/"\r
18   targetNamespace="http://collectionspace.org/collectionobject/"\r
19   version="0.1">\r
20 \r
21   <!-- used for testing\r
22   <xs:element name="nh-string" type="xs:string" />\r
23   <xs:element name="nh-int" type="xs:int"/>\r
24   <xs:element name="nh-long" type="xs:long"/>\r
25   <xs:element name="nh-date" type="xs:dateTime"/>\r
26   <xs:element name="nh-note" type="xs:string"/>\r
27   -->\r
28 \r
29   <!--  These items are being moved to common\r
30   <xs:element name="fieldCollector" type="xs:string"/>\r
31   <xs:element name="fieldCollectionDate" type="xs:string"/>\r
32   <xs:element name="fieldLocPlace" type="xs:string"/>\r
33   <xs:element name="catalogDate" type="xs:string"/>\r
34   -->\r
35 \r
36   <xs:element name="fieldLocVerbatim" type="xs:string"/>\r
37   <xs:element name="fieldCollectionDateEarliest" type="xs:string"/>\r
38   <xs:element name="fieldCollectionDateLatest" type="xs:string"/>\r
39   <xs:element name="fieldLocLatDecimal" type="xs:string"/>\r
40   <xs:element name="fieldLocLongDecimal" type="xs:string"/>\r
41   <xs:element name="fieldLocElevation" type="xs:string"/>\r
42 \r
43   <!-- These will become contolled lists -->\r
44   <xs:element name="fieldLocCounty" type="xs:string"/>\r
45   <xs:element name="fieldLocState" type="xs:string"/>\r
46   <xs:element name="fieldLocCountry" type="xs:string"/>\r
47   <xs:element name="fieldHigherGeography" type="xs:string"/>\r
48 \r
49   <xs:element name="taxonomicIdentGroupList" type="taxonomicIdentGroupList"/>\r
50   <xs:element name="typeSpecimenGroupList" type="typeSpecimenGroupList"/>\r
51   <xs:element name="fieldCollElevationGroupList" type="fieldCollElevationGroupList"/>\r
52   <xs:element name="fieldCollDepthGroupList" type="fieldCollDepthGroupList"/>\r
53   <xs:element name="associatedTaxaGroupList" type="associatedTaxaGroupList"/>\r
54 \r
55         <xs:complexType name="taxonomicIdentGroupList">\r
56                         <xs:sequence>\r
57                                         <xs:element name="taxonomicIdentGroup" type="taxonomicIdentGroup" minOccurs="0"\r
58                                                         maxOccurs="unbounded"/>\r
59                         </xs:sequence>\r
60         </xs:complexType>\r
61         <xs:complexType name="taxonomicIdentGroup">\r
62                         <xs:sequence>\r
63                                         <xs:element name="taxon" type="xs:string"/>\r
64                                         <xs:element name="qualifier" type="xs:string"/>\r
65                                         <xs:element name="identBy" type="xs:string"/>\r
66                                         <xs:element name="identDate" type="xs:string"/>\r
67                                         <xs:element name="institution" type="xs:string"/>\r
68                                         <xs:element name="identKind" type="xs:string"/>\r
69                                         <xs:element name="reference" type="xs:string"/>\r
70                                         <xs:element name="refPage" type="xs:string"/>\r
71                                         <xs:element name="notes" type="xs:string"/>\r
72                          </xs:sequence>\r
73         </xs:complexType>\r
74 \r
75         <xs:complexType name="typeSpecimenGroupList">\r
76                         <xs:sequence>\r
77                                         <xs:element name="typeSpecimenGroup" type="typeSpecimenGroup" minOccurs="0"\r
78                                                         maxOccurs="unbounded"/>\r
79                         </xs:sequence>\r
80         </xs:complexType>\r
81         <xs:complexType name="typeSpecimenGroup">\r
82                         <xs:sequence>\r
83                                         <xs:element name="kindOfType" type="xs:string"/>\r
84                                         <xs:element name="reference" type="xs:string"/>\r
85                                         <xs:element name="refPage" type="xs:string"/>\r
86                                         <xs:element name="institution" type="xs:string"/>\r
87                                         <xs:element name="institutionType" type="xs:string"/>\r
88                                         <xs:element name="notes" type="xs:string"/>\r
89                          </xs:sequence>\r
90         </xs:complexType>\r
91 \r
92         <xs:complexType name="fieldCollElevationGroupList">\r
93                         <xs:sequence>\r
94                                         <xs:element name="fieldCollElevationGroup" type="fieldCollElevationGroup" minOccurs="0"\r
95                                                         maxOccurs="unbounded"/>\r
96                         </xs:sequence>\r
97         </xs:complexType>\r
98         <xs:complexType name="fieldCollElevationGroup">\r
99                         <xs:sequence>\r
100                                         <xs:element name="minElevation" type="xs:integer"/>\r
101                                         <xs:element name="maxElevation" type="xs:integer"/>\r
102                                         <xs:element name="units" type="xs:string"/>\r
103                                         <xs:element name="qualifier" type="xs:string"/>\r
104                                         <xs:element name="notes" type="xs:string"/>\r
105                          </xs:sequence>\r
106         </xs:complexType>\r
107 \r
108         <xs:complexType name="fieldCollDepthGroupList">\r
109                         <xs:sequence>\r
110                                         <xs:element name="fieldCollDepthGroup" type="fieldCollDepthGroup" minOccurs="0"\r
111                                                         maxOccurs="unbounded"/>\r
112                         </xs:sequence>\r
113         </xs:complexType>\r
114         <xs:complexType name="fieldCollDepthGroup">\r
115                         <xs:sequence>\r
116                                         <xs:element name="minDepth" type="xs:integer"/>\r
117                                         <xs:element name="maxDepth" type="xs:integer"/>\r
118                                         <xs:element name="units" type="xs:string"/>\r
119                                         <xs:element name="qualifier" type="xs:string"/>\r
120                                         <xs:element name="notes" type="xs:string"/>\r
121                          </xs:sequence>\r
122         </xs:complexType>\r
123 \r
124         <xs:complexType name="associatedTaxaGroupList">\r
125                         <xs:sequence>\r
126                                         <xs:element name="associatedTaxaGroup" type="associatedTaxaGroup" minOccurs="0"\r
127                                                         maxOccurs="unbounded"/>\r
128                         </xs:sequence>\r
129         </xs:complexType>\r
130         <xs:complexType name="associatedTaxaGroup">\r
131                         <xs:sequence>\r
132                                         <xs:element name="taxon" type="xs:string"/>\r
133                                         <xs:element name="commonName" type="xs:integer"/>\r
134                                         <xs:element name="interaction" type="xs:integer"/>\r
135                          </xs:sequence>\r
136         </xs:complexType>\r
137 \r
138 </xs:schema>\r