-
Notifications
You must be signed in to change notification settings - Fork 59
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
Express more combination of required resources in schemas.json #1953
Comments
Thank you for reporting the bug @peterdesmet |
Yes, my guess was correct. If you map all four of them you can publish the resource |
Aha! The intended behaviour is that all of the following are valid:
|
Ok, if we want more complex functionality there we need to implement it somehow in the schema file https://rs.gbif.org/sandbox/experimental/schemas.json , so IPT can understand what combinations are valid. By default all entities are required |
Thanks! Suggestions on how to express this best in |
Add something like this to https://rs.gbif.org/sandbox/experimental/schemas.json at the scheme level
|
keys would be |
I've updated rs.gbif.org by adding schema requirements. Just deployed and tested on ipt3.gbif-uat.org, looks fine |
Publishing a Camtrap DP (ipt3.gbif-uat.org) currently fails:
The
event-observations
file does contain aobservationID
column however. Maybe there is some code checking for anobservations
resource (Camtrap DP 0.4), while Camtrap 0.6 expects aevent-observations
and/ormedia-observations
resource?The text was updated successfully, but these errors were encountered: