gbif / registry

GBIF Registry
Apache License 2.0
34 stars 15 forks source link

GRSciColl - Can't apply suggestion change for a contact with research_ID #476

Closed ManonGros closed 1 year ago

ManonGros commented 1 year ago

This is the suggestion I can't apply: https://registry.gbif.org/collection/bf6ef975-8cde-47ea-9037-9ca01d8d61ea?suggestionId=796 And this isn't the first time I am not able to apply this type of suggestion. This is the error message I get:

Screenshot 2023-02-23 at 11 26 28

What are the rules for this type of ID? Could they be loosened a bit?

@marcos-lg

marcos-lg commented 1 year ago

The rules are here, it has to follow one of those 2 patterns https://github.com/gbif/gbif-api/blob/c1395b375bfd421bb5120b1312a16ea2d1bbc041/src/main/java/org/gbif/api/util/validators/identifierschemes/ResearcherIdValidator.java#L21

But I see now that there are other patterns: https://www.webofscience.com/wos/author/record/AAK-3007-2021

I couldn't find a place where they describe the format of these identifiers, do you know any?

ManonGros commented 1 year ago

According to wikidata, the pattern is [A-Z]{1,3}-\d{4}-(19|20)\d\d (https://www.wikidata.org/wiki/Property:P1053) Would that be implementable?

marcos-lg commented 1 year ago

Deployed to production