SpaceApi / schema

SpaceAPI JSON schema files.
24 stars 14 forks source link

Validate schema fails #76

Closed gidsi closed 3 years ago

gidsi commented 4 years ago

Somethings is wrong with our schema validation.

I've opened #73 and the schema validation went through, after squash merge it into b23285d it now reports error: Unexpected token ':' (regardless if --errors is set to json or text).

I get the same problem locally, but can't figure out whats wrong, the error message is very generic and i can't figure out a way to make the output more verbose.

Our schema and the downloaded draft-07 are both valid according to ECMA-404, RFC 4627, RFC 7159 and RFC 8259 (so i'm pretty sure there is no colon where it shouldn't be).

Error can be found here.

rnestler commented 3 years ago

Upstream report: https://github.com/ajv-validator/ajv-cli/issues/77

gidsi commented 3 years ago

Fixed in #81