temp fix of the identifier cardinality as in the v2 data we do not have the datacite prefix at the rules therefore the identifier element appears more than one times in the metadata record.
This commit is contained in:
parent
459c45853f
commit
e08f336a76
|
@ -162,14 +162,14 @@ public final class FAIR_Data_GuidelinesProfile extends AbstractOpenAireProfile {
|
|||
|
||||
// globally unique identifier
|
||||
private static final ElementSpec F1_01D_SPEC = Builders.
|
||||
forMandatoryElement("identifier", ONE).
|
||||
forMandatoryElement("identifier", ONE_TO_N).
|
||||
// withMandatoryAttribute("identifierType", new PIDCheckValuePredicate()).
|
||||
withMandatoryAttribute("identifierType", PERSISTENT_IDENTIFIER_TYPES).
|
||||
build();
|
||||
|
||||
// persistent identifier
|
||||
private static final ElementSpec F1_02D_SPEC = Builders.
|
||||
forMandatoryElement("identifier", ONE).
|
||||
forMandatoryElement("identifier", ONE_TO_N).
|
||||
withMandatoryAttribute("identifierType", IDENTIFIER_TYPES).
|
||||
build();
|
||||
|
||||
|
|
Loading…
Reference in New Issue