json-schema-core
所属分类:Python编程
开发工具:Java
文件大小:0KB
下载次数:0
上传日期:2022-07-05 14:57:17
上 传 者:
sh-1993
说明: json模式验证器和其他处理器的核心支持架构
(Core support architecture for json-schema-validator and other processors)
文件列表:
.travis.yml (302, 2020-09-21)
ASL-2.0.txt (11358, 2020-09-21)
BUILD.md (1234, 2020-09-21)
CONTRIBUTORS.md (232, 2020-09-21)
LGPL-3.0.txt (7652, 2020-09-21)
LICENSE (427, 2020-09-21)
RELEASE-NOTES.md (1170, 2020-09-21)
build.gradle (6206, 2020-09-21)
dorelease.sh (787, 2020-09-21)
gradle/ (0, 2020-09-21)
gradle/wrapper/ (0, 2020-09-21)
gradle/wrapper/gradle-wrapper.jar (55616, 2020-09-21)
gradle/wrapper/gradle-wrapper.properties (202, 2020-09-21)
gradlew (5960, 2020-09-21)
gradlew.bat (2942, 2020-09-21)
project.gradle (3163, 2020-09-21)
settings.gradle (682, 2020-09-21)
src/ (0, 2020-09-21)
src/main/ (0, 2020-09-21)
src/main/java/ (0, 2020-09-21)
src/main/java/com/ (0, 2020-09-21)
src/main/java/com/github/ (0, 2020-09-21)
src/main/java/com/github/fge/ (0, 2020-09-21)
src/main/java/com/github/fge/jsonschema/ (0, 2020-09-21)
src/main/java/com/github/fge/jsonschema/SchemaVersion.java (2531, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/ (0, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/exceptions/ (0, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/exceptions/ExceptionProvider.java (1674, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/exceptions/InvalidSchemaException.java (1096, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/exceptions/JsonReferenceException.java (1358, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/exceptions/ProcessingException.java (2625, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/exceptions/package-info.java (1413, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/keyword/ (0, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/keyword/syntax/ (0, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/keyword/syntax/SyntaxProcessor.java (4353, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/keyword/syntax/checkers/ (0, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/keyword/syntax/checkers/AbstractSyntaxChecker.java (5588, 2020-09-21)
src/main/java/com/github/fge/jsonschema/core/keyword/syntax/checkers/SyntaxChecker.java (2361, 2020-09-21)
... ...
[![License LGPLv3][LGPLv3 badge]][LGPLv3]
[![License ASL 2.0][ASL 2.0 badge]][ASL 2.0]
[![Build Status][Travis badge]][Travis]
![Maven Central](https://img.shields.io/maven-central/v/com.github.java-json-tools/json-schema-core.svg)
## Read me first
The license of this project is dual licensed [LGPLv3] or later/[ASL 2.0]. See file `LICENSE` for more
details. The full text of both licensed is included in the package.
## What this is
This package contains the core mechanics of [json-schema-validator
library](https://github.com/java-json-tools/json-schema-validator). It also provides a comprehensive
infrastructure to build processing chains for anything you can think of, really. To this effect,
this package can be used, for instance, to perform the following, provided you use the appropriate
software packages:
* generate a JSON Schema from a POJO, and then validate instances against that schema;
* transform different, related schema formats into JSON Schema, or the reverse (for instance Avro);
* conditional patching/deserialization;
* etc etc.
You can see sample usages of this library in a [separate
project](https://github.com/fge/json-schema-processor-examples) which is [demonstrated
online](http://json-schema-validator.herokuapp.com). More details on this library can
be found [here](https://github.com/java-json-tools/json-schema-core/wiki/Architecture).
This library supports [Draft 03](https://json-schema.org/specification-links.html#draft-3) and
[Draft 04](https://json-schema.org/specification-links.html#draft-4). Contribution of support
for [Draft 05](https://json-schema.org/specification-links.html#draft-5) (issue #61),
[Draft 06](https://json-schema.org/specification-links.html#draft-6) (issue #62), or
[Draft 07](https://json-schema.org/specification-links.html#draft-7) (issue #63) would be
gratefully accepted.
## Versions
The current stable verson is **1.2.14**
([ChangeLog](https://github.com/java-json-tools/json-schema-core/wiki/ChangeLog_12x),
[Javadoc](http://java-json-tools.github.io/json-schema-core/1.2.x/index.html)).
The old verson is **1.0.4**
([ChangeLog](https://github.com/java-json-tools/json-schema-core/wiki/ChangeLog_10x),
[Javadoc](http://java-json-tools.github.io/json-schema-core/1.0.x/index.html)).
See [here](https://github.com/java-json-tools/json-schema-core/wiki/Whatsnew_12) for
the major changes between 1.0.x and 1.2.x.
## Using this project with gradle/maven
For gradle, use:
```
dependencies {
compile(group: "com.github.java-json-tools", name: "json-schema-core", version: "1.2.14");
}
```
For maven:
```xml
com.github.java-json-tools
json-schema-core
1.2.14
```
**OBSOLETE** You can also get the jars from [Bintray](https://bintray.com/bintray/jcenter/com.github.java-json-tools%3Ajson-schema-core).
## Versioning scheme policy
The versioning scheme is defined by the **middle digit** of the version number:
* if this number is **even**, then this is the **stable** version; no new features will be
added to such versions, and the user API will not change (save for some additions if requested).
* if this number is **odd**, then this is the **development** version; new features will be
added to those versions only, **and the user API may change**.
[LGPLv3 badge]: https://img.shields.io/:license-LGPLv3-blue.svg
[LGPLv3]: http://www.gnu.org/licenses/lgpl-3.0.html
[ASL 2.0 badge]: https://img.shields.io/:license-Apache%202.0-blue.svg
[ASL 2.0]: http://www.apache.org/licenses/LICENSE-2.0.html
[Travis Badge]: https://travis-ci.com/java-json-tools/json-schema-core.svg?branch=master
[Travis]: https://travis-ci.com/java-json-tools/json-schema-core
近期下载者:
相关文件:
收藏者: