Debian Codegraph @

t/demo/mods/mods-3-6.xsd

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Editor: Ray Denenberg, Library of Congress; [email protected] -->
3 <xs:schema xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.loc.gov/mods/v3" targetNamespace="http://www.loc.gov/mods/v3" elementFormDefault="qualified" attributeFormDefault="unqualified">
4 <!-- -->
5 <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.loc.gov/mods/xml.xsd"/>
6 <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.loc.gov/standards/xlink/xlink.xsd"/>
7 <!--
8 MODS: Metadata Object Description Schema. See http://www.loc.gov/standards/mods/
9
10 ****************************************************************
11 *
12 * MODS 3.6
13 *
14 * May 5, 2015
15 *
16 *****************************************************************w
17
18
19 ***************************************************
20 Changes in version 3.6
21 1. nonSort definition revised in 3.6. to add attribute @xml:space.
22
23 2. HierarchicalGeographic enhancements.
24 - <province> depricated in favor of <state> (<state> re-defined in guidelines)
25 - Attributes @areaType, @regionType, and @citySectionType
26 defined for elements <area>, <region>, and <citySection>
27 - Attribute @level defined for all place type elements to indicate hierarchical level.
28 - Authority attributeGroup added to all place type elements.
29 - Attribute @period defined. Indicates that the described entity once existed but no longer exists.
30
31 3. Four new attributes for <relatedItem>
32 • @otherType
33 • @otherTypeAuth
34 • @otherTypeAuthURI
35 • @otherTypeURI
36
37
38 4. New element <nameIdentifier>, subelement of <name>, re-using the existing <identifier> definition
39
40
41 5. <cartographics>(subelement of <subject>) is made extensible.
42
43
44 6. New element <recordInfoNote>, subelement of <recordInfo>, re-using the existing <note> definition
45
46 7. New element <itemIdentifier>, subelement of <location><physicalLocation><holdingSimple><copyInformation>
47 with attribute @type, for example:
48 <itemIdentifer type="barcode">
49 <itemIdentifier type="copyNumber">
50 <itemIdentifier type="accessionNumber">
51
52 *********************************************************************************************
53
54 *************************************
55 Organization of this schema
56 *************************************
57 The schema has three parts:
58
59 1. Structural declarations and definitions
60 2. Elements (top level elements and their subelements)
61 3. Auxiliary Definitions
62
63 ***********************************************************************
64 ***********************************************************************
65 Part 1: Structural Declarations and Definitions
66 ***********************************************************************
67 ***********************************************************************
68 - Definition of a single MODS record and a MODS collection
69 - modsGroup, listing the top level MODS elements
70
71 ***********************************************************************
72 ** Definition of a single MODS record **
73 **********************************************************************
74 -->
75 <xs:element name="mods" type="modsDefinition"/>
76 <!-- -->
77 <xs:complexType name="modsDefinition">
78 <xs:group ref="modsGroup" maxOccurs="unbounded"/>
79 <xs:attribute name="ID" type="xs:ID"/>
80 <xs:attribute name="version">
81 <xs:simpleType>
82 <xs:restriction base="xs:string">
83 <xs:enumeration value="3.6"/>
84 <xs:enumeration value="3.5"/>
85 <xs:enumeration value="3.4"/>
86 <xs:enumeration value="3.3"/>
87 <xs:enumeration value="3.2"/>
88 <xs:enumeration value="3.1"/>
89 <xs:enumeration value="3.0"/>
90 </xs:restriction>
91 </xs:simpleType>
92 </xs:attribute>
93 </xs:complexType>
94 <!--
95 ***********************************************************************
96 ** Definition of a MODS collection **
97 **********************************************************************
98 -->
99 <xs:element name="modsCollection" type="modsCollectionDefinition"/>
100 <!-- -->
101 <xs:complexType name="modsCollectionDefinition">
102 <xs:sequence>
103 <xs:element ref="mods" maxOccurs="unbounded"/>
104 </xs:sequence>
105 </xs:complexType>
106 <!--
107
108 ************************************************
109 ** Group Definition
110 ***********************************************
111 This forms the basis of the mods record definition, and also relatedItem.
112 The difference between a MODS record and a relatedItem
113 (as they pertain to their usage of the group definition)
114 is that mods requires at least one element and relatedItem does not.
115 The group definition is used by both, where relatedItem says
116 minOccurs="0" and for the mods record definition minOccurs="1" (default).
117
118 -->
119 <xs:group name="modsGroup">
120 <xs:choice>
121 <!--
122 ***********************************************************************
123 ** These are the "top level" MODS elements **
124 **********************************************************************
125 -->
126 <xs:element ref="abstract"/>
127 <xs:element ref="accessCondition"/>
128 <xs:element ref="classification"/>
129 <xs:element ref="extension"/>
130 <xs:element ref="genre"/>
131 <xs:element ref="identifier"/>
132 <xs:element ref="language"/>
133 <xs:element ref="location"/>
134 <xs:element ref="name"/>
135 <xs:element ref="note"/>
136 <xs:element ref="originInfo"/>
137 <xs:element ref="part"/>
138 <xs:element ref="physicalDescription"/>
139 <xs:element ref="recordInfo"/>
140 <xs:element ref="relatedItem"/>
141 <xs:element ref="subject"/>
142 <xs:element ref="tableOfContents"/>
143 <xs:element ref="targetAudience"/>
144 <xs:element ref="titleInfo"/>
145 <xs:element ref="typeOfResource"/>
146 <!--
147 End list of "top level" MODS elements
148 -->
149 </xs:choice>
150 </xs:group>
151 <!--
152 ***********************************************************************
153 ***********************************************************************
154 Part 2: Elements (top level elements and their subelements)
155 ************************************************************************
156 ***********************************************************************
157 -->
158 <!--
159 *********************************************
160 * Top Level Element <abstract> *
161 *********************************************
162 -->
163 <xs:element name="abstract" type="abstractDefinition"/>
164 <!-- -->
165 <xs:complexType name="abstractDefinition">
166 <xs:simpleContent>
167 <xs:extension base="stringPlusLanguage">
168 <xs:attribute name="displayLabel" type="xs:string"/>
169 <xs:attribute name="type" type="xs:string"/>
170 <xs:attributeGroup ref="xlink:simpleLink"/>
171 <xs:attribute name="shareable" fixed="no"/>
172 <xs:attribute name="altRepGroup" type="xs:string"/>
173 <xs:attributeGroup ref="altFormatAttributeGroup"/>
174 </xs:extension>
175 </xs:simpleContent>
176 </xs:complexType>
177 <!--
178
179 ****************************************************
180 * Top Level Element <accessCondition> *
181 *****************************************************
182 -->
183 <xs:element name="accessCondition" type="accessConditionDefinition"/>
184 <!-- -->
185 <xs:complexType name="accessConditionDefinition" mixed="true">
186 <xs:complexContent mixed="true">
187 <xs:extension base="extensionDefinition">
188 <xs:attributeGroup ref="xlink:simpleLink"/>
189 <xs:attributeGroup ref="languageAttributeGroup"/>
190 <xs:attribute name="type" type="xs:string"/>
191 <xs:attribute name="altRepGroup" type="xs:string"/>
192 <xs:attributeGroup ref="altFormatAttributeGroup"/>
193 </xs:extension>
194 </xs:complexContent>
195 </xs:complexType>
196 <!--
197 ****************************************************
198 * Top Level Element <classification> *
199 *****************************************************
200 -->
201 <xs:element name="classification" type="classificationDefinition"/>
202 <!-- -->
203 <xs:complexType name="classificationDefinition">
204 <xs:simpleContent>
205 <xs:extension base="stringPlusLanguagePlusAuthority">
206 <xs:attribute name="edition" type="xs:string"/>
207 <xs:attribute name="displayLabel" type="xs:string"/>
208 <xs:attribute name="altRepGroup" type="xs:string"/>
209 <xs:attribute name="usage" fixed="primary"/>
210 <xs:attribute name="generator" type="xs:string"/>
211 </xs:extension>
212 </xs:simpleContent>
213 </xs:complexType>
214 <!--
215 ****************************************************
216 * Top Level Element <extension> *
217 *****************************************************
218 -->
219 <xs:element name="extension" type="extensionDefinition"/>
220 <!-- -->
221 <xs:complexType name="extensionDefinition" mixed="true">
222 <xs:sequence>
223 <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
224 </xs:sequence>
225 <xs:attribute name="displayLabel" type="xs:string"/>
226 </xs:complexType>
227 <!--
228 ****************************************************
229 * Top Level Element <genre> *
230 *****************************************************
231 -->
232 <xs:element name="genre" type="genreDefinition"/>
233 <!-- -->
234 <xs:complexType name="genreDefinition">
235 <xs:simpleContent>
236 <xs:extension base="stringPlusLanguagePlusAuthority">
237 <xs:attribute name="type" type="xs:string"/>
238 <xs:attribute name="displayLabel" type="xs:string"/>
239 <xs:attribute name="altRepGroup" type="xs:string"/>
240 <xs:attribute name="usage" fixed="primary"/>
241 </xs:extension>
242 </xs:simpleContent>
243 </xs:complexType>
244 <!--
245 ****************************************************
246 * Top Level Element <identifier> *
247 *****************************************************
248 -->
249 <xs:element name="identifier" type="identifierDefinition"/>
250 <!-- -->
251 <xs:complexType name="identifierDefinition">
252 <xs:simpleContent>
253 <xs:extension base="stringPlusLanguage">
254 <xs:attribute name="displayLabel" type="xs:string"/>
255 <xs:attribute name="type" type="xs:string"/>
256 <xs:attribute name="typeURI" type="xs:anyURI"/>
257 <xs:attribute name="invalid" fixed="yes"/>
258 <xs:attribute name="altRepGroup" type="xs:string"/>
259 </xs:extension>
260 </xs:simpleContent>
261 </xs:complexType>
262 <!--
263 ****************************************************
264 * Top Level Element <language> *
265 *****************************************************
266 -->
267 <xs:element name="language" type="languageDefinition"/>
268 <!-- -->
269 <xs:complexType name="languageDefinition">
270 <xs:sequence>
271 <xs:element ref="languageTerm" maxOccurs="unbounded"/>
272 <xs:element ref="scriptTerm" minOccurs="0" maxOccurs="unbounded"/>
273 </xs:sequence>
274 <xs:attribute name="objectPart" type="xs:string"/>
275 <xs:attributeGroup ref="languageAttributeGroup"/>
276 <xs:attribute name="displayLabel" type="xs:string"/>
277 <xs:attribute name="altRepGroup" type="xs:string"/>
278 <xs:attribute name="usage" fixed="primary"/>
279 </xs:complexType>
280 <!--
281
282 ******** Subordinate Elements for <language>
283 -->
284 <xs:element name="languageTerm" type="languageTermDefinition"/>
285 <!-- -->
286 <xs:complexType name="languageTermDefinition">
287 <xs:simpleContent>
288 <xs:extension base="stringPlusLanguage">
289 <xs:attribute name="authorityURI" type="xs:anyURI"/>
290 <xs:attribute name="valueURI" type="xs:anyURI"/>
291 <xs:attribute name="authority">
292 <xs:simpleType>
293 <xs:restriction base="xs:string">
294 <xs:enumeration value="rfc3066"/>
295 <xs:enumeration value="iso639-2b"/>
296 <xs:enumeration value="iso639-3"/>
297 <xs:enumeration value="rfc4646"/>
298 <xs:enumeration value="rfc5646"/>
299 <!-- -->
300 </xs:restriction>
301 </xs:simpleType>
302 </xs:attribute>
303 <xs:attribute name="type" type="codeOrText"/>
304 </xs:extension>
305 </xs:simpleContent>
306 </xs:complexType>
307 <!--
308 *****************scriptTerm ************************
309 -->
310 <xs:element name="scriptTerm" type="scriptTermDefinition"/>
311 <!-- -->
312 <xs:complexType name="scriptTermDefinition">
313 <xs:simpleContent>
314 <xs:extension base="stringPlusLanguagePlusAuthority">
315 <xs:attribute name="type" type="codeOrText"/>
316 </xs:extension>
317 </xs:simpleContent>
318 </xs:complexType>
319 <!--
320
321 ****************************************************
322 * Top Level Element <location> *
323 *****************************************************
324 -->
325 <xs:element name="location" type="locationDefinition"/>
326 <!-- -->
327 <xs:complexType name="locationDefinition">
328 <xs:sequence>
329 <xs:element ref="physicalLocation" minOccurs="0" maxOccurs="unbounded"/>
330 <xs:element ref="shelfLocator" minOccurs="0" maxOccurs="unbounded"/>
331 <xs:element ref="url" minOccurs="0" maxOccurs="unbounded"/>
332 <xs:element ref="holdingSimple" minOccurs="0"/>
333 <xs:element ref="holdingExternal" minOccurs="0"/>
334 </xs:sequence>
335 <xs:attributeGroup ref="languageAttributeGroup"/>
336 <xs:attribute name="displayLabel" type="xs:string"/>
337 <xs:attribute name="altRepGroup" type="xs:string"/>
338 </xs:complexType>
339 <!--
340
341 ******** Subordinate Elements for <location>
342 -->
343 <!--
344 ********** physicalLocation **********
345 -->
346 <xs:element name="physicalLocation" type="physicalLocationDefinition"/>
347 <!-- -->
348 <xs:complexType name="physicalLocationDefinition">
349 <xs:simpleContent>
350 <xs:extension base="stringPlusLanguagePlusAuthority">
351 <xs:attributeGroup ref="xlink:simpleLink"/>
352 <xs:attribute name="displayLabel" type="xs:string"/>
353 <xs:attribute name="type" type="xs:string"/>
354 </xs:extension>
355 </xs:simpleContent>
356 </xs:complexType>
357 <!-- -->
358 <xs:element name="shelfLocator" type="stringPlusLanguage"/>
359 <!--
360 ********** holdingSimple **********
361 -->
362 <xs:element name="holdingSimple" type="holdingSimpleDefinition"/>
363 <!-- -->
364 <xs:complexType name="holdingSimpleDefinition">
365 <xs:sequence>
366 <xs:element ref="copyInformation" maxOccurs="unbounded"/>
367 </xs:sequence>
368 </xs:complexType>
369 <!--
370 **********copyInformation **********
371 -->
372 <xs:element name="copyInformation" type="copyInformationDefinition"/>
373 <!-- -->
374 <xs:complexType name="copyInformationDefinition">
375 <xs:sequence>
376 <xs:element ref="form" minOccurs="0"/>
377 <xs:element ref="subLocation" minOccurs="0" maxOccurs="unbounded"/>
378 <xs:element ref="shelfLocator" minOccurs="0" maxOccurs="unbounded"/>
379 <xs:element ref="electronicLocator" minOccurs="0" maxOccurs="unbounded"/>
380 <xs:element name="note" minOccurs="0" maxOccurs="unbounded">
381 <xs:complexType>
382 <xs:simpleContent>
383 <xs:extension base="stringPlusLanguage">
384 <xs:attribute name="displayLabel" type="xs:string"/>
385 <xs:attribute name="type" type="xs:string"/>
386 <xs:attributeGroup ref="xlink:simpleLink"/>
387 <xs:attribute name="ID" type="xs:ID"/>
388 </xs:extension>
389 </xs:simpleContent>
390 </xs:complexType>
391 </xs:element>
392 <xs:element ref="enumerationAndChronology" minOccurs="0" maxOccurs="unbounded"/>
393 <!--
394 ******************the following element <itemIdentifer> added in 3.6 -->
395 <xs:element ref="itemIdentifier" minOccurs="0" maxOccurs="unbounded"/>
396 <!-- -->
397 </xs:sequence>
398 </xs:complexType>
399
400
401 <!-- following definition is new in 3.6 -->
402 <xs:element name="itemIdentifier" type="itemIdentifierDefinition"/>
403 <xs:complexType name="itemIdentifierDefinition">
404 <xs:simpleContent>
405 <xs:extension base="stringPlusLanguage">
406 <xs:attribute name="type" type="xs:string"/>
407 </xs:extension>
408 </xs:simpleContent>
409 </xs:complexType>
410 <!--
411 **********form**********
412 -->
413 <xs:element name="form" type="formDefinition"/>
414 <!-- -->
415 <xs:complexType name="formDefinition">
416 <xs:simpleContent>
417 <xs:extension base="stringPlusLanguagePlusAuthority">
418 <xs:attribute name="type" type="xs:string"/>
419 </xs:extension>
420 </xs:simpleContent>
421 </xs:complexType>
422 <!-- -->
423 <xs:element name="subLocation" type="stringPlusLanguage"/>
424 <xs:element name="electronicLocator" type="stringPlusLanguage"/>
425 <!--
426 **********enumerationAndChronology **********
427 -->
428 <xs:element name="enumerationAndChronology" type="enumerationAndChronologyDefinition"/>
429 <!-- -->
430 <xs:complexType name="enumerationAndChronologyDefinition">
431 <xs:simpleContent>
432 <xs:extension base="stringPlusLanguage">
433 <xs:attribute name="unitType">
434 <xs:simpleType>
435 <xs:restriction base="xs:string">
436 <xs:enumeration value="1"/>
437 <xs:enumeration value="2"/>
438 <xs:enumeration value="3"/>
439 </xs:restriction>
440 </xs:simpleType>
441 </xs:attribute>
442 </xs:extension>
443 </xs:simpleContent>
444 </xs:complexType>
445 <!--
446 ********** url **********
447 -->
448 <xs:element name="url" type="urlDefinition"/>
449 <!-- -->
450 <xs:complexType name="urlDefinition">
451 <xs:simpleContent>
452 <xs:extension base="xs:anyURI">
453 <xs:attribute name="dateLastAccessed" type="xs:string"/>
454 <xs:attribute name="displayLabel" type="xs:string"/>
455 <xs:attribute name="note" type="xs:string"/>
456 <xs:attribute name="access">
457 <xs:simpleType>
458 <xs:restriction base="xs:string">
459 <xs:enumeration value="preview"/>
460 <xs:enumeration value="raw object"/>
461 <xs:enumeration value="object in context"/>
462 </xs:restriction>
463 </xs:simpleType>
464 </xs:attribute>
465 <xs:attribute name="usage">
466 <xs:simpleType>
467 <xs:restriction base="xs:string">
468 <xs:enumeration value="primary display"/>
469 <xs:enumeration value="primary"/>
470 </xs:restriction>
471 </xs:simpleType>
472 </xs:attribute>
473 </xs:extension>
474 </xs:simpleContent>
475 </xs:complexType>
476 <!-- -->
477 <xs:element name="holdingExternal" type="extensionDefinition"/>
478 <!--
479 ****************************************************
480 * Top Level Element <name> *
481 *****************************************************
482 -->
483 <xs:element name="name" type="nameDefinition"/>
484 <!-- -->
485 <xs:complexType name="nameDefinition">
486 <xs:choice>
487
488 <!-- this choice give two ways to do this.
489 The second way allows the element <etal>, to express "et. al."
490
491 Choice one. WITHOUT <etal>.
492 -->
493 <xs:choice minOccurs="0" maxOccurs="unbounded">
494 <xs:element ref="namePart"/>
495 <xs:element ref="displayForm"/>
496 <xs:element ref="affiliation"/>
497 <xs:element ref="role"/>
498 <xs:element ref="description"/>
499 <!--
500 the following element, <nameIdentifier>, is introduced in version 3.6,
501 to allow the inclusion of an identifier for the object named by this <name>.
502 It is typed as "indentifierDefinition", the same definition that
503 top-level element <identifier> uses.
504 -->
505 <xs:element ref="nameIdentifier"/>
506 <!-- -->
507 </xs:choice>
508 <!--
509 Choice two. With <etal>.
510 The presence of <etal> indicates that there are names that cannot
511 be explicitily included. It may be empty, or it may have simple content
512 - e.g. <etal>et al.</etal>. In the latter case the content is what is
513 suggested for display.
514 When <etal> occurs:
515 - <namePart>, <displayForm>, and <identifier> MAY NOT occur;
516 - <affiliation>, <role>, <description> MAY occur (but are NOT repeatable).
517 <etal> is not repeatable within a given <name>, however there may be
518 mutilple <etal> elements, each within in a separate <name> element.
519 -->
520 <xs:sequence>
521 <!--
522 <etal> is mandatory, nonrepeatable, and must occur first.
523 After that <affiliation>, <role>, and <description> may occur, in any order or number.
524 <nameIdentifier> is not used with <etal>
525 -->
526 <xs:element ref="etal"/>
527 <xs:choice minOccurs="0" maxOccurs="unbounded">
528 <xs:element ref="affiliation"/>
529 <xs:element ref="role"/>
530 <xs:element ref="description"/>
531 </xs:choice>
532 </xs:sequence>
533 <!-- -->
534 </xs:choice>
535 <xs:attribute name="ID" type="xs:ID"/>
536 <xs:attributeGroup ref="authorityAttributeGroup"/>
537 <xs:attributeGroup ref="xlink:simpleLink"/>
538 <xs:attributeGroup ref="languageAttributeGroup"/>
539 <xs:attribute name="displayLabel" type="xs:string"/>
540 <xs:attribute name="altRepGroup" type="xs:string"/>
541 <xs:attribute name="nameTitleGroup" type="xs:string"/>
542 <xs:attribute name="usage" fixed="primary"/>
543 <xs:attribute name="type">
544 <xs:simpleType>
545 <xs:restriction base="xs:string">
546 <xs:enumeration value="personal"/>
547 <xs:enumeration value="corporate"/>
548 <xs:enumeration value="conference"/>
549 <xs:enumeration value="family"/>
550 </xs:restriction>
551 </xs:simpleType>
552 </xs:attribute>
553 </xs:complexType>
554 <!--
555
556 ******** Subordinate Elements for <name>
557 -->
558 <!-- namePart-->
559 <xs:element name="namePart" type="namePartDefinition"/>
560 <!-- -->
561 <xs:complexType name="namePartDefinition">
562 <xs:simpleContent>
563 <xs:extension base="stringPlusLanguage">
564 <xs:attribute name="type">
565 <xs:simpleType>
566 <xs:restriction base="xs:string">
567 <xs:enumeration value="date"/>
568 <xs:enumeration value="family"/>
569 <xs:enumeration value="given"/>
570 <xs:enumeration value="termsOfAddress"/>
571 </xs:restriction>
572 </xs:simpleType>
573 </xs:attribute>
574 </xs:extension>
575 </xs:simpleContent>
576 </xs:complexType>
577 <!-- displayForm, affiliation, description -->
578 <xs:element name="displayForm" type="stringPlusLanguage"/>
579 <xs:element name="affiliation" type="stringPlusLanguage"/>
580 <xs:element name="description" type="stringPlusLanguage"/>
581 <!-- new in 3.6 -->
582 <!-- nameIdentifier -->
583 <xs:element name="nameIdentifier" type="identifierDefinition"/>
584 <!--
585 ******** role *********************
586 -->
587 <xs:element name="role" type="roleDefinition"/>
588 <!-- -->
589 <xs:complexType name="roleDefinition">
590 <xs:sequence maxOccurs="unbounded">
591 <xs:element ref="roleTerm"/>
592 </xs:sequence>
593 </xs:complexType>
594 <!--
595 ***************roleTerm ***********************
596 -->
597 <xs:element name="roleTerm" type="roleTermDefinition"/>
598 <!-- -->
599 <xs:complexType name="roleTermDefinition">
600 <xs:simpleContent>
601 <xs:extension base="stringPlusLanguagePlusAuthority">
602 <xs:attribute name="type" type="codeOrText"/>
603 </xs:extension>
604 </xs:simpleContent>
605 </xs:complexType>
606 <!--
607 ******** etal ********
608 -->
609 <xs:element name="etal" type="stringPlusLanguage"/>
610 <!--
611
612 ****************************************************
613 * Top Level Element <note> *
614 *****************************************************
615 -->
616 <xs:element name="note" type="noteDefinition"/>
617 <!-- -->
618 <xs:complexType name="noteDefinition">
619 <xs:simpleContent>
620 <xs:extension base="stringPlusLanguage">
621 <xs:attribute name="displayLabel" type="xs:string"/>
622 <xs:attribute name="type" type="xs:string"/>
623 <xs:attribute name="typeURI" type="xs:anyURI"/>
624 <xs:attributeGroup ref="xlink:simpleLink"/>
625 <xs:attribute name="ID" type="xs:ID"/>
626 <xs:attribute name="altRepGroup" type="xs:string"/>
627 </xs:extension>
628 </xs:simpleContent>
629 </xs:complexType>
630 <!--
631
632 ****************************************************
633 * Top Level Element <originInfo> *
634 *****************************************************
635 -->
636 <xs:element name="originInfo" type="originInfoDefinition"/>
637 <!-- -->
638 <xs:complexType name="originInfoDefinition">
639 <xs:choice maxOccurs="unbounded">
640 <xs:element ref="place"/>
641 <xs:element ref="publisher"/>
642 <xs:element ref="dateIssued"/>
643 <xs:element ref="dateCreated"/>
644 <xs:element ref="dateCaptured"/>
645 <xs:element ref="dateValid"/>
646 <xs:element ref="dateModified"/>
647 <xs:element ref="copyrightDate"/>
648 <xs:element ref="dateOther"/>
649 <xs:element ref="edition"/>
650 <xs:element ref="issuance"/>
651 <xs:element ref="frequency"/>
652 </xs:choice>
653 <xs:attributeGroup ref="languageAttributeGroup"/>
654 <xs:attribute name="displayLabel" type="xs:string"/>
655 <xs:attribute name="altRepGroup" type="xs:string"/>
656 <xs:attribute name="eventType" type="xs:string"/>
657 </xs:complexType>
658 <!--
659
660 ******** Subordinate Elements for <originInfo>
661 -->
662 <!--
663 *** place ***
664 -->
665 <xs:element name="place" type="placeDefinition"/>
666 <!-- -->
667 <xs:complexType name="placeDefinition">
668 <xs:sequence>
669 <xs:element ref="placeTerm" maxOccurs="unbounded"/>
670 </xs:sequence>
671 <xs:attribute name="supplied" fixed="yes"/>
672 </xs:complexType>
673 <!--
674 *** placeTerm ***
675 -->
676 <xs:element name="placeTerm" type="placeTermDefinition"/>
677 <!-- -->
678 <xs:complexType name="placeTermDefinition">
679 <xs:simpleContent>
680 <xs:extension base="stringPlusLanguage">
681 <xs:attribute name="authorityURI" type="xs:anyURI"/>
682 <xs:attribute name="valueURI" type="xs:anyURI"/>
683 <xs:attribute name="authority">
684 <xs:simpleType>
685 <xs:restriction base="xs:string">
686 <xs:enumeration value="marcgac"/>
687 <xs:enumeration value="marccountry"/>
688 <xs:enumeration value="iso3166"/>
689 </xs:restriction>
690 </xs:simpleType>
691 </xs:attribute>
692 <xs:attribute name="type" type="codeOrText"/>
693 </xs:extension>
694 </xs:simpleContent>
695 </xs:complexType>
696 <!--
697 *** publisher ***
698 -->
699 <xs:element name="publisher" type="stringPlusLanguagePlusSupplied"/>
700 <!--
701 ********** dates **********
702 -->
703 <xs:element name="dateIssued" type="dateDefinition"/>
704 <xs:element name="dateCreated" type="dateDefinition"/>
705 <xs:element name="dateCaptured" type="dateDefinition"/>
706 <xs:element name="dateValid" type="dateDefinition"/>
707 <xs:element name="dateModified" type="dateDefinition"/>
708 <xs:element name="copyrightDate" type="dateDefinition"/>
709 <xs:element name="dateOther" type="dateOtherDefinition"/>
710 <!-- -->
711 <xs:complexType name="dateDefinition">
712 <xs:simpleContent>
713 <xs:extension base="stringPlusLanguage">
714 <xs:attribute name="encoding">
715 <xs:simpleType>
716 <xs:restriction base="xs:string">
717 <xs:enumeration value="w3cdtf"/>
718 <xs:enumeration value="iso8601"/>
719 <xs:enumeration value="marc"/>
720 <xs:enumeration value="temper"/>
721 <xs:enumeration value="edtf"/>
722 </xs:restriction>
723 </xs:simpleType>
724 </xs:attribute>
725 <xs:attribute name="qualifier">
726 <xs:simpleType>
727 <xs:restriction base="xs:string">
728 <xs:enumeration value="approximate"/>
729 <xs:enumeration value="inferred"/>
730 <xs:enumeration value="questionable"/>
731 </xs:restriction>
732 </xs:simpleType>
733 </xs:attribute>
734 <xs:attribute name="point">
735 <xs:simpleType>
736 <xs:restriction base="xs:string">
737 <xs:enumeration value="start"/>
738 <xs:enumeration value="end"/>
739 </xs:restriction>
740 </xs:simpleType>
741 </xs:attribute>
742 <xs:attribute name="keyDate" fixed="yes"/>
743 </xs:extension>
744 </xs:simpleContent>
745 </xs:complexType>
746 <!--
747 ********** dateOther **********
748 -->
749 <xs:complexType name="dateOtherDefinition">
750 <xs:simpleContent>
751 <xs:extension base="dateDefinition">
752 <xs:attribute name="type" type="xs:string"/>
753 </xs:extension>
754 </xs:simpleContent>
755 </xs:complexType>
756 <!--
757 ********** edition **********
758 -->
759 <xs:element name="edition" type="stringPlusLanguagePlusSupplied"/>
760 <!--
761 ********** issuance **********
762 -->
763 <xs:element name="issuance" type="issuanceDefinition"/>
764 <!-- -->
765 <xs:simpleType name="issuanceDefinition">
766 <xs:restriction base="xs:string">
767 <xs:enumeration value="continuing"/>
768 <xs:enumeration value="monographic"/>
769 <xs:enumeration value="single unit"/>
770 <xs:enumeration value="multipart monograph"/>
771 <xs:enumeration value="serial"/>
772 <xs:enumeration value="integrating resource"/>
773 </xs:restriction>
774 </xs:simpleType>
775 <!--
776 ********** frequency**********
777 -->
778 <xs:element name="frequency" type="stringPlusLanguagePlusAuthority"/>
779 <!--
780
781 ****************************************************
782 * Top Level Element <part> *
783 *****************************************************
784 -->
785 <xs:element name="part" type="partDefinition"/>
786 <!-- -->
787 <xs:complexType name="partDefinition">
788 <xs:choice minOccurs="0" maxOccurs="unbounded">
789 <xs:element ref="detail"/>
790 <xs:element name="extent" type="extentDefinition"/>
791 <xs:element ref="date"/>
792 <xs:element ref="text"/>
793 </xs:choice>
794 <xs:attribute name="ID" type="xs:ID"/>
795 <xs:attribute name="type" type="xs:string"/>
796 <xs:attribute name="order" type="xs:integer"/>
797 <xs:attributeGroup ref="languageAttributeGroup"/>
798 <xs:attribute name="displayLabel" type="xs:string"/>
799 <xs:attribute name="altRepGroup" type="xs:string"/>
800 </xs:complexType>
801 <!--
802
803 ******** Subordinate Elements for <part>
804 -->
805 <!--
806 ********** detail **********
807 -->
808 <xs:element name="detail" type="detailDefinition"/>
809 <!-- -->
810 <xs:complexType name="detailDefinition">
811 <xs:choice maxOccurs="unbounded">
812 <xs:element ref="number"/>
813 <xs:element ref="caption"/>
814 <xs:element ref="title"/>
815 </xs:choice>
816 <xs:attribute name="type" type="xs:string"/>
817 <xs:attribute name="level" type="xs:positiveInteger"/>
818 </xs:complexType>
819 <!-- -->
820 <xs:element name="number" type="stringPlusLanguage"/>
821 <xs:element name="caption" type="stringPlusLanguage"/>
822 <!--
823 ********** extent **********
824 -->
825 <xs:complexType name="extentDefinition">
826 <xs:sequence>
827 <xs:element ref="start" minOccurs="0"/>
828 <xs:element ref="end" minOccurs="0"/>
829 <xs:element ref="total" minOccurs="0"/>
830 <xs:element ref="list" minOccurs="0"/>
831 </xs:sequence>
832 <xs:attribute name="unit" type="xs:string"/>
833 </xs:complexType>
834 <!-- -->
835 <xs:element name="start" type="stringPlusLanguage"/>
836 <xs:element name="end" type="stringPlusLanguage"/>
837 <xs:element name="total" type="xs:positiveInteger"/>
838 <xs:element name="list" type="stringPlusLanguage"/>
839 <!--
840 ***************** date ***
841 -->
842 <xs:element name="date" type="dateDefinition"/>
843 <!--
844 ***************** text ***
845 -->
846 <xs:element name="text">
847 <xs:complexType>
848 <xs:simpleContent>
849 <xs:extension base="stringPlusLanguage">
850 <xs:attribute name="displayLabel" type="xs:string"/>
851 <xs:attribute name="type" type="xs:string"/>
852 <xs:attributeGroup ref="xlink:simpleLink"/>
853 </xs:extension>
854 </xs:simpleContent>
855 </xs:complexType>
856 </xs:element>
857 <!--
858
859 ****************************************************
860 * Top Level Element <physicalDescription> *
861 *****************************************************
862 -->
863 <xs:element name="physicalDescription" type="physicalDescriptionDefinition"/>
864 <!-- -->
865 <xs:complexType name="physicalDescriptionDefinition">
866 <xs:choice maxOccurs="unbounded">
867 <xs:element ref="form"/>
868 <!-- same definition as is used in copyInformation -->
869 <xs:element ref="reformattingQuality"/>
870 <xs:element ref="internetMediaType"/>
871 <xs:element ref="extent"/>
872 <xs:element ref="digitalOrigin"/>
873 <xs:element name="note" type="physicalDescriptionNote"/>
874 </xs:choice>
875 <xs:attributeGroup ref="languageAttributeGroup"/>
876 <xs:attribute name="displayLabel" type="xs:string"/>
877 <xs:attribute name="altRepGroup" type="xs:string"/>
878 </xs:complexType>
879 <!--
880
881 ******** Subordinate Elements for <physicalDescription>
882 -->
883 <!--
884 **********reformattingQuality **********
885 -->
886 <xs:element name="reformattingQuality" type="reformattingQualityDefinition"/>
887 <!-- -->
888 <xs:simpleType name="reformattingQualityDefinition">
889 <xs:restriction base="xs:string">
890 <xs:enumeration value="access"/>
891 <xs:enumeration value="preservation"/>
892 <xs:enumeration value="replacement"/>
893 </xs:restriction>
894 </xs:simpleType>
895 <!--
896 **********internetMediaType **********
897 -->
898 <xs:element name="internetMediaType" type="stringPlusLanguage"/>
899 <!--
900 ********** extent **********
901 -->
902 <xs:element name="extent">
903 <xs:complexType>
904 <xs:simpleContent>
905 <xs:extension base="stringPlusLanguagePlusSupplied">
906 <xs:attribute name="unit"/>
907 </xs:extension>
908 </xs:simpleContent>
909 </xs:complexType>
910 </xs:element>
911 <!--
912 ********** digitalOrigin **********
913 -->
914 <xs:element name="digitalOrigin" type="digitalOriginDefinition"/>
915 <!-- -->
916 <xs:simpleType name="digitalOriginDefinition">
917 <xs:restriction base="xs:string">
918 <xs:enumeration value="born digital"/>
919 <xs:enumeration value="reformatted digital"/>
920 <xs:enumeration value="digitized microfilm"/>
921 <xs:enumeration value="digitized other analog"/>
922 </xs:restriction>
923 </xs:simpleType>
924 <!--
925 ********** note **********
926 -->
927 <xs:complexType name="physicalDescriptionNote">
928 <xs:simpleContent>
929 <xs:extension base="stringPlusLanguage">
930 <xs:attribute name="displayLabel" type="xs:string"/>
931 <xs:attribute name="type" type="xs:string"/>
932 <xs:attribute name="typeURI" type="xs:anyURI"/>
933 <xs:attributeGroup ref="xlink:simpleLink"/>
934 <xs:attribute name="ID" type="xs:ID"/>
935 </xs:extension>
936 </xs:simpleContent>
937 </xs:complexType>
938 <!--
939 ****************************************************
940 * Top Level Element <recordInfo> *
941 *****************************************************
942
943 ********** recordInfo **********
944 -->
945 <xs:element name="recordInfo" type="recordInfoDefinition"/>
946 <!-- -->
947 <xs:complexType name="recordInfoDefinition">
948 <xs:choice maxOccurs="unbounded">
949 <xs:element ref="recordContentSource"/>
950 <xs:element ref="recordCreationDate"/>
951 <xs:element ref="recordChangeDate"/>
952 <xs:element ref="recordIdentifier"/>
953 <xs:element ref="languageOfCataloging"/>
954 <xs:element ref="recordOrigin"/>
955 <xs:element ref="descriptionStandard"/>
956 <!--
957 *****************following added in 3.6 -->
958 <xs:element ref="recordInfoNote"/>
959 <!-- -->
960 </xs:choice>
961 <xs:attributeGroup ref="languageAttributeGroup"/>
962 <xs:attribute name="displayLabel" type="xs:string"/>
963 <xs:attribute name="altRepGroup" type="xs:string"/>
964 </xs:complexType>
965 <!--
966
967 ******** Subordinate Elements for <recordInfo>
968 -->
969 <xs:element name="recordContentSource" type="stringPlusLanguagePlusAuthority"/>
970 <xs:element name="recordCreationDate" type="dateDefinition"/>
971 <xs:element name="recordChangeDate" type="dateDefinition"/>
972 <!--
973 *****************following added in 3.6 -->
974 <xs:element name="recordInfoNote" type="noteDefinition"/>
975 <!--
976 ********** recordIdentifier
977 -->
978 <xs:element name="recordIdentifier" type="recordIdentifierDefinition"/>
979 <!-- -->
980 <xs:complexType name="recordIdentifierDefinition">
981 <xs:simpleContent>
982 <xs:extension base="stringPlusLanguage">
983 <xs:attribute name="source" type="xs:string"/>
984 </xs:extension>
985 </xs:simpleContent>
986 </xs:complexType>
987 <!-- -->
988 <xs:element name="languageOfCataloging" type="languageDefinition"/>
989 <xs:element name="recordOrigin" type="stringPlusLanguage"/>
990 <xs:element name="descriptionStandard" type="stringPlusLanguagePlusAuthority"/>
991 <!--
992
993 ****************************************************
994 * Top Level Element <relatedItem> *
995 *****************************************************
996
997 ********** relatedItem **********
998 -->
999 <xs:element name="relatedItem" type="relatedItemDefinition"/>
1000 <!-- -->
1001 <xs:complexType name="relatedItemDefinition">
1002 <xs:group ref="modsGroup" minOccurs="0" maxOccurs="unbounded"/>
1003 <xs:attribute name="type">
1004 <xs:simpleType>
1005 <xs:restriction base="xs:string">
1006 <xs:enumeration value="preceding"/>
1007 <xs:enumeration value="succeeding"/>
1008 <xs:enumeration value="original"/>
1009 <xs:enumeration value="host"/>
1010 <xs:enumeration value="constituent"/>
1011 <xs:enumeration value="series"/>
1012 <xs:enumeration value="otherVersion"/>
1013 <xs:enumeration value="otherFormat"/>
1014 <xs:enumeration value="isReferencedBy"/>
1015 <xs:enumeration value="references"/>
1016 <xs:enumeration value="reviewOf"/>
1017 </xs:restriction>
1018 </xs:simpleType>
1019 </xs:attribute>
1020 <!--
1021 Following four attributes are new in 3.6
1022 -->
1023 <xs:attribute name="otherType" type="xs:string"/>
1024 <xs:attribute name="otherTypeAuth" type="xs:string"/>
1025 <xs:attribute name="otherTypeAuthURI" type="xs:string"/>
1026 <xs:attribute name="otherTypeURI" type="xs:string"/>
1027 <!-- -->
1028
1029 <xs:attribute name="displayLabel" type="xs:string"/>
1030 <xs:attribute name="ID" type="xs:ID"/>
1031 <xs:attributeGroup ref="xlink:simpleLink"/>
1032
1033 </xs:complexType>
1034 <!--
1035
1036 ****************************************************
1037 * Top Level Element <subject> *
1038 *****************************************************
1039 -->
1040 <xs:element name="subject" type="subjectDefinition"/>
1041 <!-- -->
1042 <xs:complexType name="subjectDefinition">
1043 <xs:choice minOccurs="0" maxOccurs="unbounded">
1044 <xs:element ref="topic"/>
1045 <xs:element ref="geographic"/>
1046 <xs:element ref="temporal"/>
1047 <xs:element name="titleInfo" type="subjectTitleInfoDefinition"/>
1048 <xs:element name="name" type="subjectNameDefinition"/>
1049 <xs:element ref="geographicCode"/>
1050 <xs:element ref="hierarchicalGeographic"/>
1051 <xs:element ref="cartographics"/>
1052 <xs:element ref="occupation"/>
1053 <xs:element ref="genre"/>
1054 <!-- uses top-level genre definition -->
1055 </xs:choice>
1056 <xs:attribute name="ID" type="xs:ID"/>
1057 <xs:attributeGroup ref="authorityAttributeGroup"/>
1058 <xs:attributeGroup ref="languageAttributeGroup"/>
1059 <xs:attributeGroup ref="xlink:simpleLink"/>
1060 <xs:attribute name="displayLabel" type="xs:string"/>
1061 <xs:attribute name="altRepGroup" type="xs:string"/>
1062 <xs:attribute name="usage" fixed="primary"/>
1063 </xs:complexType>
1064 <!--
1065
1066 ******** Subordinate Elements for <subject>
1067 -->
1068 <!-- topic, geographic -->
1069 <xs:element name="topic" type="stringPlusLanguagePlusAuthority"/>
1070 <xs:element name="geographic" type="stringPlusLanguagePlusAuthority"/>
1071 <!--
1072 *****************temporal ************************
1073 -->
1074 <xs:element name="temporal" type="temporalDefinition"/>
1075 <!-- -->
1076 <xs:complexType name="temporalDefinition">
1077 <xs:simpleContent>
1078 <xs:extension base="dateDefinition">
1079 <xs:attributeGroup ref="authorityAttributeGroup"/>
1080 </xs:extension>
1081 </xs:simpleContent>
1082 </xs:complexType>
1083 <!--
1084 *****************subjectTitleInfo ************************
1085 -->
1086 <xs:complexType name="subjectTitleInfoDefinition">
1087 <xs:choice minOccurs="0" maxOccurs="unbounded">
1088 <xs:element ref="title"/>
1089 <xs:element ref="subTitle"/>
1090 <xs:element ref="partNumber"/>
1091 <xs:element ref="partName"/>
1092 <xs:element ref="nonSort"/>
1093 </xs:choice>
1094 <xs:attribute name="ID" type="xs:ID"/>
1095 <xs:attributeGroup ref="authorityAttributeGroup"/>
1096 <xs:attributeGroup ref="xlink:simpleLink"/>
1097 <xs:attributeGroup ref="languageAttributeGroup"/>
1098 <xs:attribute name="displayLabel" type="xs:string"/>
1099 <xs:attribute name="type">
1100 <xs:simpleType>
1101 <xs:restriction base="xs:string">
1102 <xs:enumeration value="abbreviated"/>
1103 <xs:enumeration value="translated"/>
1104 <xs:enumeration value="alternative"/>
1105 <xs:enumeration value="uniform"/>
1106 </xs:restriction>
1107 </xs:simpleType>
1108 </xs:attribute>
1109 </xs:complexType>
1110 <!--
1111 *****************subjectName ************************
1112 -->
1113 <xs:complexType name="subjectNameDefinition">
1114 <xs:choice minOccurs="0" maxOccurs="unbounded">
1115 <xs:element ref="namePart"/>
1116 <xs:element ref="displayForm"/>
1117 <xs:element ref="affiliation"/>
1118 <xs:element ref="role"/>
1119 <xs:element ref="description"/>
1120 <!-- ****** following element <nameIdentifier> new in 3.6. -->
1121 <xs:element ref="nameIdentifier"/>
1122 <!-- -->
1123 </xs:choice>
1124 <xs:attribute name="type">
1125 <xs:simpleType>
1126 <xs:restriction base="xs:string">
1127 <xs:enumeration value="personal"/>
1128 <xs:enumeration value="corporate"/>
1129 <xs:enumeration value="conference"/>
1130 <xs:enumeration value="family"/>
1131 </xs:restriction>
1132 </xs:simpleType>
1133 </xs:attribute>
1134 <xs:attribute name="ID" type="xs:ID"/>
1135 <xs:attributeGroup ref="authorityAttributeGroup"/>
1136 <xs:attributeGroup ref="xlink:simpleLink"/>
1137 <xs:attributeGroup ref="languageAttributeGroup"/>
1138 <xs:attribute name="displayLabel" type="xs:string"/>
1139 </xs:complexType>
1140 <!--
1141 ********** geographicCode **********
1142 -->
1143 <xs:element name="geographicCode" type="geographicCodeDefinition"/>
1144 <!-- -->
1145 <xs:complexType name="geographicCodeDefinition">
1146 <xs:simpleContent>
1147 <xs:extension base="stringPlusLanguage">
1148 <xs:attribute name="authorityURI" type="xs:anyURI"/>
1149 <xs:attribute name="valueURI" type="xs:anyURI"/>
1150 <xs:attribute name="authority">
1151 <xs:simpleType>
1152 <xs:restriction base="xs:string">
1153 <xs:enumeration value="marcgac"/>
1154 <xs:enumeration value="marccountry"/>
1155 <xs:enumeration value="iso3166"/>
1156 </xs:restriction>
1157 </xs:simpleType>
1158 </xs:attribute>
1159 </xs:extension>
1160 </xs:simpleContent>
1161 </xs:complexType>
1162 <!--
1163 ********** hierarchicalGeographic **********
1164 -->
1165 <xs:element name="hierarchicalGeographic" type="hierarchicalGeographicDefinition"/>
1166 <!-- -->
1167 <xs:complexType name="hierarchicalGeographicDefinition">
1168 <xs:choice maxOccurs="unbounded">
1169 <xs:element ref="extraTerrestrialArea"/>
1170 <xs:element ref="continent"/>
1171 <xs:element ref="country"/>
1172 <xs:element ref="province"/>
1173 <!-- province is deprecated in version 3.6. Use <state> instead. -->
1174 <xs:element ref="region"/>
1175 <xs:element ref="state"/>
1176 <!-- <state> definition broadened in 3.6. Use <state> for all first order political divisions, e.g. province. -->
1177 <xs:element ref="territory"/>
1178 <xs:element ref="county"/>
1179 <xs:element ref="city"/>
1180 <xs:element ref="citySection"/>
1181 <xs:element ref="island"/>
1182 <xs:element ref="area"/>
1183 </xs:choice>
1184 <xs:attributeGroup ref="authorityAttributeGroup"/>
1185 </xs:complexType>
1186 <!-- -->
1187 <!--
1188 New in 3.6:
1189 all the above elements were previously stringPlusLanguage.
1190 Now the following attributes are added:
1191 - @level (for all)
1192 - @authority, @authorityURI, and @valueURI (the authority attributeGroup) (for all)
1193 - @period (for all)
1194 - @areaType, @regionType, and @citySectionType (for area, region, and citySection, respectively)
1195
1196 So there is a new auxiliary definition, hierarchicalPart which adds @level, authority group, and @period
1197 as well as three new definitions each extending hierarchicalPart, for area, region, and city section, each
1198 adding its respective attribute.
1199 -->
1200
1201 <!--
1202 ********** hierarchicalPart *** new in 3.6, auxiliary definition
1203 -->
1204 <xs:complexType name="hierarchicalPart">
1205 <xs:simpleContent>
1206 <xs:extension base="stringPlusLanguage">
1207 <xs:attribute name="level"/>
1208 <xs:attribute name="period"/>
1209 <xs:attributeGroup ref="authorityAttributeGroup"/>
1210 </xs:extension>
1211 </xs:simpleContent>
1212 </xs:complexType>
1213 <!--
1214 Next, definitions for the place elements, starting with area, region, and citySection
1215 -->
1216
1217 <xs:element name="area" type="areaDefinition"/>
1218 <!-- -->
1219 <xs:complexType name="areaDefinition">
1220 <xs:simpleContent>
1221 <xs:extension base="hierarchicalPart">
1222 <xs:attribute name="areaType"/>
1223 </xs:extension>
1224 </xs:simpleContent>
1225 </xs:complexType>
1226 <!-- -->
1227
1228 <xs:element name="region" type="regionDefinition"/>
1229 <!-- -->
1230 <xs:complexType name="regionDefinition">
1231 <xs:simpleContent>
1232 <xs:extension base="hierarchicalPart">
1233 <xs:attribute name="regionType"/>
1234 </xs:extension>
1235 </xs:simpleContent>
1236 </xs:complexType>
1237
1238 <xs:element name="citySection" type="citySectionDefinition"/>
1239 <!-- -->
1240 <xs:complexType name="citySectionDefinition">
1241 <xs:simpleContent>
1242 <xs:extension base="hierarchicalPart">
1243 <xs:attribute name="citySectionType"/>
1244 </xs:extension>
1245 </xs:simpleContent>
1246 </xs:complexType>
1247 <!--
1248 For the rest, "stringPlusLanguage" is changed to "hierarchicalPart" ......
1249 -->
1250 <xs:element name="extraTerrestrialArea" type="hierarchicalPart"/>
1251 <xs:element name="city" type="hierarchicalPart"/>
1252 <xs:element name="continent" type="hierarchicalPart"/>
1253 <xs:element name="country" type="hierarchicalPart"/>
1254 <xs:element name="county" type="hierarchicalPart"/>
1255 <xs:element name="island" type="hierarchicalPart"/>
1256 <xs:element name="state" type="hierarchicalPart"/>
1257 <xs:element name="territory" type="hierarchicalPart"/>
1258 <!--
1259 ..... except for province, which remains the same
1260 -->
1261 <xs:element name="province" type="stringPlusLanguage"/>
1262 <!--
1263 ********** cartographics **********
1264 -->
1265 <xs:element name="cartographics" type="cartographicsDefinition"/>
1266 <!-- -->
1267 <xs:complexType name="cartographicsDefinition">
1268
1269 <xs:sequence>
1270 <xs:element ref="scale" minOccurs="0"/>
1271 <xs:element ref="projection" minOccurs="0"/>
1272 <xs:element ref="coordinates" minOccurs="0" maxOccurs="unbounded"/>
1273 <!--
1274 *********** Following is new in 3.6, to allow an extension schema. -->
1275 <xs:element ref="cartographicExtension" minOccurs="0" maxOccurs="unbounded"/>
1276 <!-- -->
1277 </xs:sequence>
1278
1279 <xs:attributeGroup ref="authorityAttributeGroup"/>
1280 </xs:complexType>
1281 <!-- -->
1282 <xs:element name="scale" type="stringPlusLanguage"/>
1283 <xs:element name="projection" type="stringPlusLanguage"/>
1284 <xs:element name="coordinates" type="stringPlusLanguage"/>
1285 <!-- *********** Following is new in 3.6, -->
1286 <xs:element name="cartographicExtension" type="extensionDefinition"/>
1287 <!--
1288 ********** occupation **********
1289 -->
1290 <xs:element name="occupation" type="stringPlusLanguagePlusAuthority"/>
1291 <!--
1292 ****************************************************
1293 * Top Level Element <tableOfContents> *
1294 *****************************************************
1295 -->
1296 <xs:element name="tableOfContents" type="tableOfContentsDefinition"/>
1297 <!-- -->
1298 <xs:complexType name="tableOfContentsDefinition">
1299 <xs:simpleContent>
1300 <xs:extension base="stringPlusLanguage">
1301 <xs:attribute name="displayLabel" type="xs:string"/>
1302 <xs:attribute name="type" type="xs:string"/>
1303 <xs:attributeGroup ref="xlink:simpleLink"/>
1304 <xs:attribute name="shareable" fixed="no"/>
1305 <xs:attribute name="altRepGroup" type="xs:string"/>
1306 <xs:attributeGroup ref="altFormatAttributeGroup"/>
1307 </xs:extension>
1308 </xs:simpleContent>
1309 </xs:complexType>
1310 <!--
1311
1312 ****************************************************
1313 * Top Level Element <targetAudience> *
1314 *****************************************************
1315 -->
1316 <xs:element name="targetAudience" type="targetAudienceDefinition"/>
1317 <!-- -->
1318 <xs:complexType name="targetAudienceDefinition">
1319 <xs:simpleContent>
1320 <xs:extension base="stringPlusLanguagePlusAuthority">
1321 <xs:attribute name="displayLabel" type="xs:string"/>
1322 <xs:attribute name="altRepGroup" type="xs:string"/>
1323 </xs:extension>
1324 </xs:simpleContent>
1325 </xs:complexType>
1326 <!--
1327 ****************************************************
1328 * Top Level Element <titleInfo> *
1329 *****************************************************
1330 -->
1331 <xs:element name="titleInfo" type="titleInfoDefinition"/>
1332 <!-- -->
1333 <xs:complexType name="titleInfoDefinition">
1334 <xs:choice minOccurs="0" maxOccurs="unbounded">
1335 <xs:element ref="title"/>
1336 <xs:element ref="subTitle"/>
1337 <xs:element ref="partNumber"/>
1338 <xs:element ref="partName"/>
1339 <xs:element ref="nonSort"/>
1340 </xs:choice>
1341 <xs:attribute name="type">
1342 <xs:simpleType>
1343 <xs:restriction base="xs:string">
1344 <xs:enumeration value="abbreviated"/>
1345 <xs:enumeration value="translated"/>
1346 <xs:enumeration value="alternative"/>
1347 <xs:enumeration value="uniform"/>
1348 </xs:restriction>
1349 </xs:simpleType>
1350 </xs:attribute>
1351 <xs:attribute name="otherType"/>
1352 <xs:attribute name="supplied" fixed="yes"/>
1353 <xs:attribute name="altRepGroup" type="xs:string"/>
1354 <xs:attributeGroup ref="altFormatAttributeGroup"/>
1355 <xs:attribute name="nameTitleGroup" type="xs:string"/>
1356 <xs:attribute name="usage" fixed="primary"/>
1357 <xs:attribute name="ID" type="xs:ID"/>
1358 <xs:attributeGroup ref="authorityAttributeGroup"/>
1359 <xs:attributeGroup ref="xlink:simpleLink"/>
1360 <xs:attributeGroup ref="languageAttributeGroup"/>
1361 <xs:attribute name="displayLabel" type="xs:string"/>
1362 </xs:complexType>
1363 <!--
1364
1365 ******** Subordinate Elements for <titleInfo>
1366 -->
1367 <xs:element name="title" type="stringPlusLanguage"/>
1368 <xs:element name="subTitle" type="stringPlusLanguage"/>
1369 <xs:element name="partNumber" type="stringPlusLanguage"/>
1370 <xs:element name="partName" type="stringPlusLanguage"/>
1371 <!--
1372 ********* nonSort definition revised in 3.6. to add attribute xml:space.
1373 -->
1374 <xs:element name="nonSort">
1375 <xs:complexType>
1376 <xs:simpleContent>
1377 <xs:extension base="stringPlusLanguage">
1378 <xs:attribute ref="xml:space"/>
1379 </xs:extension>
1380 </xs:simpleContent>
1381 </xs:complexType>
1382 </xs:element>
1383 <!--
1384 ****************************************************
1385 * Top Level Element <typeOfResource> *
1386 *****************************************************
1387 -->
1388 <xs:element name="typeOfResource" type="typeOfResourceDefinition"/>
1389 <!-- -->
1390 <xs:complexType name="typeOfResourceDefinition">
1391 <xs:simpleContent>
1392 <xs:extension base="resourceTypeDefinition">
1393 <xs:attribute name="collection" fixed="yes"/>
1394 <xs:attribute name="manuscript" fixed="yes"/>
1395 <xs:attribute name="displayLabel" type="xs:string"/>
1396 <xs:attribute name="altRepGroup" type="xs:string"/>
1397 <xs:attribute name="usage" fixed="primary"/>
1398 </xs:extension>
1399 </xs:simpleContent>
1400 </xs:complexType>
1401 <!--
1402
1403 ******** Subordinate Definitions for <typeOfResource>
1404 -->
1405 <!--
1406 ******* resourceTypeDefinition ********
1407 -->
1408 <xs:simpleType name="resourceTypeDefinition">
1409 <xs:restriction base="xs:string">
1410 <xs:enumeration value="text"/>
1411 <xs:enumeration value="cartographic"/>
1412 <xs:enumeration value="notated music"/>
1413 <xs:enumeration value="sound recording-musical"/>
1414 <xs:enumeration value="sound recording-nonmusical"/>
1415 <xs:enumeration value="sound recording"/>
1416 <xs:enumeration value="still image"/>
1417 <xs:enumeration value="moving image"/>
1418 <xs:enumeration value="three dimensional object"/>
1419 <xs:enumeration value="software, multimedia"/>
1420 <xs:enumeration value="mixed material"/>
1421 <xs:enumeration value=""/>
1422 </xs:restriction>
1423 </xs:simpleType>
1424 <!--
1425 *********************************
1426 *********************************
1427 Part 3: Auxiliary definitions
1428 *********************************
1429 *********************************
1430
1431 **********************************
1432 String Definitions
1433 **********************************
1434 -->
1435 <!--
1436 ********** stringPlusLanguage
1437 -->
1438 <xs:complexType name="stringPlusLanguage">
1439 <xs:simpleContent>
1440 <xs:extension base="xs:string">
1441 <xs:attributeGroup ref="languageAttributeGroup"/>
1442 </xs:extension>
1443 </xs:simpleContent>
1444 </xs:complexType>
1445 <!--
1446 ************************* stringPlusLanguagePlusAuthority *************************
1447 -->
1448 <xs:complexType name="stringPlusLanguagePlusAuthority">
1449 <xs:simpleContent>
1450 <xs:extension base="stringPlusLanguage">
1451 <xs:attributeGroup ref="authorityAttributeGroup"/>
1452 </xs:extension>
1453 </xs:simpleContent>
1454 </xs:complexType>
1455 <!--
1456 ************************* stringPlusLanguagePlusSupplied *************************
1457 -->
1458 <xs:complexType name="stringPlusLanguagePlusSupplied">
1459 <xs:simpleContent>
1460 <xs:extension base="stringPlusLanguage">
1461 <xs:attribute name="supplied" fixed="yes"/>
1462 </xs:extension>
1463 </xs:simpleContent>
1464 </xs:complexType>
1465 <!--
1466 **********************************
1467 Attribute Group Definitions
1468 **********************************
1469 -->
1470 <!--
1471 ********** authorityAttributeGroup **********
1472 -->
1473 <xs:attributeGroup name="authorityAttributeGroup">
1474 <!-- new in 3.4 -->
1475 <xs:attribute name="authority" type="xs:string"/>
1476 <xs:attribute name="authorityURI" type="xs:anyURI"/>
1477 <xs:attribute name="valueURI" type="xs:anyURI"/>
1478 </xs:attributeGroup>
1479 <!--
1480 ********** languageAttributeGroup **********
1481 -->
1482 <xs:attributeGroup name="languageAttributeGroup">
1483 <xs:attribute name="lang" type="xs:string"/>
1484 <xs:attribute ref="xml:lang"/>
1485 <xs:attribute name="script" type="xs:string"/>
1486 <xs:attribute name="transliteration" type="xs:string"/>
1487 </xs:attributeGroup>
1488 <!--
1489 ********** altFormatAttributeGroup **********
1490 -->
1491 <xs:attributeGroup name="altFormatAttributeGroup">
1492 <xs:attribute name="altFormat" type="xs:anyURI"/>
1493 <xs:attribute name="contentType" type="xs:string"/>
1494 </xs:attributeGroup>
1495 <!--
1496 ****************************************************
1497 - Attribute definitions (simpleTypes)
1498 *****************************************************
1499 -->
1500 <!--
1501 ********** codeOrText
1502 ******** used by type attribute for elements that distinguish code from text:
1503 ******** <languageTerm>, <placeTerm>, <roleTerm>, <scriptTerm>
1504 -->
1505 <xs:simpleType name="codeOrText">
1506 <xs:restriction base="xs:string">
1507 <xs:enumeration value="code"/>
1508 <xs:enumeration value="text"/>
1509 </xs:restriction>
1510 </xs:simpleType>
1511 <!-- -->
1512 </xs:schema>