JSON Schema Validation Icon

JSON Schema Validation

json schema definition and validation

0 Downloads (This Week)
Last Update:
  Browse Code SVN Repository

Description

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'.

JSON Schema Validation Web Site

Categories

KEEP ME UPDATED

Additional Project Details

Registered

2014-01-14

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies
X

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks
Screenshots can attract more users to your project.
Features can attract more users to your project.