Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A JSON Schema validation implementation in pure Java, which aims for correctness and performance, in that order

License

NotificationsYou must be signed in to change notification settings

java-json-tools/json-schema-validator

Repository files navigation

License LGPLv3License ASL 2.0Build StatusMaven Central

Read me first

Thecurrent version of this project is licensed under bothLGPLv3 (or later) andASL 2.0. The old version(2.0.x) was licensed underLGPL 3.0 (or later) only.

Version 2.2 is out. Seeherefor the list of changes compared to 2.0. And of course, it still hasall thefeatures of older versions.

What this is

This is an implementation with complete validation support for the latest JSON Schema draft (v4,including hyperschema syntax support) and the previous draft (v3 -- no hyperschema support though).Its list of features would be too long to enumerate here; please refer to the links above!

Should you wonder about it, this library is reported towork onAndroid.Starting with version 2.2.x, all APK conflicts have been resolved, so you can use this in thiscontext as well.

Google Group

This project has a dedicatedGooglegroup. For any questionsyou have about this software package, feel free to post! The author (me) will try and respond in atimely manner.

Testing online

You cantest this library online; this web site is inaproject of its own, which you can fork andrun by yourself.

Versions

Available downloads

Gradle/maven

This package is available on Maven central; the artifact is as follows:

Gradle:

dependencies {    compile(group:"com.github.java-json-tools",name:"json-schema-validator",version:"2.2.14");}

Maven:

<dependency>    <groupId>com.github.java-json-tools</groupId>    <artifactId>json-schema-validator</artifactId>    <version>2.2.14</version></dependency>

"Full" jar; command line

OUTDATED: Let me know if you need this in the issues section.

This jar contains the library plus all its dependencies. Download thelib jar (a little morethan 6 MiB) fromBintray.

Versioning scheme policy

The versioning scheme is defined by themiddle digit of the version number:

  • if this number iseven, then this is thestable version; no new features will beadded to such versions, and the user API will not change (save for some additions if requested).
  • if this number isodd, then this is thedevelopment version; new features will beadded to those versions only,and the user API may change.

Relevant documents

This implementation is based on the following drafts:

More...

For a detailed discussion of the implementation, seehere.

Please see thewiki for moredetails.

About

A JSON Schema validation implementation in pure Java, which aims for correctness and performance, in that order

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp