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: delete conditions #164

Closed katja-moilanen closed 4 months ago

katja-moilanen commented 7 months ago

Delete:

       <!--****************************************************************************************-->
    <!--ACCESS CATEGORY - OPEN OR RESTRICTED-->
    <!--****************************************************************************************-->
    <pr:Used xpath="/codeBook/stdyDscr/dataAccs/useStmt/conditions" isRequired="true">
        <r:Description>
            <r:Content>Required: Mandatory</r:Content>
            <r:Content>ElementType: Content element</r:Content>
            <r:Content>ElementRepeatable: Yes</r:Content>
            <r:Content>Usage: Controlled description of the data access (open access vs. restricted access).
                CDC will use the same Access Rights vocabulary as OpenAIRE.
                The name of the vocabulary is “info:eu-repo-Access-Terms vocabulary” - see
                http://purl.org/eu-repo/semantics/#info-eu-repo-AccessRights
                Only the codes “restrictedAccess” and “openAccess” will be used.</r:Content>
            <r:Content>CDC_UI_Label: Open/Closed</r:Content>
            <r:Content>CMM_Mapping: 1.4.1</r:Content>
        </r:Description>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/dataAccs/useStmt/conditions/@elementVersion"
        defaultValue="info:eu-repo-Access-Terms vocabulary" fixedValue="true" isRequired="false">
        <r:Description>
            <r:Content>Required: Mandatory if 'conditions' element is present</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Always 'info:eu-repo-Access-Terms vocabulary'.</r:Content>
            <r:Content>CMM_Mapping: None</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content>
                <![CDATA[
                <Constraints>
                    <MandatoryNodeIfParentPresentConstraint/>
                </Constraints>
                ]]>
            </r:Content>
        </pr:Instructions>
    </pr:Used>
katja-moilanen commented 6 months ago

This is CDC priority 2024

The contents of this field will be generated by CDC based on the mappings made with values Open and Restricted + access information from SPs metadata.

katja-moilanen commented 5 months ago

Discussed in CDC UG group. This field is not needed from SPs at all. Delete.

katja-moilanen commented 4 months ago

/codeBook/stdyDscr/dataAccs/useStmt/conditions and /codeBook/stdyDscr/dataAccs/useStmt/conditions/@elementVersion not appearing in DDI-C 2.6 profiles

katja-moilanen commented 4 months ago

I just noticed that there are fields with same meaning in DDI-C 2.6 profiles but having different XPaths and appearing in a bit different place in the profile documents than in other DDI-C profile versions. I will fix DDI-C 2.6 profiles and then this issue #164 is (hopefully) fully fixed.

Delete:

   <!--****************************************************************************************-->
    <!--ACCESS CATEGORY - OPEN OR RESTRICTED-->
    <!--****************************************************************************************-->
    <pr:Used xpath="/codeBook/stdyDscr/dataAccs/typeOfAccess" isRequired="true">
        <r:Description>
            <r:Content>Required: Mandatory</r:Content>
            <r:Content>ElementType: Content element</r:Content>
            <r:Content>ElementRepeatable: Yes</r:Content>
            <r:Content>Usage: Controlled description of the data access (open access vs. restricted access).
                CDC will use the same Access Rights vocabulary as OpenAIRE. 
                The name of the vocabulary is “info:eu-repo-Access-Terms vocabulary” - see
                http://purl.org/eu-repo/semantics/#info-eu-repo-AccessRights
                Only the codes “restrictedAccess” and “openAccess” will be used.</r:Content>
            <r:Content>CDC_UI_Label: Open/Closed</r:Content>
            <r:Content>CMM_Mapping: 1.4.1</r:Content>
        </r:Description>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/dataAccs/typeOfAccess/@vocabURI" 
        defaultValue="info:eu-repo-Access-Terms vocabulary" fixedValue="true" isRequired="false">
        <r:Description>
            <r:Content>Required: Mandatory if '../typeofAccess' element is present</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Always 'info:eu-repo-Access-Terms vocabulary'.</r:Content>
            <r:Content>CMM_Mapping: None</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content>
                <![CDATA[
                <Constraints>
                    <MandatoryNodeIfParentPresentConstraint/>
                </Constraints>
                ]]>
            </r:Content>
        </pr:Instructions>
    </pr:Used>