cessda / cessda.metadata.profiles

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

CDC DDI-C: Fix funding information #166

Closed katja-moilanen closed 1 week ago

katja-moilanen commented 6 months ago

Should @agency be mandatory if parent is present?

katja-moilanen commented 5 months ago

Multilingual profiles: Add language tag for grantNo. If @agency won't be mandatory, then language tag optional too.

katja-moilanen commented 4 months ago

CDC UG 29.5.2024: @agency mandatory if parent (grantNo) is present.

Still waiting (26.6.2024) to be decided if the @role attribute is to be used in CDC.

katja-moilanen commented 3 months ago

Funding information missing CDC UI labels. They needs to be decided by CDC UG. Decisions so far: grantNo/@agency → Funder grantNo → Grant Number grantNo/@role → TBD

katja-moilanen commented 2 weeks ago

DDI-C 1.2.2 monolingual:

    <!--****************************************************************************************-->
    <!--FUNDING INFORMATION-->
    <!--****************************************************************************************-->
    <pr:Used xpath="/ddi:codeBook/stdyDscr/citation/prodStmt/grantNo" isRequired="false">
        <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Content element</r:Content>
            <r:Content>ElementRepeatable: Yes</r:Content>
            <r:Content>Usage: The identification code of the grant or other monetary award which provided funding
                for the Study. If you know that the funder is included in the OpenAire list of Funders,
                see the instructions for grantNo syntax here:
                https://guidelines.openaire.eu/en/latest/data/field_contributor.html#nameidentifier-ma-o .
                Indicate the appropriate agency using the "agency" attribute.
                If different funding agencies sponsored different stages of the production process,
                use the "role" attribute to distinguish the grant numbers.</r:Content>
            <r:Content>CDC_UI_Label: Grant number</r:Content>
            <r:Content>CMM_Mapping: 1.1.6.2</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/ddi:codeBook/stdyDscr/citation/prodStmt/grantNo/@agency" isRequired="false">
        <r:Description>
            <r:Content>Required: Mandatory if 'grantNo' element is present</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Agency which provided the funding.</r:Content>
            <r:Content>CDC_UI_Label: Funder</r:Content>
            <r:Content>CMM_Mapping: 1.1.6.1</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content> <![CDATA[
                <Constraints>
                    <MandatoryNodeIfParentPresentConstraint/>
                </Constraints>
                ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/ddi:codeBook/stdyDscr/citation/prodStmt/grantNo/@role" isRequired="false">
        <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: If different funding agencies sponsored different stages of the production process,
                use the "role" attribute to distinguish the grant numbers.</r:Content>
            <r:Content>CMM_Mapping: 1.1.6.4</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
katja-moilanen commented 2 weeks ago

DDI-C 1.2.2 multilingual:

    <!--****************************************************************************************-->
    <!--FUNDING INFORMATION-->
    <!--****************************************************************************************-->
    <pr:Used xpath="/ddi:codeBook/stdyDscr/citation/prodStmt/grantNo" isRequired="false">
        <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Content element</r:Content>
            <r:Content>ElementRepeatable: Yes</r:Content>
            <r:Content>Usage: The identification code of the grant or other monetary award which provided funding
                for the Study. If you know that the funder is included in the OpenAire list of Funders,
                see the instructions for grantNo syntax here:
                https://guidelines.openaire.eu/en/latest/data/field_contributor.html#nameidentifier-ma-o .
                Indicate the appropriate agency using the "agency" attribute.
                If different funding agencies sponsored different stages of the production process,
                use the "role" attribute to distinguish the grant numbers.</r:Content>
            <r:Content>CDC_UI_Label: Grant number</r:Content>
            <r:Content>CMM_Mapping: 1.1.6.2</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/prodStmt/grantNo/@xml-lang" isRequired="false">
        <r:Description>
            <r:Content>Required: Mandatory if 'grantNo' element is present</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Language of the name of the agency which provided the funding. ISO 639-1 codes are strongly
                  encouraged to be used. </r:Content>
            <r:Content>CMM_Mapping: 3.2.1</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
                <Constraints>
                    <MandatoryNodeIfParentPresentConstraint/>
                </Constraints>
                ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/ddi:codeBook/stdyDscr/citation/prodStmt/grantNo/@agency" isRequired="false">
        <r:Description>
            <r:Content>Required: Mandatory if 'grantNo' element is present</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Agency which provided the funding.</r:Content>
            <r:Content>CDC_UI_Label: Funder</r:Content>
            <r:Content>CMM_Mapping: 1.1.6.1</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
                <Constraints>
                    <MandatoryNodeIfParentPresentConstraint/>
                </Constraints>
                ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/ddi:codeBook/stdyDscr/citation/prodStmt/grantNo/@role" isRequired="false">
        <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: If different funding agencies sponsored different stages of the production process,
                use the "role" attribute to distinguish the grant numbers.</r:Content>
            <r:Content>CMM_Mapping: 1.1.6.4</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
katja-moilanen commented 2 weeks ago

DDI-C 2.5 & 2.6 multilingual:

<!--****************************************************************************************-->
<!--FUNDING INFORMATION-->
<!--****************************************************************************************-->
<pr:Used xpath="/ddi:codeBook/ddi:stdyDscr/ddi:citation/ddi:prodStmt/ddi:grantNo" isRequired="false">
    <r:Description>
        <r:Content>Required: Optional</r:Content>
        <r:Content>ElementType: Content element</r:Content>
        <r:Content>ElementRepeatable: Yes</r:Content>
        <r:Content>Usage: The identification code of the grant or other monetary award which provided funding
            for the Study. If you know that the funder is included in the OpenAire list of Funders,
            see the instructions for grantNo syntax here:
            https://guidelines.openaire.eu/en/latest/data/field_contributor.html#nameidentifier-ma-o .
            Indicate the appropriate agency using the "agency" attribute.
            If different funding agencies sponsored different stages of the production process,
            use the "role" attribute to distinguish the grant numbers.</r:Content>
        <r:Content>CDC_UI_Label: Grant number</r:Content>
        <r:Content>CMM_Mapping: 1.1.6.2</r:Content>
    </r:Description>
    <pr:Instructions>
        <r:Content><![CDATA[
        <Constraints>
            <OptionalNodeConstraint/>
        </Constraints>
        ]]></r:Content>
    </pr:Instructions>
</pr:Used>
<pr:Used xpath="/ddi:codeBook/ddi:stdyDscr/ddi:citation/ddi:prodStmt/ddi:grantNo/@xml:lang" isRequired="false">
    <r:Description>
        <r:Content>Required: Mandatory if 'grantNo' element is present</r:Content>
        <r:Content>ElementType: Attribute</r:Content>
        <r:Content>Usage: Language of the name of the agency which provided the funding. ISO 639-1 codes are strongly
              encouraged to be used. </r:Content>
        <r:Content>CMM_Mapping: 3.2.1</r:Content>
    </r:Description>
    <pr:Instructions>
        <r:Content><![CDATA[
            <Constraints>
                <MandatoryNodeIfParentPresentConstraint/>
            </Constraints>
            ]]></r:Content>
    </pr:Instructions>
</pr:Used>
<pr:Used xpath="/ddi:codeBook/ddi:stdyDscr/ddi:citation/ddi:prodStmt/ddi:grantNo/@agency" isRequired="false">
    <r:Description>
        <r:Content>Required: Mandatory if 'grantNo' element is present</r:Content>
        <r:Content>ElementType: Attribute</r:Content>
        <r:Content>Usage: Agency which provided the funding.</r:Content>
        <r:Content>CDC_UI_Label: Funder</r:Content>
        <r:Content>CMM_Mapping: 1.1.6.1</r:Content>
    </r:Description>
    <pr:Instructions>
        <r:Content><![CDATA[
            <Constraints>
                <MandatoryNodeIfParentPresentConstraint/>
            </Constraints>
            ]]></r:Content>
    </pr:Instructions>
</pr:Used>
<pr:Used xpath="/ddi:codeBook/ddi:stdyDscr/ddi:citation/ddi:prodStmt/ddi:grantNo/@role" isRequired="false">
    <r:Description>
        <r:Content>Required: Optional</r:Content>
        <r:Content>ElementType: Attribute</r:Content>
        <r:Content>Usage: If different funding agencies sponsored different stages of the production process,
            use the "role" attribute to distinguish the grant numbers.</r:Content>
        <r:Content>CMM_Mapping: 1.1.6.4</r:Content>
    </r:Description>
    <pr:Instructions>
        <r:Content><![CDATA[
        <Constraints>
            <OptionalNodeConstraint/>
        </Constraints>
        ]]></r:Content>
    </pr:Instructions>
</pr:Used>
katja-moilanen commented 2 weeks ago

DDI-C 2.5 & 2.6 monolingual:

<!--****************************************************************************************-->
<!--FUNDING INFORMATION-->
<!--****************************************************************************************-->
<pr:Used xpath="/ddi:codeBook/ddi:stdyDscr/ddi:citation/ddi:prodStmt/ddi:grantNo" isRequired="false">
    <r:Description>
        <r:Content>Required: Optional</r:Content>
        <r:Content>ElementType: Content element</r:Content>
        <r:Content>ElementRepeatable: Yes</r:Content>
        <r:Content>Usage: The identification code of the grant or other monetary award which provided funding
            for the Study. If you know that the funder is included in the OpenAire list of Funders,
            see the instructions for grantNo syntax here:
            https://guidelines.openaire.eu/en/latest/data/field_contributor.html#nameidentifier-ma-o .
            Indicate the appropriate agency using the "agency" attribute.
            If different funding agencies sponsored different stages of the production process,
            use the "role" attribute to distinguish the grant numbers.</r:Content>
        <r:Content>CDC_UI_Label: Grant number</r:Content>
        <r:Content>CMM_Mapping: 1.1.6.2</r:Content>
    </r:Description>
    <pr:Instructions>
        <r:Content><![CDATA[
        <Constraints>
            <OptionalNodeConstraint/>
        </Constraints>
        ]]></r:Content>
    </pr:Instructions>
</pr:Used>
<pr:Used xpath="/ddi:codeBook/ddi:stdyDscr/ddi:citation/ddi:prodStmt/ddi:grantNo/@agency" isRequired="false">
    <r:Description>
        <r:Content>Required: Mandatory if 'grantNo' element is present</r:Content>
        <r:Content>ElementType: Attribute</r:Content>
        <r:Content>Usage: Agency which provided the funding.</r:Content>
        <r:Content>CDC_UI_Label: Funder</r:Content>
        <r:Content>CMM_Mapping: 1.1.6.1</r:Content>
    </r:Description>
    <pr:Instructions>
        <r:Content><![CDATA[
            <Constraints>
                <MandatoryNodeIfParentPresentConstraint/>
            </Constraints>
            ]]></r:Content>
    </pr:Instructions>
</pr:Used>
<pr:Used xpath="/ddi:codeBook/ddi:stdyDscr/ddi:citation/ddi:prodStmt/ddi:grantNo/@role" isRequired="false">
    <r:Description>
        <r:Content>Required: Optional</r:Content>
        <r:Content>ElementType: Attribute</r:Content>
        <r:Content>Usage: If different funding agencies sponsored different stages of the production process,
            use the "role" attribute to distinguish the grant numbers.</r:Content>
        <r:Content>CMM_Mapping: 1.1.6.4</r:Content>
    </r:Description>
    <pr:Instructions>
        <r:Content><![CDATA[
        <Constraints>
            <OptionalNodeConstraint/>
        </Constraints>
        ]]></r:Content>
    </pr:Instructions>
</pr:Used>
katja-moilanen commented 2 weeks ago

CDC SO 18.9.2024: leave role attribute as it is in the profile (no UI label)