<commit_before>MD_Metadata:
    properties:
        fileIdentifier:
            type: string
        metadataStandardName:
            type: string
        metadataStandardVersion:
            type: string
        characterSet:
            type: string
            accept: MD_CharacterSetCode
            fallbackText: true
        hierarchyLevel:
            type: string
            accept: MD_ScopeCode
            fallbackText: true
        language:
            type: string
            accept: LanguageCode
            fallbackText: true
        dateStamp:
            type: date
        contact:
            accept: CI_ResponsibleParty
        identificationInfo:
            type: object
            accept:
                - MD_DataIdentification
                - SV_ServiceIdentification
            dissolve: true
        dataQualityInfo:
            accept: DQ_DataQuality

MD_DataIdentification:
    properties:
        citation:
            type: object
            accept: CI_Citation
        abstract:
            type: string
            accept: CharacterString
            fallbackText: true
        purpose:
            type: string
            accept: CharacterString
            fallbackText: true
        language:
            type: string
            accept: LanguageCode
            fallbackText: true
        characterSet:
            type: string
            accept: MD_CharacterSetCode
            fallbackText: true
        topicCategory:
            type: string
        # maintenanceAndUpdateFrequency:
        #     type:
        #         - MD_MaintenanceFrequencyCode
        #         - string
        # resourceFormat:
        #     type: MD_Format
        extent:
            array: true
            type: object
            accept: EX_Extent
        descriptiveKeywords:
            type: object
            array: true
            accept: MD_Keywords
        pointOfContact:
            array: true
            accept: CI_ResponsibleParty
        graphicOverview:
            array: true
            accept: MD_BrowseGraphic
        spatialResolution:
            accept:
                - MD_Resolution

MD_Resolution:
    properties:
        equivalentScale:
            accept: MD_RepresentativeFraction

MD_RepresentativeFraction:
    properties:
        denominator:
            type: string

DQ_DataQuality:
    properties:
        lineage:
            accept: LI_Lineage

LI_Lineage:
    properties:
        statement:
            accept: CharacterString
            fallbackText: true

CI_Citation:
    properties:
        title:
            type: string
        alternateTitle:
            type: string
        edition:
            type: date
        identifier:
            type: string
        date:
            accept: CI_Date
            array: true

CI_Date:
    properties:
        date:
            accept:
                - Date
                - DateTime
            fallbackText: true
        dateType:
            accept: CI_DateTypeCode
            fallbackText: true

CI_ResponsibleParty:
    properties:
        organisationName:
            type: string
        individualName:
            type: string
        contactInfo:
            accept: CI_Contact
        role:
            accept: CI_RoleCode
            fallbackText: true

CI_Contact:
    properties:
        address:
            accept: CI_Address
            dissolve: true
        phone:
            accept: CI_Telephone
            dissolve: true

CI_Telephone:
    properties:
        voice:
            accept: CharacterString
            fallbackText: true
        facsimile:
            accept: CharacterString
            fallbackText: true

CI_Address:
    properties:
        deliveryPoint:<commit_msg>Add positionName to CI_Contact definition<commit_after>MD_Metadata:
    properties:
        fileIdentifier:
            type: string
        metadataStandardName:
            type: string
        metadataStandardVersion:
            type: string
        characterSet:
            type: string
            accept: MD_CharacterSetCode
            fallbackText: true
        hierarchyLevel:
            type: string
            accept: MD_ScopeCode
            fallbackText: true
        language:
            type: string
            accept: LanguageCode
            fallbackText: true
        dateStamp:
            type: date
        contact:
            accept: CI_ResponsibleParty
        identificationInfo:
            type: object
            accept:
                - MD_DataIdentification
                - SV_ServiceIdentification
            dissolve: true
        dataQualityInfo:
            accept: DQ_DataQuality

MD_DataIdentification:
    properties:
        citation:
            type: object
            accept: CI_Citation
        abstract:
            type: string
            accept: CharacterString
            fallbackText: true
        purpose:
            type: string
            accept: CharacterString
            fallbackText: true
        language:
            type: string
            accept: LanguageCode
            fallbackText: true
        characterSet:
            type: string
            accept: MD_CharacterSetCode
            fallbackText: true
        topicCategory:
            type: string
        # maintenanceAndUpdateFrequency:
        #     type:
        #         - MD_MaintenanceFrequencyCode
        #         - string
        # resourceFormat:
        #     type: MD_Format
        extent:
            array: true
            type: object
            accept: EX_Extent
        descriptiveKeywords:
            type: object
            array: true
            accept: MD_Keywords
        pointOfContact:
            array: true
            accept: CI_ResponsibleParty
        graphicOverview:
            array: true
            accept: MD_BrowseGraphic
        spatialResolution:
            accept:
                - MD_Resolution

MD_Resolution:
    properties:
        equivalentScale:
            accept: MD_RepresentativeFraction

MD_RepresentativeFraction:
    properties:
        denominator:
            type: string

DQ_DataQuality:
    properties:
        lineage:
            accept: LI_Lineage

LI_Lineage:
    properties:
        statement:
            accept: CharacterString
            fallbackText: true

CI_Citation:
    properties:
        title:
            type: string
        alternateTitle:
            type: string
        edition:
            type: date
        identifier:
            type: string
        date:
            accept: CI_Date
            array: true

CI_Date:
    properties:
        date:
            accept:
                - Date
                - DateTime
            fallbackText: true
        dateType:
            accept: CI_DateTypeCode
            fallbackText: true

CI_ResponsibleParty:
    properties:
        organisationName:
            type: string
        individualName:
            type: string
        positionName:
            type: string
        contactInfo:
            accept: CI_Contact
        role:
            accept: CI_RoleCode
            fallbackText: true

CI_Contact:
    properties:
        address:
            accept: CI_Address
            dissolve: true
        phone:
            accept: CI_Telephone
            dissolve: true

CI_Telephone:
    properties:
        voice:
            accept: CharacterString
            fallbackText: true
        facsimile:
            accept: CharacterString
            fallbackText: true

CI_Address:
    properties:
        deliveryPoint:
{'fraction_non_alphanumeric': 0.04187094209619716, 'fraction_numerical': 0.0, 'mean_word_length': 1.2817412333736398, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3182173', 'n_tokens_mistral': 1815, 'n_tokens_neox': 1773, 'n_words': 442}