License : MIT

Current version: 1.0
Release date: 2014-06-29

Maven dependency:

<dependency>
<groupId>org.hawksoft</groupId>
<artifactId>json-schema</artifactId>
<version>1.0</version>
</dependency>

json-schema allows you to validate a JSON data document against a given JSON schema.

The JSON schema document follows the exact same structure as the data document it's validating. However, the schema attribute values are actually validation rules.

For example, the following JSON data attribute:
{
...
"fruit" : "banana",
...
}

could be validated using the following schema attribute (rules):

{
...
"fruit" : "type=enum;values=apple,orange,banana,pear",
...
}

Whereas { "fruit" : "banana" } would pass validation, { "fruit" : "strawberry" } would not, since strawberry is not one of the allowed enumeration values for 'fruit'.

Project Activity

See All Activity >

Follow JSON Schema Validation

JSON Schema Validation Web Site

Other Useful Business Software
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Free Download

Additional Project Details

Registered

2014-01-14