jsonschema-rs icon indicating copy to clipboard operation
jsonschema-rs copied to clipboard

Feature Request: Support JSON Table Schema

Open jqnatividad opened this issue 3 years ago • 1 comments

This library has wide support of JSON Schema, supporting several drafts.

Would it be possible to also support related tabular data schemas like JSON Table Schema or CSV on the Web?

jqnatividad avatar Jan 24 '22 15:01 jqnatividad

Hi @jqnatividad

Thank you for asking! :) As far as I see, those specs are not compatible with JSON Schema, so supporting them directly would require substantial changes here. I think that this library itself should focus only on JSON Schema.

It might be possible that JSON Table Schema could be expressed as JSON Schema vocabulary, then it could be the case for supporting custom vocabularies here in jsonschema, and then implementing JSON Table Schema as a vocabulary in a separate crate.

Here is a bit of discussion on the vocabularies support in #243

Stranger6667 avatar Jan 30 '22 17:01 Stranger6667