3 ms·
It would be valuable to know which JSON-Schema it supports, since there are currently 4 different versions that differ in their capabilities (as one might expec
by mdaniel 4y ago
It would be valuable to know which JSON-Schema it supports, since there are currently 4 different versions that differ in their capabilities (as one might expect). Related to that, does it honor the "$schema" key allowing the schema to declare which version it is?
The postgres-json-schema alternative that's mentioned in the repo also ships with what appears to be a conformance test suite; does this carry the same, or was the focus more on speed?
- dragonwriter 4y ago> It would be valuable to know which JSON-Schema it supports, since there are currently 4 different versions that differ in their capabilities (as one might expect). There are 9 drafts, at least six of which seem to have support in implementations. (Plus there is a different variation [an “extended subset” of Draft 5] defined and used within OpenAPI 3.0.)
- oliverrice 4y ago> 4 different versions that differ in their capabilities pg_jsonschema is a (very) thin wrapper around https://docs.rs/jsonschema/latest/jsonschema/ https://docs.rs/jsonschema/latest/jsonschema/ it supports versions 4, 6, and 7 > appears to be a conformance test suite; does this carry the same, or was the focus more on speed? it was mostly an excuse to play with pgx that went surprisingly well. The performance is very good but safety was our main interest.