airr-community / airr-standards

AIRR Community Data Standards
https://docs.airr-community.org
Creative Commons Attribution 4.0 International
35 stars 23 forks source link

R library validation does not handle properties with ontologies correctly #761

Closed bussec closed 4 months ago

bussec commented 4 months ago

The validate_airr function of the R library fails to detect properties that are an ontology in the schema, but not a list in the data structure that is being tested.

How to reproduce

Load the bad_germline_set.json from PR #741. It should fail as GermlineSet.species is a simple string, but does not.