Comments (7)
Hello @rishabh413 , thank you for your interest in the project.
Currently the library is fairly close to be compliant with the specification, it is tested against the official test suite and 1181 tests pass out of 1199. You can run the testsuite with mvn clean test -Dgroups=acceptance
. These are mostly $dynamicRef
and $dynamicAnchor
related tests.
The current priorities are:
- implementing "format" support (part of it may happen in the next few days)
- properly implementing
$dynamicRef
and$dynamicAnchor
Once these are done, I plan to migrate some more features from the old project:
- "default" keyword support (issue)
- early failure mode (issue)
- JSON representation for
ValidationError
(issue)
Please let me know if you are interested in working on any of these and I can elaborate further.
from json-skema.
@alturkovic version 0.14.0
is now available on maven central with the custom format validation support.
from json-skema.
Hi @erosb! Can you provide an update on the open topics and their current priority? We are also thinking about using your libary and are wondering A) in which stat it is and B) how we can help you.
Cheers
Karsten
from json-skema.
Hello @ledex, compared to the previous list: "format"
support was added, which is probably relevant for most people.
My top concern right now, from the compliance perspective, is $dynamicRef / $dynamicAnchor support, but TBH that's a complicated topic (total nightmare, in other words).
Regarding other features, I'm open to any suggestions. What would be most important for you? We can align on the priorities.
from json-skema.
Regarding format
, it would be very useful to register our custom format
validators. For an example, the current implementation does not validate hostnames. Also, the current implementation depends on a vulnerable dependency (commons-validator
). If registering custom implementations was possible, we could exclude that dependency and provide our own implementations for email
and inet-address
formats as well as hostname
validator.
Would it be possible to register our own implementation to support it?
from json-skema.
Hello @alturkovic can you please take a look if #71 works for you?
I also pushed a java code sample to erosb/json-sKema-examples@master...custom-format#diff-4fe3b194596bdf1d22243548b0e840c929c42751cea73fb3785810e8d66c3f87R12 . Please review and let me know if we can merge & release it, thanks.
from json-skema.
LGTM 👍
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
- kotlin.NotImplementedError HOT 4
- 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.