Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation tests #174

Open
mariagould opened this issue May 25, 2021 · 0 comments
Open

Validation tests #174

mariagould opened this issue May 25, 2021 · 0 comments
Labels
curation Setting up ROR for independent curation

Comments

@mariagould
Copy link
Contributor

In addition to json schema validation, we will use the following tests to validate ROR metadata records:

  • Check that language code is iso639 compliant and two characters long
  • Check country code is iso3166 compliant and two characters long
  • Check that geonames data is the same as the data from geonames
  • Check that relationship ids mentioned in the record that’s being checked exists in the rest of the record files, i.e. if the record being checked has a relationship labeled “related” and is pointing to id: 2, record with id: 2 is also pointing back to the relationship of the file being checked. Similarly, check that parent has a child relationship and vice versa in the record corpus being indexed.
  • Check that links and wikipedia url are urls and do resolve
  • Check that established is between 2 and 5 characters
@mariagould mariagould added the curation Setting up ROR for independent curation label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
curation Setting up ROR for independent curation
Projects
None yet
Development

No branches or pull requests

1 participant