cessda / cessda.metadata.profiles

Contains DDI Profiles that are used by the CESSDA Metadata Validator Tool
Other
0 stars 0 forks source link

CDC 3.2 Publication information #109

Closed cessda-bitbucket-importer closed 3 months ago

cessda-bitbucket-importer commented 2 years ago

Original report on BitBucket by Taina Jääskeläinen.


Copying the suggested x-paths from the CDC Upgrade report x-paths:

Related publication

+

Title of the publication

ddi:DDIInstance/s:StudyUnit/r:OtherMaterialScheme/r:OtherMaterial/r:Citation/r:Title/r:String

ID

ddi:DDIInstance/s:StudyUnit/r:OtherMaterialScheme/r:OtherMaterial/r:Citation/r:InternationalIdentifier/r:IdentifierContent

Agency

ddi:DDIInstance/s:StudyUnit/r:OtherMaterialScheme/r:OtherMaterial/r:Citation/r:InternationalIdentifier/r:ManagingAgency

@MortenSikt @‌Hilde Orten Please review. For Usage information, see related issue for DDI-C profile #66.

darrenbell2 commented 1 year ago

Hi @MortenSikt - publications info is now not mandatory in the 2.5 profile - see below, so I will close this now. However, please re-open if I have misunderstood. Thanks, Darren

<!--****************************************************************************************-->
<!--RELATED PUBLICATIONS (AND PID)-->
<!--****************************************************************************************-->
<pr:Used xpath="/codeBook/stdyDscr/othrStdyMat/relPubl/citation/titlStmt/IDNo"
    isRequired="false">
    <r:Description>
        <r:Content>Required: Recommended</r:Content>
        <r:Content>ElementType: Content element</r:Content>
        <r:Content>ElementRepeatable: Yes</r:Content>
        <r:Content>Usage: PID of the publication. Required by OpenAire to to relate the
            publication to a dataset.</r:Content>
        <r:Content>CMM_Mapping: 9.9</r:Content>
    </r:Description>
    <pr:Instructions>
        <r:Content><![CDATA[
        <Constraints>
            <OptionalNodeConstraint/>
        </Constraints>
        ]]></r:Content>
    </pr:Instructions>
</pr:Used>
<pr:Used xpath="/codeBook/stdyDscr/othrStdyMat/relPubl/citation/titlStmt/IDNo/@agency"
    isRequired="false">
    <r:Description>
        <r:Content>Required: Mandatory if '..../IDNo' element is present.</r:Content>
        <r:Content>ElementType: Attribute</r:Content>
        <r:Content>Usage: Agency responsible for the identifier of the publication. Required by
            OpenAire and the value has to come from their controlled list of
            relatedIdentifierTypes:
            https://guidelines.openaire.eu/en/latest/data/field_relatedidentifier.html#d-relatedidentifier..</r:Content>
        <r:Content>CMM_Mapping: 9.9.1</r:Content>
    </r:Description>
    <pr:Instructions>
        <r:Content>
            <![CDATA[
            <Constraints>
                <MandatoryNodeIfParentPresentConstraint/>
            </Constraints>
            ]]>
        </r:Content>
    </pr:Instructions>
</pr:Used>
<pr:Used xpath="/codeBook/stdyDscr/othrStdyMat/relPubl/citation/holdings/@URI"
    isRequired="false">
    <r:Description>
        <r:Content>Required: Recommended.</r:Content>
        <r:Content>ElementType: Attribute</r:Content>
        <r:Content>Usage: URL of website on which the publication can be found (or at least information concerning 
            the literature).</r:Content>
        <r:Content>CMM_Mapping: 9.10</r:Content>
    </r:Description>
    <pr:Instructions>
        <r:Content><![CDATA[
        <Constraints>
            <RecommendedNodeConstraint/>
        </Constraints>
        ]]></r:Content>
    </pr:Instructions>
</pr:Used>
matthew-morris-cessda commented 1 year ago

Reopening, as this hasn't been merged into main (or mdo-d6)

MortenSikt commented 1 year ago

It is correct that this should not be mandatory. Only possible issue here might be when sending records to OpenAire with related publications where PID is not present due to the fact that it does not exist for the publication. But that can be handled elsewhere.

katja-moilanen commented 3 months ago

Done in the year 2023