275 | | == Normative Appendix == |
276 | | === XML schema of the CMDI component specification language === |
277 | | |
278 | | This Annex comprises the specification of the CCSL format using the XML Schema Part 2: Datatypes syntax. This schema shall be used as a reference to check the conformity of any data represented in CCSL, so long as it does not contain any additional markup module. In any other case, the schema shall be modified to incorporate the definition of the namespaces to be associated with the external markup to be used. |
279 | | The schema was developed within the CLARIN-NL and is included for reference. |
280 | | |
281 | | {{{#!xml |
282 | | <xs:schema |
283 | | xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
284 | | <xs:import |
285 | | namespace="http://www.w3.org/XML/1998/namespace" |
286 | | schemaLocation="http://www.w3.org/2005/08/xml.xsd"/> |
287 | | <xs:element name="CMD_ComponentSpec"> |
288 | | <xs:complexType> |
289 | | <xs:sequence> |
290 | | <xs:element name="Header"> |
291 | | <xs:complexType> |
292 | | <xs:sequence> |
293 | | <xs:element name="ID" type="xs:anyURI" minOccurs="0"/> |
294 | | <xs:element name="Name" type="xs:string" minOccurs="0"/> |
295 | | <xs:element name="Description" type="xs:string" minOccurs="0"/> |
296 | | </xs:sequence> |
297 | | </xs:complexType> |
298 | | </xs:element> |
299 | | <xs:element name="CMD_Component" type="CMD_Component_type" maxOccurs="unbounded"> |
300 | | <xs:annotation> |
301 | | <xs:documentation>At the root level there should |
302 | | always be a Component.</xs:documentation> |
303 | | </xs:annotation> |
304 | | </xs:element> |
305 | | </xs:sequence> |
306 | | <xs:attribute name="isProfile" type="xs:boolean" use="required"/> |
307 | | </xs:complexType> |
308 | | </xs:element> |
309 | | <xs:group name="group"> |
310 | | <xs:sequence> |
311 | | <xs:element |
312 | | name="AttributeList" |
313 | | type="AttributeList_type" |
314 | | minOccurs="0" |
315 | | maxOccurs="1"/> |
316 | | <xs:element |
317 | | name="CMD_Element" |
318 | | type="CMD_Element_type" |
319 | | minOccurs="0" |
320 | | maxOccurs="unbounded"/> |
321 | | <xs:element |
322 | | name="CMD_Component" |
323 | | type="CMD_Component_type" |
324 | | minOccurs="0" |
325 | | maxOccurs="unbounded"/> |
326 | | </xs:sequence> |
327 | | </xs:group> |
328 | | <xs:complexType name="CMD_Element_type"> |
329 | | <xs:sequence> |
330 | | <xs:element |
331 | | name="AttributeList" |
332 | | type="AttributeList_type" |
333 | | minOccurs="0" |
334 | | maxOccurs="1"> |
335 | | <xs:annotation> |
336 | | <xs:documentation>The AttributeList child of an element |
337 | | contains a set of XML attributes for that |
338 | | element.</xs:documentation> |
339 | | </xs:annotation> |
340 | | </xs:element> |
341 | | <xs:element |
342 | | minOccurs="0" |
343 | | maxOccurs="1" |
344 | | name="ValueScheme" |
345 | | type="ValueScheme_type"> |
346 | | <xs:annotation> |
347 | | <xs:documentation>When an element is linked to a regular |
348 | | expression or a controlled vocabulary, the |
349 | | ValueScheme sub-element contains more information |
350 | | about this.</xs:documentation> |
351 | | </xs:annotation> |
352 | | </xs:element> |
353 | | </xs:sequence> |
354 | | <xs:attributeGroup ref="clarin_element_attributes"/> |
355 | | </xs:complexType> |
356 | | <xs:complexType name="ValueScheme_type"> |
357 | | <xs:choice> |
358 | | <xs:element name="pattern" type="xs:string" maxOccurs="1"> |
359 | | <xs:annotation> |
360 | | <xs:documentation>Specification of a regular expression |
361 | | the element should comply with.</xs:documentation> |
362 | | </xs:annotation> |
363 | | </xs:element> |
364 | | <xs:element name="enumeration" type="enumeration_type"> |
365 | | <xs:annotation> |
366 | | <xs:documentation>A list of the allowed values of a |
367 | | controlled vocabulary.</xs:documentation> |
368 | | </xs:annotation> |
369 | | </xs:element> |
370 | | </xs:choice> |
371 | | </xs:complexType> |
372 | | <xs:complexType name="AttributeList_type"> |
373 | | <xs:sequence> |
374 | | <xs:element name="Attribute" minOccurs="1" maxOccurs="unbounded"> |
375 | | <xs:complexType> |
376 | | <xs:sequence> |
377 | | <xs:element name="Name" type="xs:string"> |
378 | | <xs:annotation> |
379 | | <xs:documentation>The name of the |
380 | | attribute.</xs:documentation> |
381 | | </xs:annotation> |
382 | | </xs:element> |
383 | | <xs:element name="ConceptLink" type="xs:anyURI" minOccurs="0"> |
384 | | <xs:annotation> |
385 | | <xs:documentation>A link to the ISOcat data |
386 | | category registry (or any other concept |
387 | | registry).</xs:documentation> |
388 | | </xs:annotation> |
389 | | </xs:element> |
390 | | <xs:choice> |
391 | | <xs:element name="Type" type="allowed_attributetypes_type"> |
392 | | <xs:annotation> |
393 | | <xs:documentation>For the use of simple XML types |
394 | | as the type of the attribute.</xs:documentation> |
395 | | </xs:annotation> |
396 | | </xs:element> |
397 | | <xs:element name="ValueScheme" type="ValueScheme_type"> |
398 | | <xs:annotation> |
399 | | <xs:documentation>For the use of a regular |
400 | | expression or a controlled vocabulary as the type |
401 | | of the attribute.</xs:documentation> |
402 | | </xs:annotation> |
403 | | </xs:element> |
404 | | </xs:choice> |
405 | | </xs:sequence> |
406 | | </xs:complexType> |
407 | | </xs:element> |
408 | | </xs:sequence> |
409 | | </xs:complexType> |
410 | | <xs:complexType name="CMD_Component_type"> |
411 | | <xs:group ref="group" minOccurs="0"/> |
412 | | <xs:attributeGroup ref="clarin_component_attributes"/> |
413 | | </xs:complexType> |
414 | | <xs:attributeGroup name="clarin_element_attributes"> |
415 | | <xs:attribute name="name" type="xs:Name" use="required"> |
416 | | <xs:annotation> |
417 | | <xs:documentation>The name of the |
418 | | element.</xs:documentation> |
419 | | </xs:annotation> |
420 | | </xs:attribute> |
421 | | <xs:attribute name="ConceptLink" type="xs:anyURI"> |
422 | | <xs:annotation> |
423 | | <xs:documentation>A link to the ISOcat data category |
424 | | registry (or any other concept |
425 | | registry).</xs:documentation> |
426 | | </xs:annotation> |
427 | | </xs:attribute> |
428 | | <xs:attribute name="ValueScheme" type="allowed_attributetypes_type"> |
429 | | <xs:annotation> |
430 | | <xs:documentation>Used to specify that an element has a |
431 | | simple XML type (string, integer, |
432 | | etc)</xs:documentation> |
433 | | </xs:annotation> |
434 | | </xs:attribute> |
435 | | <xs:attribute name="CardinalityMin" type="cardinality_type"> |
436 | | <xs:annotation> |
437 | | <xs:documentation>Minimal number of |
438 | | occurrences.</xs:documentation> |
439 | | </xs:annotation> |
440 | | </xs:attribute> |
441 | | <xs:attribute name="CardinalityMax" type="cardinality_type"> |
442 | | <xs:annotation> |
443 | | <xs:documentation>Maximal number of |
444 | | occurrences.</xs:documentation> |
445 | | </xs:annotation> |
446 | | </xs:attribute> |
447 | | <xs:attribute name="Documentation" type="xs:string"> |
448 | | <xs:annotation> |
449 | | <xs:documentation>Some information an application (eg Arbil) |
450 | | can display to give guidance to the user when entering |
451 | | metadata.</xs:documentation> |
452 | | </xs:annotation> |
453 | | </xs:attribute> |
454 | | <xs:attribute name="SupersetLabel" type="xs:integer"> |
455 | | <xs:annotation> |
456 | | <xs:documentation>The element with the highest priority will |
457 | | be displayed as the label for a metadata file (eg in |
458 | | Arbil)</xs:documentation> |
459 | | </xs:annotation> |
460 | | </xs:attribute> |
461 | | <xs:attribute name="Multilingual" type="xs:boolean"> |
462 | | <xs:annotation> |
463 | | <xs:documentation>Indicates that this element can have |
464 | | values in multiple languages (and thus is repeatable). |
465 | | This will result in the possibility of using the |
466 | | xml:lang attribute in the metadata instances that are |
467 | | created.</xs:documentation> |
468 | | </xs:annotation> |
469 | | </xs:attribute> |
470 | | </xs:attributeGroup> |
471 | | <xs:attributeGroup name="clarin_component_attributes"> |
472 | | <xs:attribute name="name" type="xs:Name"/> |
473 | | <xs:attribute name="ComponentId" type="xs:anyURI"> |
474 | | <xs:annotation> |
475 | | <xs:documentation>Indicates that a component (using its |
476 | | unique ComponentId issued by the ComponentRegistry) |
477 | | should be included.</xs:documentation> |
478 | | </xs:annotation> |
479 | | </xs:attribute> |
480 | | <xs:attribute name="ConceptLink" type="xs:anyURI"> |
481 | | <xs:annotation> |
482 | | <xs:documentation>A link to the ISOcat data category |
483 | | registry (or any other concept registry). Currently not |
484 | | used.</xs:documentation> |
485 | | </xs:annotation> |
486 | | </xs:attribute> |
487 | | <xs:attribute name="filename" type="xs:anyURI"> |
488 | | <xs:annotation> |
489 | | <xs:documentation>Outdated way of including an external |
490 | | component. Here for backward compatibility with the |
491 | | XML-cmdi-toolkit.</xs:documentation> |
492 | | </xs:annotation> |
493 | | </xs:attribute> |
494 | | <xs:attribute name="CardinalityMin" type="cardinality_type"/> |
495 | | <xs:attribute name="CardinalityMax" type="cardinality_type"/> |
496 | | <xs:attribute ref="xml:base"/> |
497 | | </xs:attributeGroup> |
498 | | <xs:simpleType name="cardinality_type"> |
499 | | <xs:annotation> |
500 | | <xs:documentation>cardinality for elements and |
501 | | components</xs:documentation> |
502 | | </xs:annotation> |
503 | | <xs:union> |
504 | | <xs:simpleType> |
505 | | <xs:list itemType="xs:nonNegativeInteger"/> |
506 | | </xs:simpleType> |
507 | | <xs:simpleType> |
508 | | <xs:restriction base="xs:string"> |
509 | | <xs:enumeration value="unbounded"/> |
510 | | </xs:restriction> |
511 | | </xs:simpleType> |
512 | | </xs:union> |
513 | | </xs:simpleType> |
514 | | <xs:simpleType name="allowed_attributetypes_type"> |
515 | | <xs:annotation> |
516 | | <xs:documentation>Subset of XSD types that are allowed as CMD |
517 | | type</xs:documentation> |
518 | | </xs:annotation> |
519 | | <xs:restriction base="xs:token"> |
520 | | <xs:enumeration value="boolean"/> |
521 | | <xs:enumeration value="decimal"/> |
522 | | <xs:enumeration value="float"/> |
523 | | <xs:enumeration value="string"/> |
524 | | <xs:enumeration value="anyURI"/> |
525 | | <xs:enumeration value="date"/> |
526 | | <xs:enumeration value="gDay"/> |
527 | | <xs:enumeration value="gMonth"/> |
528 | | <xs:enumeration value="gYear"/> |
529 | | <xs:enumeration value="time"/> |
530 | | <xs:enumeration value="dateTime"/> |
531 | | </xs:restriction> |
532 | | </xs:simpleType> |
533 | | <xs:complexType name="enumeration_type"> |
534 | | <xs:annotation> |
535 | | <xs:documentation>controlled vocabularies</xs:documentation> |
536 | | </xs:annotation> |
537 | | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
538 | | <xs:element name="item" type="item_type"> |
539 | | <xs:annotation> |
540 | | <xs:documentation>An item from a controlled |
541 | | vocabulary.</xs:documentation> |
542 | | </xs:annotation> |
543 | | </xs:element> |
544 | | <xs:element name="appinfo" type="xs:string"> |
545 | | <xs:annotation> |
546 | | <xs:documentation>End-user guidance about the value of |
547 | | the controlled vocabulary as a whole. Currently not |
548 | | used.</xs:documentation> |
549 | | </xs:annotation> |
550 | | </xs:element> |
551 | | </xs:choice> |
552 | | </xs:complexType> |
553 | | <xs:complexType name="item_type"> |
554 | | <xs:simpleContent> |
555 | | <xs:extension base="xs:string"> |
556 | | <xs:attribute type="xs:anyURI" name="ConceptLink"> |
557 | | <xs:annotation> |
558 | | <xs:documentation>A link to the ISOcat data category |
559 | | registry (or any other concept registry) related |
560 | | to this controllec vocabulary |
561 | | item.</xs:documentation> |
562 | | </xs:annotation> |
563 | | </xs:attribute> |
564 | | <xs:attribute type="xs:string" name="AppInfo"> |
565 | | <xs:annotation> |
566 | | <xs:documentation>End-user guidance about the value |
567 | | of this controlled vocabulary |
568 | | item.</xs:documentation> |
569 | | </xs:annotation> |
570 | | </xs:attribute> |
571 | | </xs:extension> |
572 | | </xs:simpleContent> |
573 | | </xs:complexType> |
574 | | </xs:schema> |
575 | | }}} |
576 | | |
577 | | |
578 | | |
579 | | == Non-normative Appendix == |
580 | | |
581 | | |
582 | | === Example CMDI instance === |
583 | | |
584 | | {{{ |
585 | | #!xml |
586 | | The following example shows an example CMDI-instance without the components. |
587 | | <CMD xmlns="http://www.clarin.eu/cmd/" |
588 | | CMDVersion="1.2" |
589 | | xsi:schemaLocation="http://www.clarin.eu/cmd/ http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/clarin.eu:cr1:p_1290431694580/xsd" |
590 | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
591 | | xmlns:dcr="http://www.isocat.org/ns/dcr"> |
592 | | <Header> |
593 | | <MdCreator>Reinhild Barkey</MdCreator> |
594 | | <MdCreationDate>2011-03-31</MdCreationDate> |
595 | | <MdSelfLink>http://hdl.handle.net/XXXX/XXXXXXXXXXXX</MdSelfLink> |
596 | | <MdProfile> clarin.eu:cr1:p_1290431694580</MdProfile> |
597 | | <MdCollectionDisplayName>Tübingen Language Resource |
598 | | Repository</MdCollectionDisplayName> |
599 | | <MdRevisionGrp> |
600 | | <MdRevision> |
601 | | <by>Thorsten Trippel</by> |
602 | | <date>2012-01-24</date> |
603 | | <note>Fixed encoding, added </note> |
604 | | </MdRevision> |
605 | | <MdRevision> |
606 | | <by>Thorsten Trippel</by> |
607 | | <date>2012-01-24</date> |
608 | | <note>Urgently needed example for second revision |
609 | | inserted</note> |
610 | | </MdRevision> |
611 | | </MdRevisionGrp> |
612 | | </Header> |
613 | | <Resources> |
614 | | <ResourceProxyList> |
615 | | <ResourceProxy id="resourceno1"> |
616 | | <ResourceType mimetype="application/xml">Resource</ResourceType> |
617 | | <ResourceRef>http://hdl.handle.net/THERESOURCEPID1</ResourceRef> |
618 | | </ResourceProxy> |
619 | | <ResourceProxy id="resourceno2"> |
620 | | <ResourceType mimetype="application/xml">Resource</ResourceType> |
621 | | <ResourceRef>http://hdl.handle.net/THERESOURCEPID2</ResourceRef> |
622 | | </ResourceProxy> |
623 | | </ResourceProxyList> |
624 | | <JournalFileProxyList> |
625 | | <JournalFileProxy> |
626 | | <JournalFileRef>http://hdl.handle.net/ThePIDtoPROVENANCEfile</JournalFileRef> |
627 | | </JournalFileProxy> |
628 | | </JournalFileProxyList> |
629 | | <ResourceRelationList> |
630 | | <ResourceRelation> |
631 | | <RelationType |
632 | | dcr:datcat="http://www.isocat.org/datcat/DC-4009"> annotates </RelationType> |
633 | | <Source ref="resourceno1"/> |
634 | | <Target ref="resourceno2"/> |
635 | | </ResourceRelation> |
636 | | </ResourceRelationList> |
637 | | <IsPartOfList> |
638 | | <IsPartOf>http://hdl.handle.net/SomeOtherBiggerResourceThisIsPartOf</IsPartOf> |
639 | | <IsPartOf>http://hdl.handle.net/SomeOtherEvenBiggerResourceThisIsPartOf</IsPartOf> |
640 | | </IsPartOfList> |
641 | | </Resources> |
642 | | <Components> ... </Components> |
643 | | </CMD> |
644 | | }}} |
645 | | |
646 | | |
647 | | === Example instance of a component specification === |
648 | | ==== General Information component specification ==== |
649 | | This section provides an example description of a component using the CCSL. |
650 | | |
651 | | {{{#!xml |
652 | | <CMD_ComponentSpec |
653 | | isProfile="false" |
654 | | xsi:schemaLocation="http://www.clarin.eu/cmd http://www.clarin.eu/cmd/general-component-schema.xsd" |
655 | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
656 | | <Header> |
657 | | <ID>clarin.eu:cr1:c_1290431694495</ID> |
658 | | <Name>GeneralInfo</Name> |
659 | | <Description>Component contains general information about the |
660 | | resource, e.g. its name, title, the time coverage of the |
661 | | data, etc.</Description> |
662 | | </Header> |
663 | | <CMD_Component CardinalityMax="1" CardinalityMin="1" name="GeneralInfo"> |
664 | | <CMD_Element |
665 | | Multilingual="true" |
666 | | CardinalityMax="unbounded" |
667 | | CardinalityMin="0" |
668 | | ValueScheme="string" |
669 | | ConceptLink="http://www.isocat.org/datcat/DC-2544" |
670 | | name="ResourceName"/> |
671 | | <CMD_Element |
672 | | Multilingual="true" |
673 | | CardinalityMax="unbounded" |
674 | | CardinalityMin="0" |
675 | | ValueScheme="string" |
676 | | ConceptLink="http://www.isocat.org/datcat/DC-2545" |
677 | | name="ResourceTitle"/> |
678 | | <CMD_Element |
679 | | SupersetLabel="1" |
680 | | CardinalityMax="unbounded" |
681 | | CardinalityMin="1" |
682 | | ConceptLink="http://www.isocat.org/datcat/DC-3806" |
683 | | name="ResourceClass"> |
684 | | <ValueScheme> |
685 | | <enumeration> |
686 | | <item AppInfo="" ConceptLink="">Lexicon</item> |
687 | | <item AppInfo="" ConceptLink="">Corpus</item> |
688 | | <item AppInfo="" ConceptLink="">Tool</item> |
689 | | <item AppInfo="" ConceptLink="">Grammar</item> |
690 | | <item AppInfo="" ConceptLink="">Fieldwork |
691 | | Material</item> |
692 | | <item AppInfo="" ConceptLink="">Experimental |
693 | | Data</item> |
694 | | <item AppInfo="" ConceptLink="">Survey Data</item> |
695 | | <item AppInfo="" ConceptLink="">Test Data</item> |
696 | | <item AppInfo="" ConceptLink="">Toolchain</item> |
697 | | <item AppInfo="" ConceptLink="">ResourceBundle</item> |
698 | | </enumeration> |
699 | | </ValueScheme> |
700 | | </CMD_Element> |
701 | | <CMD_Element |
702 | | Multilingual="false" |
703 | | CardinalityMax="1" |
704 | | CardinalityMin="0" |
705 | | ValueScheme="string" |
706 | | ConceptLink="http://www.isocat.org/datcat/DC-2573" |
707 | | name="PID"/> |
708 | | <CMD_Element |
709 | | Multilingual="true" |
710 | | CardinalityMax="1" |
711 | | CardinalityMin="0" |
712 | | ValueScheme="string" |
713 | | ConceptLink="http://www.isocat.org/datcat/DC-2547" |
714 | | name="Version"/> |
715 | | <CMD_Element |
716 | | CardinalityMax="1" |
717 | | CardinalityMin="0" |
718 | | ConceptLink="http://www.isocat.org/datcat/DC-3818" |
719 | | name="LifeCycleStatus"> |
720 | | <ValueScheme> |
721 | | <enumeration> |
722 | | <item AppInfo="" ConceptLink="">planned</item> |
723 | | <item AppInfo="" ConceptLink="">development</item> |
724 | | <item AppInfo="" ConceptLink="">released</item> |
725 | | <item AppInfo="" ConceptLink="">production</item> |
726 | | <item AppInfo="" ConceptLink="">withdrawn</item> |
727 | | <item AppInfo="" ConceptLink="">retired</item> |
728 | | <item AppInfo="" ConceptLink="">superseded</item> |
729 | | <item AppInfo="" ConceptLink="">unknown</item> |
730 | | <item AppInfo="" ConceptLink="">archived</item> |
731 | | <item AppInfo="" ConceptLink="">published</item> |
732 | | </enumeration> |
733 | | </ValueScheme> |
734 | | </CMD_Element> |
735 | | <CMD_Element |
736 | | CardinalityMax="1" |
737 | | CardinalityMin="0" |
738 | | ValueScheme="gYear" |
739 | | ConceptLink="http://www.isocat.org/datcat/DC-2539" |
740 | | name="StartYear"/> |
741 | | <CMD_Element |
742 | | CardinalityMax="1" |
743 | | CardinalityMin="0" |
744 | | ValueScheme="gYear" |
745 | | ConceptLink="http://www.isocat.org/datcat/DC-2509" |
746 | | name="CompletionYear"/> |
747 | | <CMD_Element |
748 | | Multilingual="false" |
749 | | CardinalityMax="1" |
750 | | CardinalityMin="0" |
751 | | ValueScheme="string" |
752 | | ConceptLink="http://www.isocat.org/datcat/DC-2538" |
753 | | name="PublicationDate"/> |
754 | | <CMD_Element |
755 | | Multilingual="false" |
756 | | CardinalityMax="1" |
757 | | CardinalityMin="0" |
758 | | ValueScheme="string" |
759 | | ConceptLink="http://www.isocat.org/datcat/DC-2526" |
760 | | name="LastUpdate"/> |
761 | | <CMD_Element |
762 | | Multilingual="true" |
763 | | CardinalityMax="1" |
764 | | CardinalityMin="0" |
765 | | ValueScheme="string" |
766 | | ConceptLink="http://www.isocat.org/datcat/DC-2502" |
767 | | name="TimeCoverage"/> |
768 | | <CMD_Element |
769 | | Multilingual="true" |
770 | | CardinalityMax="unbounded" |
771 | | CardinalityMin="0" |
772 | | ValueScheme="string" |
773 | | ConceptLink="http://www.isocat.org/datcat/DC-2956" |
774 | | name="LegalOwner"/> |
775 | | <CMD_Component |
776 | | CardinalityMax="1" |
777 | | CardinalityMin="0" |
778 | | ComponentId="clarin.eu:cr1:c_1290431694494" |
779 | | name="Location"> |
780 | | <CMD_Element |
781 | | Multilingual="true" |
782 | | SupersetLabel="1" |
783 | | CardinalityMax="1" |
784 | | CardinalityMin="0" |
785 | | ValueScheme="string" |
786 | | ConceptLink="http://www.isocat.org/datcat/DC-2505" |
787 | | name="Address"/> |
788 | | <CMD_Element |
789 | | Multilingual="true" |
790 | | CardinalityMax="1" |
791 | | CardinalityMin="0" |
792 | | ValueScheme="string" |
793 | | ConceptLink="http://www.isocat.org/datcat/DC-3814" |
794 | | name="Region"/> |
795 | | <CMD_Element |
796 | | Multilingual="true" |
797 | | CardinalityMax="1" |
798 | | CardinalityMin="0" |
799 | | ValueScheme="string" |
800 | | ConceptLink="http://www.isocat.org/datcat/DC-3791" |
801 | | name="ContinentName"/> |
802 | | <CMD_Component |
803 | | CardinalityMax="1" |
804 | | CardinalityMin="1" |
805 | | ComponentId="clarin.eu:cr1:c_1290431694493" |
806 | | name="Country"> |
807 | | <CMD_Element |
808 | | Multilingual="true" |
809 | | CardinalityMax="1" |
810 | | CardinalityMin="1" |
811 | | ValueScheme="string" |
812 | | ConceptLink="http://www.isocat.org/datcat/DC-3792" |
813 | | name="CountryName"/> |
814 | | <CMD_Element |
815 | | SupersetLabel="1" |
816 | | CardinalityMax="1" |
817 | | CardinalityMin="1" |
818 | | ConceptLink="http://www.isocat.org/datcat/DC-2092" |
819 | | name="CountryCoding"> |
820 | | <ValueScheme> |
821 | | <enumeration> |
822 | | <item AppInfo="Andorra" ConceptLink="">AD</item> |
823 | | <item AppInfo="United Arab Emirates" ConceptLink="">AE</item> |
824 | | <item AppInfo="Afghanistan" ConceptLink="">AF</item> |
825 | | <item AppInfo="Antigua and Barbuda" ConceptLink="">AG</item> |
826 | | <item AppInfo="Anguilla" ConceptLink="">AI</item> |
827 | | <item AppInfo="Albania" ConceptLink="">AL</item> |
828 | | <item AppInfo="Armenia" ConceptLink="">AM</item> |
829 | | <item AppInfo="Netherlands Antilles" ConceptLink="">AN</item> |
830 | | </enumeration> |
831 | | </ValueScheme> |
832 | | </CMD_Element> |
833 | | </CMD_Component> |
834 | | </CMD_Component> |
835 | | <CMD_Component |
836 | | CardinalityMax="1" |
837 | | CardinalityMin="0" |
838 | | ComponentId="clarin.eu:cr1:c_1290431694486" |
839 | | name="Descriptions"> |
840 | | <CMD_Element |
841 | | Multilingual="true" |
842 | | SupersetLabel="1" |
843 | | CardinalityMax="unbounded" |
844 | | CardinalityMin="1" |
845 | | ValueScheme="string" |
846 | | ConceptLink="http://www.isocat.org/datcat/DC-2520" |
847 | | name="Description"> |
848 | | <AttributeList> |
849 | | <Attribute> |
850 | | <Name>type</Name> |
851 | | <ValueScheme> |
852 | | <enumeration> |
853 | | <item AppInfo="" ConceptLink="">short</item> |
854 | | <item AppInfo="" ConceptLink="">long</item> |
855 | | </enumeration> |
856 | | </ValueScheme> |
857 | | </Attribute> |
858 | | </AttributeList> |
859 | | </CMD_Element> |
860 | | </CMD_Component> |
861 | | </CMD_Component> |
862 | | </CMD_ComponentSpec> |
863 | | }}} |
| 273 | {Removed copy of general component schema and instance XML example} |