]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
27e7c7c465c74631f0a3721ed85582c13cd171e2
[tmp/jakarta-migration.git] /
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
2 \r
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
4     xmlns:ns="http://collectionspace.org/collectionobject/"\r
5     xmlns="http://collectionspace.org/collectionobject/"\r
6     targetNamespace="http://collectionspace.org/collectionobject/" version="0.1">\r
7     <xs:element name="objectHistoryNote" type="xs:string"/>\r
8     <xs:element name="viewersPersonalResponse" type="xs:string"/>\r
9     <xs:element name="fieldCollectionMethods">\r
10         <xs:complexType>\r
11             <xs:sequence>\r
12                 <xs:element name="fieldCollectionMethod" type="xs:string" minOccurs="0"\r
13                     maxOccurs="unbounded"/>\r
14             </xs:sequence>\r
15         </xs:complexType>\r
16     </xs:element>    \r
17     <xs:element name="assocEventPeoples">\r
18         <xs:complexType>\r
19             <xs:sequence>\r
20                 <xs:element name="assocEventPeople" type="xs:string" minOccurs="0"\r
21                     maxOccurs="unbounded"/>\r
22             </xs:sequence>\r
23         </xs:complexType>\r
24     </xs:element>\r
25     <xs:element name="assocEventNote" type="xs:string"/>\r
26     <xs:element name="responsibleDepartments">\r
27         <xs:complexType>\r
28             <xs:sequence>\r
29                 <xs:element name="responsibleDepartment" type="xs:string" minOccurs="0"\r
30                     maxOccurs="unbounded"/>\r
31             </xs:sequence>\r
32         </xs:complexType>\r
33     </xs:element>\r
34     <xs:element name="ownershipAccess" type="xs:string"/>\r
35     <xs:element name="contentPositions">\r
36         <xs:complexType>\r
37             <xs:sequence>\r
38                 <xs:element name="contentPosition" type="xs:string" minOccurs="0"\r
39                     maxOccurs="unbounded"/>\r
40             </xs:sequence>\r
41         </xs:complexType>\r
42     </xs:element>\r
43     <!-- \r
44     Tail\r
45     Tail\r
46     Tail\r
47     -->\r
48 \r
49     <xs:element name="objectNumber" type="xs:string"/>\r
50     <xs:element name="otherNumberList" type="ns:otherNumberList"/>\r
51     <xs:element name="briefDescriptions">\r
52         <xs:complexType>\r
53             <xs:sequence>\r
54                 <xs:element name="briefDescription" type="xs:string" minOccurs="0"\r
55                     maxOccurs="unbounded"/>\r
56             </xs:sequence>\r
57         </xs:complexType>\r
58     </xs:element>\r
59     <xs:element name="comments">\r
60         <xs:complexType>\r
61             <xs:sequence>\r
62                 <xs:element name="comment" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
63             </xs:sequence>\r
64         </xs:complexType>\r
65     </xs:element>\r
66     <xs:element name="distinguishingFeatures" type="xs:string"/>\r
67     <xs:element name="numberOfObjects" type="xs:integer"/>\r
68     <xs:element name="objectNameList" type="ns:objectNameList"/>\r
69     \r
70     <xs:element name="collection" type="xs:string"/>\r
71     <xs:element name="titleGroupList" type="titleGroupList"/>\r
72     <xs:element name="recordStatus" type="xs:string"/>\r
73     <xs:element name="computedCurrentLocation" type="xs:string"/>\r
74 \r
75     <!-- Object Description Information -->\r
76 \r
77     <xs:element name="age" type="xs:integer"/>\r
78     <xs:element name="ageQualifier" type="xs:string"/>\r
79     <xs:element name="ageUnit" type="xs:string"/>\r
80     <xs:element name="colors">\r
81         <xs:complexType>\r
82             <xs:sequence>\r
83                 <xs:element name="color" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
84             </xs:sequence>\r
85         </xs:complexType>\r
86     </xs:element>\r
87     <xs:element name="contentActivities">\r
88         <xs:complexType>\r
89             <xs:sequence>\r
90                 <xs:element name="contentActivity" type="xs:string" minOccurs="0"\r
91                     maxOccurs="unbounded"/>\r
92             </xs:sequence>\r
93         </xs:complexType>\r
94     </xs:element>\r
95     <xs:element name="contentConcepts">\r
96         <xs:complexType>\r
97             <xs:sequence>\r
98                 <xs:element name="contentConcept" type="xs:string" minOccurs="0"\r
99                     maxOccurs="unbounded"/>\r
100             </xs:sequence>\r
101         </xs:complexType>\r
102     </xs:element>\r
103     <xs:element name="contentDateGroup" type="structuredDateGroup"/>\r
104     <xs:element name="contentDescription" type="xs:string"/>\r
105     <xs:element name="contentEventNameGroupList" type="contentEventNameGroupList"/>\r
106     <xs:element name="contentNote" type="xs:string"/>\r
107     <xs:element name="contentLanguages">\r
108         <xs:complexType>\r
109             <xs:sequence>\r
110                 <xs:element name="contentLanguage" type="xs:string" minOccurs="0"\r
111                     maxOccurs="unbounded"/>\r
112             </xs:sequence>\r
113         </xs:complexType>\r
114     </xs:element>\r
115     <xs:element name="contentObjectGroupList" type="contentObjectGroupList"/>\r
116     <xs:element name="contentOrganizations">\r
117         <xs:complexType>\r
118             <xs:sequence>\r
119                 <xs:element name="contentOrganization" type="xs:string" minOccurs="0"\r
120                     maxOccurs="unbounded"/>\r
121             </xs:sequence>\r
122         </xs:complexType>\r
123     </xs:element>\r
124     <xs:element name="contentOtherGroupList" type="contentOtherGroupList"/>\r
125     <xs:element name="contentPeoples">\r
126         <xs:complexType>\r
127             <xs:sequence>\r
128                 <xs:element name="contentPeople" type="xs:string" minOccurs="0"\r
129                     maxOccurs="unbounded"/>\r
130             </xs:sequence>\r
131         </xs:complexType>\r
132     </xs:element>\r
133     <xs:element name="contentPersons">\r
134         <xs:complexType>\r
135             <xs:sequence>\r
136                 <xs:element name="contentPerson" type="xs:string" minOccurs="0"\r
137                     maxOccurs="unbounded"/>\r
138             </xs:sequence>\r
139         </xs:complexType>\r
140     </xs:element>\r
141     <xs:element name="contentPlaces">\r
142         <xs:complexType>\r
143             <xs:sequence>\r
144                 <xs:element name="contentPlace" type="xs:string" minOccurs="0" maxOccurs="unbounded"\r
145                 />\r
146             </xs:sequence>\r
147         </xs:complexType>\r
148     </xs:element>\r
149     \r
150     <xs:element name="contentScripts">\r
151         <xs:complexType>\r
152             <xs:sequence>\r
153                 <xs:element name="contentScript" type="xs:string" minOccurs="0"\r
154                     maxOccurs="unbounded"/>\r
155             </xs:sequence>\r
156         </xs:complexType>\r
157     </xs:element>\r
158     <xs:element name="copyNumber" type="xs:string"/>\r
159     <!-- Changed name of next field from dimensions (type="dimensionList") in v1.13 when adding repeatable sub group -->\r
160     <xs:element name="measuredPartGroupList" type="measuredPartGroupList"/>\r
161     <xs:element name="editionNumber" type="xs:string"/>\r
162     <xs:element name="forms">\r
163         <xs:complexType>\r
164             <xs:sequence>\r
165                 <xs:element name="form" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
166             </xs:sequence>\r
167         </xs:complexType>\r
168     </xs:element>\r
169 \r
170     <!-- Object description Inscription - Content Information -->\r
171     <xs:element name="textualInscriptionGroupList" type="textualInscriptionGroupList"/>\r
172     <xs:complexType name="textualInscriptionGroupList">\r
173         <xs:sequence>\r
174             <xs:element name="textualInscriptionGroup" type="textualInscriptionGroup" minOccurs="0"\r
175                 maxOccurs="unbounded"/>\r
176         </xs:sequence>\r
177     </xs:complexType>\r
178 \r
179     <!-- FIXME Consider whether changes to field names below are required -->\r
180     <!-- in response to the renaming of this group to Textual inscription -->\r
181     <xs:complexType name="textualInscriptionGroup">\r
182         <xs:sequence>\r
183             <xs:element name="inscriptionContent" type="xs:string"/>\r
184             <xs:element name="inscriptionContentInscriber" type="xs:string"/>\r
185             <xs:element name="inscriptionContentDateGroup" type="structuredDateGroup"/>\r
186             <xs:element name="inscriptionContentInterpretation" type="xs:string"/>\r
187             <xs:element name="inscriptionContentLanguage" type="xs:string"/>\r
188             <xs:element name="inscriptionContentMethod" type="xs:string"/>\r
189             <xs:element name="inscriptionContentPosition" type="xs:string"/>\r
190             <xs:element name="inscriptionContentScript" type="xs:string"/>\r
191             <xs:element name="inscriptionContentTranslation" type="xs:string"/>\r
192             <xs:element name="inscriptionContentTransliteration" type="xs:string"/>\r
193             <xs:element name="inscriptionContentType" type="xs:string"/>\r
194         </xs:sequence>\r
195     </xs:complexType>\r
196 \r
197     <!-- Object Description Inscription - Description Information -->\r
198     <xs:element name="nonTextualInscriptionGroupList" type="nonTextualInscriptionGroupList"/>\r
199     <xs:complexType name="nonTextualInscriptionGroupList">\r
200         <xs:sequence>\r
201             <xs:element name="nonTextualInscriptionGroup" type="nonTextualInscriptionGroup"\r
202                 minOccurs="0" maxOccurs="unbounded"/>\r
203         </xs:sequence>\r
204     </xs:complexType>\r
205 \r
206     <!-- FIXME Consider whether changes to field names below are required -->\r
207     <!-- in response to the renaming of this group to Non-textual inscription -->\r
208     <xs:complexType name="nonTextualInscriptionGroup">\r
209         <xs:sequence>\r
210             <xs:element name="inscriptionDescription" type="xs:string"/>\r
211             <xs:element name="inscriptionDescriptionInscriber" type="xs:string"/>\r
212             <xs:element name="inscriptionDescriptionDateGroup" type="structuredDateGroup"/>\r
213             <xs:element name="inscriptionDescriptionInterpretation" type="xs:string"/>\r
214             <xs:element name="inscriptionDescriptionMethod" type="xs:string"/>\r
215             <xs:element name="inscriptionDescriptionPosition" type="xs:string"/>\r
216             <xs:element name="inscriptionDescriptionType" type="xs:string"/>\r
217         </xs:sequence>\r
218     </xs:complexType>\r
219     <!-- Object Description Material Information -->\r
220 \r
221     <xs:element name="materialGroupList" type="materialGroupList"/>\r
222 \r
223     <!-- Misc Object Description Information -->\r
224 \r
225     <xs:element name="objectStatusList" type="objectStatusList"/>\r
226     <xs:element name="phase" type="xs:string"/>\r
227     <xs:element name="physicalDescription" type="xs:string"/>\r
228     <xs:element name="sex" type="xs:string"/>\r
229     <xs:element name="styles">\r
230         <xs:complexType>\r
231             <xs:sequence>\r
232                 <xs:element name="style" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
233             </xs:sequence>\r
234         </xs:complexType>\r
235     </xs:element>\r
236     <xs:element name="technicalAttributeGroupList" type="technicalAttributeGroupList"/>\r
237     <xs:element name="objectComponentGroupList" type="objectComponentGroupList"/>\r
238 \r
239     <!-- Object Production Information -->\r
240     <xs:element name="objectProductionDateGroupList" type="objectProductionDateGroupList"/>\r
241     <xs:element name="objectProductionNote" type="xs:string"/>\r
242     <xs:element name="objectProductionOrganizationGroupList"\r
243         type="objectProductionOrganizationGroupList"/>\r
244     <xs:element name="objectProductionPeopleGroupList" type="objectProductionPeopleGroupList"/>\r
245     <xs:element name="objectProductionPersonGroupList" type="objectProductionPersonGroupList"/>\r
246     <xs:element name="objectProductionPlaceGroupList" type="objectProductionPlaceGroupList"/>\r
247     <xs:element name="objectProductionReasons">\r
248         <xs:complexType>\r
249             <xs:sequence>\r
250                 <xs:element name="objectProductionReason" type="xs:string" minOccurs="0"\r
251                     maxOccurs="unbounded"/>\r
252             </xs:sequence>\r
253         </xs:complexType>\r
254     </xs:element>\r
255     <xs:element name="techniqueGroupList" type="techniqueGroupList"/>\r
256 \r
257     <!-- Object History and Association Information - Association -->\r
258 \r
259     <!-- In the following field names, "assoc" is an abbreviation for "associated". -->\r
260     <!-- See the comments to CSPACE-2501 for a discussion of the database identifier -->\r
261     <!-- length limit that made this abbreviation necessary. -->\r
262     <xs:element name="assocActivityGroupList" type="assocActivityGroupList"/>\r
263     <xs:element name="assocConceptGroupList" type="assocConceptGroupList"/>\r
264     <!-- FIXME rename fields, if not over CSPACE-2501 length limit, -->\r
265     <!-- to assocCulturalAffinity -->\r
266     <xs:element name="assocCulturalContextGroupList" type="assocCulturalContextGroupList"/>\r
267     <xs:element name="assocDateGroupList" type="assocDateGroupList"/>\r
268     <!-- FIXME Start of Associated event repeatable group -->\r
269     <!-- Note: this group has repeatable sub-fields, and thus will -->\r
270     <!-- not be implemented as part of CSPACE-3229 in Release 1.2 -->\r
271     <xs:element name="assocEventName" type="xs:string"/>\r
272     <xs:element name="assocEventNameType" type="xs:string"/>\r
273     \r
274     <xs:element name="assocEventOrganizations">\r
275         <xs:complexType>\r
276             <xs:sequence>\r
277                 <xs:element name="assocEventOrganization" type="xs:string" minOccurs="0"\r
278                     maxOccurs="unbounded"/>\r
279             </xs:sequence>\r
280         </xs:complexType>\r
281     </xs:element>\r
282     \r
283     <xs:element name="assocEventPersons">\r
284         <xs:complexType>\r
285             <xs:sequence>\r
286                 <xs:element name="assocEventPerson" type="xs:string" minOccurs="0"\r
287                     maxOccurs="unbounded"/>\r
288             </xs:sequence>\r
289         </xs:complexType>\r
290     </xs:element>\r
291     <xs:element name="assocEventPlaces">\r
292         <xs:complexType>\r
293             <xs:sequence>\r
294                 <xs:element name="assocEventPlace" type="xs:string" minOccurs="0"\r
295                     maxOccurs="unbounded"/>\r
296             </xs:sequence>\r
297         </xs:complexType>\r
298     </xs:element>\r
299     <xs:element name="assocObjectGroupList" type="assocObjectGroupList"/>\r
300     <xs:element name="assocOrganizationGroupList" type="assocOrganizationGroupList"/>\r
301     <xs:element name="assocPeopleGroupList" type="assocPeopleGroupList"/>\r
302     <xs:element name="assocPersonGroupList" type="assocPersonGroupList"/>\r
303     <xs:element name="assocPlaceGroupList" type="assocPlaceGroupList"/>\r
304     <!-- FIXME Start of owner repeatable group -->\r
305     <!-- Note: this group has repeatable sub-fields, and thus will -->\r
306     <!-- not be implemented as part of CSPACE-3229 in Release 1.2 -->\r
307     <xs:element name="owners">\r
308         <xs:complexType>\r
309             <xs:sequence>\r
310                 <xs:element name="owner" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
311             </xs:sequence>\r
312         </xs:complexType>\r
313     </xs:element>\r
314     \r
315     <xs:element name="ownershipCategory" type="xs:string"/>\r
316     <xs:element name="ownershipDateGroupList" type="ownershipDateGroupList"/>\r
317     <xs:element name="ownershipExchangeMethod" type="xs:string"/>\r
318     <xs:element name="ownershipExchangeNote" type="xs:string"/>\r
319     <xs:element name="ownershipExchangePriceCurrency" type="xs:string"/>\r
320     <xs:element name="ownershipExchangePriceValue" type="xs:decimal"/>\r
321     <xs:element name="ownershipPlace" type="xs:string"/>\r
322     <!-- FIXME End of owner repeatable group -->\r
323     <xs:element name="usageGroupList" type="usageGroupList"/>\r
324 \r
325     <!-- Object Owner's Contribution Information -->\r
326 \r
327     <xs:element name="ownersPersonalExperience" type="xs:string"/>\r
328     <xs:element name="ownersPersonalResponse" type="xs:string"/>\r
329     <xs:element name="ownersReferences">\r
330         <xs:complexType>\r
331             <xs:sequence>\r
332                 <xs:element name="ownersReference" type="xs:string" minOccurs="0"\r
333                     maxOccurs="unbounded"/>\r
334             </xs:sequence>\r
335         </xs:complexType>\r
336     </xs:element>\r
337     <xs:element name="ownersContributionNote" type="xs:string"/>\r
338 \r
339     <!-- Object Viewers Contribution Information -->\r
340 \r
341     <xs:element name="viewersRole" type="xs:string"/>\r
342     <xs:element name="viewersPersonalExperience" type="xs:string"/>\r
343     \r
344     <xs:element name="viewersReferences">\r
345         <xs:complexType>\r
346             <xs:sequence>\r
347                 <xs:element name="viewersReference" type="xs:string" minOccurs="0"\r
348                     maxOccurs="unbounded"/>\r
349             </xs:sequence>\r
350         </xs:complexType>\r
351     </xs:element>\r
352     <xs:element name="viewersContributionNote" type="xs:string"/>\r
353 \r
354     <!-- Reference Information -->\r
355 \r
356     <xs:element name="referenceGroupList" type="referenceGroupList"/>\r
357 \r
358     <!--  Object Collection Information Group -->\r
359 \r
360     <xs:element name="fieldCollectionDateGroup" type="structuredDateGroup"/>\r
361     \r
362     <xs:element name="fieldCollectionNote" type="xs:string"/>\r
363     <xs:element name="fieldCollectionNumber" type="xs:string"/>\r
364     <xs:element name="fieldCollectionPlace" type="xs:string"/>\r
365     <xs:element name="fieldCollectionSources">\r
366         <xs:complexType>\r
367             <xs:sequence>\r
368                 <xs:element name="fieldCollectionSource" type="xs:string" minOccurs="0"\r
369                     maxOccurs="unbounded"/>\r
370             </xs:sequence>\r
371         </xs:complexType>\r
372     </xs:element>\r
373     <xs:element name="fieldCollectors">\r
374         <xs:complexType>\r
375             <xs:sequence>\r
376                 <xs:element name="fieldCollector" type="xs:string" minOccurs="0"\r
377                     maxOccurs="unbounded"/>\r
378             </xs:sequence>\r
379         </xs:complexType>\r
380     </xs:element>\r
381     <xs:element name="fieldColEventNames">\r
382         <xs:complexType>\r
383             <xs:sequence>\r
384                 <xs:element name="fieldColEventName" type="xs:string" minOccurs="0"\r
385                     maxOccurs="unbounded"/>\r
386             </xs:sequence>\r
387         </xs:complexType>\r
388     </xs:element>\r
389 \r
390     <xs:complexType name="otherNumberList">\r
391         <xs:sequence>\r
392             <xs:element name="otherNumber" type="ns:otherNumber" minOccurs="0" maxOccurs="unbounded"\r
393             />\r
394         </xs:sequence>\r
395     </xs:complexType>\r
396     <xs:complexType name="otherNumber">\r
397         <xs:sequence>\r
398             <xs:element name="numberValue" type="xs:string"/>\r
399             <xs:element name="numberType" type="xs:string"/>\r
400         </xs:sequence>\r
401     </xs:complexType>\r
402 \r
403     <xs:complexType name="objectNameList">\r
404         <xs:sequence>\r
405             <xs:element name="objectNameGroup" type="objectNameGroup" minOccurs="0"\r
406                 maxOccurs="unbounded"/>\r
407         </xs:sequence>\r
408     </xs:complexType>\r
409     <xs:complexType name="objectNameGroup">\r
410         <xs:sequence>\r
411             <xs:element name="objectName" type="xs:string"/>\r
412             <xs:element name="objectNameCurrency" type="xs:string"/>\r
413             <xs:element name="objectNameLevel" type="xs:string"/>\r
414             <xs:element name="objectNameNote" type="xs:string"/>\r
415             <xs:element name="objectNameSystem" type="xs:string"/>\r
416             <xs:element name="objectNameType" type="xs:string"/>\r
417             <xs:element name="objectNameLanguage" type="xs:string"/>\r
418         </xs:sequence>\r
419     </xs:complexType>\r
420 \r
421     <xs:complexType name="titleGroupList">\r
422         <xs:sequence>\r
423             <xs:element name="titleGroup" type="titleGroup" minOccurs="0" maxOccurs="unbounded"/>\r
424         </xs:sequence>\r
425     </xs:complexType>\r
426 \r
427     <xs:complexType name="titleGroup">\r
428         <xs:sequence>\r
429             <xs:element name="title" type="xs:string"/>\r
430             <xs:element name="titleLanguage" type="xs:string"/>\r
431             <xs:element name="titleType" type="xs:string"/>\r
432             <xs:element name="titleTranslationSubGroupList" type="titleTranslationSubGroupList"/>\r
433         </xs:sequence>\r
434     </xs:complexType>\r
435 \r
436     <xs:complexType name="titleTranslationSubGroupList">\r
437         <xs:sequence>\r
438             <xs:element name="titleTranslationSubGroup" type="titleTranslationSubGroup"\r
439                 minOccurs="0" maxOccurs="unbounded"/>\r
440         </xs:sequence>\r
441     </xs:complexType>\r
442 \r
443     <xs:complexType name="titleTranslationSubGroup">\r
444         <xs:sequence>\r
445             <xs:element name="titleTranslation" type="xs:string"/>\r
446             <xs:element name="titleTranslationLanguage" type="xs:string"/>\r
447         </xs:sequence>\r
448     </xs:complexType>\r
449 \r
450     <xs:complexType name="contentEventNameGroupList">\r
451         <xs:sequence>\r
452             <xs:element name="contentEventNameGroup" type="contentEventNameGroup" minOccurs="0"\r
453                 maxOccurs="unbounded"/>\r
454         </xs:sequence>\r
455     </xs:complexType>\r
456     <xs:complexType name="contentEventNameGroup">\r
457         <xs:sequence>\r
458             <xs:element name="contentEventName" type="xs:string"/>\r
459             <xs:element name="contentEventNameType" type="xs:string"/>\r
460         </xs:sequence>\r
461     </xs:complexType>\r
462 \r
463     <xs:complexType name="contentObjectGroupList">\r
464         <xs:sequence>\r
465             <xs:element name="contentObjectGroup" type="contentObjectGroup" minOccurs="0"\r
466                 maxOccurs="unbounded"/>\r
467         </xs:sequence>\r
468     </xs:complexType>\r
469     <xs:complexType name="contentObjectGroup">\r
470         <xs:sequence>\r
471             <xs:element name="contentObject" type="xs:string"/>\r
472             <xs:element name="contentObjectType" type="xs:string"/>\r
473         </xs:sequence>\r
474     </xs:complexType>\r
475 \r
476     <xs:complexType name="contentOtherGroupList">\r
477         <xs:sequence>\r
478             <xs:element name="contentOtherGroup" type="contentOtherGroup" minOccurs="0"\r
479                 maxOccurs="unbounded"/>\r
480         </xs:sequence>\r
481     </xs:complexType>\r
482     <xs:complexType name="contentOtherGroup">\r
483         <xs:sequence>\r
484             <xs:element name="contentOther" type="xs:string"/>\r
485             <xs:element name="contentOtherType" type="xs:string"/>\r
486         </xs:sequence>\r
487     </xs:complexType>\r
488 \r
489     <!-- Changed names, as of v1.13: dimensionList became measuredPartGroupList, dimensionGroup became measuredPartGroup. -->\r
490     <xs:complexType name="measuredPartGroupList">\r
491         <xs:sequence>\r
492             <xs:element name="measuredPartGroup" type="measuredPartGroup" minOccurs="0"\r
493                 maxOccurs="unbounded"/>\r
494         </xs:sequence>\r
495     </xs:complexType>\r
496     <xs:complexType name="measuredPartGroup">\r
497         <xs:sequence>\r
498             <xs:element name="measuredPart" type="xs:string"/>\r
499             <xs:element name="dimensionSummary" type="xs:string"/>\r
500             <xs:element name="dimensionSubGroupList" type="dimensionSubGroupList"/>\r
501         </xs:sequence>\r
502     </xs:complexType>\r
503 \r
504     <xs:complexType name="dimensionSubGroupList">\r
505         <xs:sequence>\r
506             <xs:element name="dimensionSubGroup" type="dimensionSubGroup" minOccurs="0"\r
507                 maxOccurs="unbounded"/>\r
508         </xs:sequence>\r
509     </xs:complexType>\r
510 \r
511     <xs:complexType name="dimensionSubGroup">\r
512         <xs:sequence>\r
513             <xs:element name="dimension" type="xs:string"/>\r
514             <xs:element name="measuredBy" type="xs:string"/>\r
515             <xs:element name="measurementUnit" type="xs:string"/>\r
516             <xs:element name="measurementMethod" type="xs:string"/>\r
517             <xs:element name="value" type="xs:decimal"/>\r
518             <xs:element name="valueDate" type="xs:dateTime"/>\r
519             <xs:element name="valueQualifier" type="xs:string"/>\r
520             <xs:element name="dimensionNote" type="xs:string"/>\r
521         </xs:sequence>\r
522     </xs:complexType>\r
523 \r
524     <xs:complexType name="materialGroupList">\r
525         <xs:sequence>\r
526             <xs:element name="materialGroup" type="materialGroup" minOccurs="0"\r
527                 maxOccurs="unbounded"/>\r
528         </xs:sequence>\r
529     </xs:complexType>\r
530     <xs:complexType name="materialGroup">\r
531         <xs:sequence>\r
532             <xs:element name="material" type="xs:string"/>\r
533             <xs:element name="materialComponent" type="xs:string"/>\r
534             <xs:element name="materialComponentNote" type="xs:string"/>\r
535             <xs:element name="materialName" type="xs:string"/>\r
536             <xs:element name="materialSource" type="xs:string"/>\r
537         </xs:sequence>\r
538     </xs:complexType>\r
539 \r
540     <xs:complexType name="objectStatusList">\r
541         <xs:sequence>\r
542             <xs:element name="objectStatus" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>\r
543         </xs:sequence>\r
544     </xs:complexType>\r
545 \r
546     <xs:complexType name="technicalAttributeGroupList">\r
547         <xs:sequence>\r
548             <xs:element name="technicalAttributeGroup" type="technicalAttributeGroup" minOccurs="0"\r
549                 maxOccurs="unbounded"/>\r
550         </xs:sequence>\r
551     </xs:complexType>\r
552     <xs:complexType name="technicalAttributeGroup">\r
553         <xs:sequence>\r
554             <xs:element name="technicalAttribute" type="xs:string"/>\r
555             <xs:element name="technicalAttributeMeasurement" type="xs:string"/>\r
556             <xs:element name="technicalAttributeMeasurementUnit" type="xs:string"/>\r
557         </xs:sequence>\r
558     </xs:complexType>\r
559 \r
560     <xs:complexType name="objectComponentGroupList">\r
561         <xs:sequence>\r
562             <xs:element name="objectComponentGroup" type="objectComponentGroup" minOccurs="0"\r
563                 maxOccurs="unbounded"/>\r
564         </xs:sequence>\r
565     </xs:complexType>\r
566     <xs:complexType name="objectComponentGroup">\r
567         <xs:sequence>\r
568             <xs:element name="objectComponentName" type="xs:string"/>\r
569             <xs:element name="objectComponentInformation" type="xs:string"/>\r
570         </xs:sequence>\r
571     </xs:complexType>\r
572 \r
573     <xs:complexType name="objectProductionDateGroupList">\r
574         <xs:sequence>\r
575             <xs:element name="objectProductionDateGroup" type="structuredDateGroup" minOccurs="0"\r
576                 maxOccurs="unbounded"/>\r
577         </xs:sequence>\r
578     </xs:complexType>\r
579 \r
580     <xs:complexType name="objectProductionOrganizationGroupList">\r
581         <xs:sequence>\r
582             <xs:element name="objectProductionOrganizationGroup"\r
583                 type="objectProductionOrganizationGroup" minOccurs="0" maxOccurs="unbounded"/>\r
584         </xs:sequence>\r
585     </xs:complexType>\r
586     <xs:complexType name="objectProductionOrganizationGroup">\r
587         <xs:sequence>\r
588             <xs:element name="objectProductionOrganization" type="xs:string"/>\r
589             <xs:element name="objectProductionOrganizationRole" type="xs:string"/>\r
590         </xs:sequence>\r
591     </xs:complexType>\r
592 \r
593     <xs:complexType name="objectProductionPeopleGroupList">\r
594         <xs:sequence>\r
595             <xs:element name="objectProductionPeopleGroup" type="objectProductionPeopleGroup"\r
596                 minOccurs="0" maxOccurs="unbounded"/>\r
597         </xs:sequence>\r
598     </xs:complexType>\r
599     <xs:complexType name="objectProductionPeopleGroup">\r
600         <xs:sequence>\r
601             <xs:element name="objectProductionPeople" type="xs:string"/>\r
602             <xs:element name="objectProductionPeopleRole" type="xs:string"/>\r
603         </xs:sequence>\r
604     </xs:complexType>\r
605 \r
606     <xs:complexType name="objectProductionPersonGroupList">\r
607         <xs:sequence>\r
608             <xs:element name="objectProductionPersonGroup" type="objectProductionPersonGroup"\r
609                 minOccurs="0" maxOccurs="unbounded"/>\r
610         </xs:sequence>\r
611     </xs:complexType>\r
612     <xs:complexType name="objectProductionPersonGroup">\r
613         <xs:sequence>\r
614             <xs:element name="objectProductionPerson" type="xs:string"/>\r
615             <xs:element name="objectProductionPersonRole" type="xs:string"/>\r
616         </xs:sequence>\r
617     </xs:complexType>\r
618 \r
619     <xs:complexType name="objectProductionPlaceGroupList">\r
620         <xs:sequence>\r
621             <xs:element name="objectProductionPlaceGroup" type="objectProductionPlaceGroup"\r
622                 minOccurs="0" maxOccurs="unbounded"/>\r
623         </xs:sequence>\r
624     </xs:complexType>\r
625     <xs:complexType name="objectProductionPlaceGroup">\r
626         <xs:sequence>\r
627             <xs:element name="objectProductionPlace" type="xs:string"/>\r
628             <xs:element name="objectProductionPlaceRole" type="xs:string"/>\r
629         </xs:sequence>\r
630     </xs:complexType>\r
631 \r
632     <xs:complexType name="techniqueGroupList">\r
633         <xs:sequence>\r
634             <xs:element name="techniqueGroup" type="techniqueGroup" minOccurs="0"\r
635                 maxOccurs="unbounded"/>\r
636         </xs:sequence>\r
637     </xs:complexType>\r
638     <xs:complexType name="techniqueGroup">\r
639         <xs:sequence>\r
640             <xs:element name="technique" type="xs:string"/>\r
641             <xs:element name="techniqueType" type="xs:string"/>\r
642         </xs:sequence>\r
643     </xs:complexType>\r
644 \r
645     <xs:complexType name="assocActivityGroupList">\r
646         <xs:sequence>\r
647             <xs:element name="assocActivityGroup" type="assocActivityGroup" minOccurs="0"\r
648                 maxOccurs="unbounded"/>\r
649         </xs:sequence>\r
650     </xs:complexType>\r
651     <xs:complexType name="assocActivityGroup">\r
652         <xs:sequence>\r
653             <xs:element name="assocActivity" type="xs:string"/>\r
654             <xs:element name="assocActivityType" type="xs:string"/>\r
655             <xs:element name="assocActivityNote" type="xs:string"/>\r
656         </xs:sequence>\r
657     </xs:complexType>\r
658 \r
659     <xs:complexType name="assocConceptGroupList">\r
660         <xs:sequence>\r
661             <xs:element name="assocConceptGroup" type="assocConceptGroup" minOccurs="0"\r
662                 maxOccurs="unbounded"/>\r
663         </xs:sequence>\r
664     </xs:complexType>\r
665     <xs:complexType name="assocConceptGroup">\r
666         <xs:sequence>\r
667             <xs:element name="assocConcept" type="xs:string"/>\r
668             <xs:element name="assocConceptType" type="xs:string"/>\r
669             <xs:element name="assocConceptNote" type="xs:string"/>\r
670         </xs:sequence>\r
671     </xs:complexType>\r
672 \r
673     <!-- FIXME rename fields, if not over CSPACE-2501 length limit, -->\r
674     <!-- to assocCulturalAffinity -->\r
675     <xs:complexType name="assocCulturalContextGroupList">\r
676         <xs:sequence>\r
677             <xs:element name="assocCulturalContextGroup" type="assocCulturalContextGroup"\r
678                 minOccurs="0" maxOccurs="unbounded"/>\r
679         </xs:sequence>\r
680     </xs:complexType>\r
681     <!-- FIXME rename fields, if not over CSPACE-2501 length limit, -->\r
682     <!-- to assocCulturalAffinity -->\r
683     <xs:complexType name="assocCulturalContextGroup">\r
684         <xs:sequence>\r
685             <xs:element name="assocCulturalContext" type="xs:string"/>\r
686             <xs:element name="assocCulturalContextType" type="xs:string"/>\r
687             <xs:element name="assocCulturalContextNote" type="xs:string"/>\r
688         </xs:sequence>\r
689     </xs:complexType>\r
690 \r
691     <xs:complexType name="assocDateGroupList">\r
692         <xs:sequence>\r
693             <xs:element name="assocDateGroup" type="assocDateGroup" minOccurs="0"\r
694                 maxOccurs="unbounded"/>\r
695         </xs:sequence>\r
696     </xs:complexType>\r
697     <xs:complexType name="assocDateGroup">\r
698         <xs:sequence>\r
699             <!-- CSPACE-4775: Renamed assocDate to assocStructuredDateGroup. This doesn't follow the convention where the -->\r
700             <!-- structured date field would normally be named assocDateGroup, because a complexType by that name already exists. -->\r
701             <!-- The app layer doesn't handle the duplicated name well, and it's more invasive to change the name of the complexType -->\r
702             <!-- than to use an unconventional name for the field, which we'd be renaming anyway. -->\r
703             <xs:element name="assocStructuredDateGroup" type="structuredDateGroup"/>\r
704             <xs:element name="assocDateType" type="xs:string"/>\r
705             <xs:element name="assocDateNote" type="xs:string"/>\r
706         </xs:sequence>\r
707     </xs:complexType>\r
708 \r
709     <xs:complexType name="assocObjectGroupList">\r
710         <xs:sequence>\r
711             <xs:element name="assocObjectGroup" type="assocObjectGroup" minOccurs="0"\r
712                 maxOccurs="unbounded"/>\r
713         </xs:sequence>\r
714     </xs:complexType>\r
715     <xs:complexType name="assocObjectGroup">\r
716         <xs:sequence>\r
717             <xs:element name="assocObject" type="xs:string"/>\r
718             <xs:element name="assocObjectType" type="xs:string"/>\r
719             <xs:element name="assocObjectNote" type="xs:string"/>\r
720         </xs:sequence>\r
721     </xs:complexType>\r
722 \r
723     <xs:complexType name="assocOrganizationGroupList">\r
724         <xs:sequence>\r
725             <xs:element name="assocOrganizationGroup" type="assocOrganizationGroup" minOccurs="0"\r
726                 maxOccurs="unbounded"/>\r
727         </xs:sequence>\r
728     </xs:complexType>\r
729     <xs:complexType name="assocOrganizationGroup">\r
730         <xs:sequence>\r
731             <xs:element name="assocOrganization" type="xs:string"/>\r
732             <xs:element name="assocOrganizationType" type="xs:string"/>\r
733             <xs:element name="assocOrganizationNote" type="xs:string"/>\r
734         </xs:sequence>\r
735     </xs:complexType>\r
736 \r
737     <xs:complexType name="assocPeopleGroupList">\r
738         <xs:sequence>\r
739             <xs:element name="assocPeopleGroup" type="assocPeopleGroup" minOccurs="0"\r
740                 maxOccurs="unbounded"/>\r
741         </xs:sequence>\r
742     </xs:complexType>\r
743     <xs:complexType name="assocPeopleGroup">\r
744         <xs:sequence>\r
745             <xs:element name="assocPeople" type="xs:string"/>\r
746             <xs:element name="assocPeopleType" type="xs:string"/>\r
747             <xs:element name="assocPeopleNote" type="xs:string"/>\r
748         </xs:sequence>\r
749     </xs:complexType>\r
750 \r
751     <xs:complexType name="assocPersonGroupList">\r
752         <xs:sequence>\r
753             <xs:element name="assocPersonGroup" type="assocPersonGroup" minOccurs="0"\r
754                 maxOccurs="unbounded"/>\r
755         </xs:sequence>\r
756     </xs:complexType>\r
757     <xs:complexType name="assocPersonGroup">\r
758         <xs:sequence>\r
759             <xs:element name="assocPerson" type="xs:string"/>\r
760             <xs:element name="assocPersonType" type="xs:string"/>\r
761             <xs:element name="assocPersonNote" type="xs:string"/>\r
762         </xs:sequence>\r
763     </xs:complexType>\r
764 \r
765     <xs:complexType name="assocPlaceGroupList">\r
766         <xs:sequence>\r
767             <xs:element name="assocPlaceGroup" type="assocPlaceGroup" minOccurs="0"\r
768                 maxOccurs="unbounded"/>\r
769         </xs:sequence>\r
770     </xs:complexType>\r
771     <xs:complexType name="assocPlaceGroup">\r
772         <xs:sequence>\r
773             <xs:element name="assocPlace" type="xs:string"/>\r
774             <xs:element name="assocPlaceType" type="xs:string"/>\r
775             <xs:element name="assocPlaceNote" type="xs:string"/>\r
776         </xs:sequence>\r
777     </xs:complexType>\r
778 \r
779     <xs:complexType name="ownershipDateGroupList">\r
780         <xs:sequence>\r
781             <xs:element name="ownershipDateGroup" type="structuredDateGroup" minOccurs="0"\r
782                 maxOccurs="unbounded"/>\r
783         </xs:sequence>\r
784     </xs:complexType>\r
785 \r
786     <xs:complexType name="usageGroupList">\r
787         <xs:sequence>\r
788             <xs:element name="usageGroup" type="usageGroup" minOccurs="0" maxOccurs="unbounded"/>\r
789         </xs:sequence>\r
790     </xs:complexType>\r
791     <xs:complexType name="usageGroup">\r
792         <xs:sequence>\r
793             <xs:element name="usage" type="xs:string"/>\r
794             <xs:element name="usageNote" type="xs:string"/>\r
795         </xs:sequence>\r
796     </xs:complexType>\r
797 \r
798     <xs:complexType name="referenceGroupList">\r
799         <xs:sequence>\r
800             <xs:element name="referenceGroup" type="referenceGroup" minOccurs="0"\r
801                 maxOccurs="unbounded"/>\r
802         </xs:sequence>\r
803     </xs:complexType>\r
804 \r
805     <xs:complexType name="referenceGroup">\r
806         <xs:sequence>\r
807             <xs:element name="reference" type="xs:string"/>\r
808             <xs:element name="referenceNote" type="xs:string"/>\r
809         </xs:sequence>\r
810     </xs:complexType>\r
811 \r
812     <!-- Before (re)using this generic complex type in any record type -->\r
813     <!-- other than CollectionObject, be sure to verify that Nuxeo handles -->\r
814     <!-- that correctly in its table creation/row linking. -->\r
815     <xs:complexType name="structuredDateGroup">\r
816         <xs:sequence>\r
817             <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>\r
818             <xs:element name="scalarValuesComputed" type="xs:boolean"/>\r
819             <xs:element name="dateLatestDay" type="xs:integer"/>\r
820             <xs:element name="dateLatestYear" type="xs:integer"/>\r
821             <xs:element name="dateAssociation" type="xs:string"/>\r
822             <xs:element name="dateEarliestSingleEra" type="xs:string"/>\r
823             <xs:element name="dateDisplayDate" type="xs:string"/>\r
824             <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>\r
825             <xs:element name="dateLatestEra" type="xs:string"/>\r
826             <xs:element name="dateEarliestSingleQualifierValue" type="xs:integer"/>\r
827             <xs:element name="dateLatestCertainty" type="xs:string"/>\r
828             <xs:element name="dateEarliestSingleYear" type="xs:integer"/>\r
829             <xs:element name="dateLatestQualifier" type="xs:string"/>\r
830             <xs:element name="dateLatestQualifierValue" type="xs:integer"/>\r
831             <xs:element name="dateEarliestSingleQualifierUnit" type="xs:string"/>\r
832             <xs:element name="datePeriod" type="xs:string"/>\r
833             <xs:element name="dateEarliestScalarValue" type="xs:date"/>\r
834             <xs:element name="dateLatestMonth" type="xs:integer"/>\r
835             <xs:element name="dateNote" type="xs:string"/>\r
836             <xs:element name="dateLatestScalarValue" type="xs:date"/>\r
837             <xs:element name="dateLatestQualifierUnit" type="xs:string"/>\r
838             <xs:element name="dateEarliestSingleDay" type="xs:integer"/>\r
839             <xs:element name="dateEarliestSingleMonth" type="xs:integer"/>\r
840         </xs:sequence>\r
841     </xs:complexType>\r
842 \r
843 </xs:schema>\r