opengeospatial/CoverageJSON

Checking Hyrax (bes) covjson responses against covjson test suite

Closed this issue · 4 comments

I have been documenting various issues with the covjson responses generated by OPeNDAP Hyrax (1.16.0).
Before I go down the rabbit hole, it would be great if I could literally test a given covjson file against a test suite. I vividly remember seeing mention of a test suite somewhere...?
Is this possible?
Thanks for any info...

Yes it is! This hasn't been formally published yet, but there is a JSON schema in a very-nearly-complete state at https://github.com/covjson/covjson-validator/. If you just want to grab the schema itself it's here: https://covjson.org/schema/dev/coveragejson.json.

The schema is used by the playground to check inputs. It can't check every CovJSON rule, but it is fairly comprehensive.

(To augment the schema we plan to generate a Python validator tool, but this is still at a very early stage, with no release timescale yet.)

@lewismc Can we close this issue? There is a PR imminent with increased prominence for the schema.

@lewismc PR highlighting schema and community sandbox now reviewed and merged.