<commit_before><?xml version="1.0" encoding="UTF-8"?>
<validationTemplate
        xmlns="http://www.nkp.cz/pspValidator/1.6/metadataProfile"
        name="MODS supplement (RDA)"
        validatorVersion="1.6"
        dmf="periodical_1.6"
>

    <info>
        <text>DMF Periodika-1.6 očekává MODS verze 3.5. Dále se zde upřesňují očekávaná metadata pro přílohu pro
            záznamy zpracované podle katalogizačních pravidel RDA.
        </text>
        <url>http://www.loc.gov/standards/mods/</url>
        <url description="XSD pro MODS 3.5">http://www.loc.gov/standards/mods/v3/mods-3-5.xsd</url>
        <url description="popis MODS 3.5">http://www.loc.gov/standards/mods/mods-outline-3-5.html</url>
    </info>

    <namespaces>
        <namespace prefix="mods">http://www.loc.gov/mods/v3</namespace>
    </namespaces>

    <dictionaries>
        <dictionary name="marcRelatorCodes"
                    description="kódy rolí podle MARC21"
                    url="http://www.loc.gov/marc/relators/relaterm.html"/>
        <dictionary name="iso6392languageCodes"
                    description="kódy jazyků podle ISO 639-2"
                    url="http://www.loc.gov/standards/iso639-2/php/code_list.php"/>
        <dictionary name="siglaInstitutionCodes"
                    description="sigly knihoven"/>
    </dictionaries>

    <rootElement name="mods:mods">
        <expectedAttributes>
            <attribute name="ID">
                <expectedContent>
                    <regexp>MODS_SUPPL_[0-9]{4}</regexp>>
                </expectedContent>
            </attribute>
        </expectedAttributes>
        <expectedElements>
            <element name="mods:titleInfo">
                <expectedElements>
                    <element name="mods:title">
                        <expectedContent/>
                    </element>

                    <element name="mods:partNumber" mandatory="false">
                        <expectedContent/>
                    </element>

                    <element name="mods:partName" mandatory="false">
                        <expectedContent/>
                    </element>
                </expectedElements>
            </element>

            <element name="mods:name" mandatory="false">
                <expectedAttributes>
                    <attribute name="type" mandatory="true">
                        <expectedContent>
                            <oneOf>
                                <value>personal</value>
                                <value>corporate</value><commit_msg>supplement_aacr2, atribut type (el. name) nově nepovinný, issue #48<commit_after><?xml version="1.0" encoding="UTF-8"?>
<validationTemplate
        xmlns="http://www.nkp.cz/pspValidator/1.6/metadataProfile"
        name="MODS supplement (RDA)"
        validatorVersion="1.6"
        dmf="periodical_1.6"
>

    <info>
        <text>DMF Periodika-1.6 očekává MODS verze 3.5. Dále se zde upřesňují očekávaná metadata pro přílohu pro
            záznamy zpracované podle katalogizačních pravidel RDA.
        </text>
        <url>http://www.loc.gov/standards/mods/</url>
        <url description="XSD pro MODS 3.5">http://www.loc.gov/standards/mods/v3/mods-3-5.xsd</url>
        <url description="popis MODS 3.5">http://www.loc.gov/standards/mods/mods-outline-3-5.html</url>
    </info>

    <namespaces>
        <namespace prefix="mods">http://www.loc.gov/mods/v3</namespace>
    </namespaces>

    <dictionaries>
        <dictionary name="marcRelatorCodes"
                    description="kódy rolí podle MARC21"
                    url="http://www.loc.gov/marc/relators/relaterm.html"/>
        <dictionary name="iso6392languageCodes"
                    description="kódy jazyků podle ISO 639-2"
                    url="http://www.loc.gov/standards/iso639-2/php/code_list.php"/>
        <dictionary name="siglaInstitutionCodes"
                    description="sigly knihoven"/>
    </dictionaries>

    <rootElement name="mods:mods">
        <expectedAttributes>
            <attribute name="ID">
                <expectedContent>
                    <regexp>MODS_SUPPL_[0-9]{4}</regexp>>
                </expectedContent>
            </attribute>
        </expectedAttributes>
        <expectedElements>
            <element name="mods:titleInfo">
                <expectedElements>
                    <element name="mods:title">
                        <expectedContent/>
                    </element>

                    <element name="mods:partNumber" mandatory="false">
                        <expectedContent/>
                    </element>

                    <element name="mods:partName" mandatory="false">
                        <expectedContent/>
                    </element>
                </expectedElements>
            </element>

            <element name="mods:name" mandatory="false">
                <expectedAttributes>
                    <attribute name="type" mandatory="false">
                        <expectedContent>
                            <oneOf>
                                <value>personal</value>
                                <value>corporate</value>
{'fraction_non_alphanumeric': 0.12405504942818375, 'fraction_numerical': 0.016088389222717582, 'mean_word_length': 1.6407369498464688, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 2, '>': 111, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2022462', 'n_tokens_mistral': 1548, 'n_tokens_neox': 1467, 'n_words': 227}