resolving # relative to schema.json# (schema.json#)
trying to fetch schema.json
successully fetched schema.json
resolved to # (schema.json#)
resolving # relative to schema.json# (schema.json#)
resolved to # (schema.json#)
Error: Array items must be an array or an object, but is true.
slack discussion: https://json-schema.slack.com/archives/CT8QRGTK5/p1671466458144969?thread_ts=1671397459.161829&cid=CT8QRGTK5 Issue: radiantearth/stac-spec#1246 Basically,
true
is considered a schema, that just passes everything in validation (slack). However, when trying to create a schema for JSON schema itself:This errors out, because
enum
is an array ofany
type, e.g.gives