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