Comments (5)
Hi @nokome
Sorry for the late reply! This problem went out of my scope and I think that it is separate - #100 will provide better error messages for sure, but at the moment meta schemas are only stored and not used for validation. I think that instead of CompilationError
and ErrorIterator
we can only have the latter and have it as the Err
variant for the JSONSchema::compile
return type. I'll keep it open, hopefully I'll have more time to work on this soon
from jsonschema-rs.
FYI - as #198 is merged and released, schema errors are reported in the same fashion as validation errors. There is an error message & instance_path
that may help with debugging
from jsonschema-rs.
If we'll have a metaschema validation, then this will be covered. Details are in #28
from jsonschema-rs.
Thanks for jsonschema
π. I've just started using it, so perhaps a noob question...
With 0.6.0
I'm still only getting the error message Schema compilation error
when using JSONSchema::compile(&schema)
or JSONSchema::options().with_meta_schemas().compile(&schema)
. Should I be doing something different, or does this require #100 to be completed?
from jsonschema-rs.
Closed in favor of #198
from jsonschema-rs.
Related Issues (20)
- Schema with pattern re-compute regexp on each validate call HOT 7
- Performance: Cache `format: regex`
- 0.17: Infinite recursion in compilation HOT 1
- Improper handling of subschema validation in `unevaluatedProperties`.
- Using $ref resolver outside validation
- `JSONSchema` and `JSONPointer` donβt follow naming conventions HOT 1
- Incorrect `schema_path` in errors HOT 1
- [python] ValueError: Unsupported type: 'collections.OrderedDict'
- `Error: Error("expected ident", line: 1, column: 2)` when running from command line
- OneOfNotValid having uninformative description?
- python linux aarch64/arm64 HOT 1
- Validating individual definitions HOT 6
- Exclude reflected value in error format? HOT 1
- [python] "OverflowError: int too big to convert" after several failed validation attempts HOT 2
- [python] Panic on Python 3.12 HOT 4
- Get line column of error
- Can't resolve local url schema HOT 2
- [Feature Request] validate() function HOT 1
- How to run the unit tests? HOT 3
- `cargo test` fails to compile: `unresolved import "syn::ItemFn"`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonschema-rs.