Closed 6nv closed 2 months ago
I think this is the same feature as requested in #310.
Current status is that I haven't been working on it. I've been stretched a bit thin since midwinter this past year and unable to make much progress on most FOSS projects. I'm going to close to consolidate with #310, but feel free to either add detail there if you think there's important information missing from that conversation, or to reopen this if you think I'm wrong and it's not a duplicate.
Hi, can check-jsonschema automatically detect which schema to validate against based on the value in
$schema
? I found --check-metaschema which is almost exactly what I want, but not quite. I want to write a pipeline to automatically validate all json files against their respective schemas without having to write a new check each time I add a new file.a.json:
b.json:
(...you could imagine I have several more json files, each with their own schema.)
../schema/a.json
../schema/b.json
I want to write something like this:
But currently I need to write this:
I tried
--builtin-schema
which looked promising but still not quite what I'm looking for. Do I have any options right now or is this not currently a feature of this tool? Thanks!Might be a duplicate of #310