Comments (4)
Probably I found the cause:
My event / schema has the name ui_interaction and there is one property called ui_interaction_details. When the json comes with that property the above error occurs. If i remove it, the library works as usual/expected.
from json-skema.
Hello Hasan, can you please share
- the json schema
- the complete json instance which you validate
- and the java/kotlin code
- the library version you use?
Thank you
from json-skema.
Dear Bence,
Due to sensitive data I cant share it in the first place. For now I needed to solve it very fast but once I find the time I will prepare a dummy dataset to reproduce that error so I can contribute also to improve the library.
However my best guess is: if the parent schema id is a substring of a reference schema id and there are validation errors then this error occurs.
Thanks for your great work so far.
Best Hasan
from json-skema.
Thank you @hguercan , I appreciate if you spend time on providing a proper reproducer. I couldn't reproduce this so far, but if this problem happens, it can reveal a deep design issue in the validation, so I'm looking forward fixing this.
from json-skema.
Related Issues (20)
- Add Bowtie runner HOT 1
- Fix string escaping in JsonPrintingVisitor
- Support classpath:// protocol by default
- SubSchema internal references are not resolved HOT 10
- Don't use java.net.URLDecoder.decode(String, Charset) to lower minimum Android API level from 33 HOT 1
- Format "date-time" requiring
- Override "message" as well as "toString" in JsonTypeException HOT 2
- Extending schemas?
- Throw SchemaException when loading fails HOT 1
- Validation returns "An operation is not implemented: something went wrong" for complex schema HOT 3
- supports tuple validation mode for items in array object HOT 2
- Performance and functional comparison HOT 13
- Missing readOnly/writeOnly context? HOT 2
- Set up Dependabot to keep dependencies up to date. HOT 5
- Improper error message for "unevaluatedProperties": false schema always fails HOT 1
- How to resolve schemas with URI HOT 2
- Java 17 support HOT 1
- Error in README due to new version HOT 2
- In UnevaluatedPropertiesValidationFailure, Keyword.UNEVALUATED_ITEMS should be Keyword.UNEVALUATED_PROPERTIES HOT 2
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 json-skema.