Skip to content

Commit

Permalink
Bump the version to 0.11.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
leadpony committed Jan 26, 2019
1 parent f0f2337 commit 4a52ac2
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## 0.11.0 - 2019-01-26
### Added
- comment(), title() and description() methods to JsonSchema interface
to obtain the keyword value respectively.
Expand Down
26 changes: 16 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Justify is a JSON validator based on [JSON Schema Specification] and [Java API for JSON Processing (JSR 374)].

## Main Features
## Key Features

* Compliant with [JSON Schema Specification] Draft-07.
* Reinforces [Java API for JSON Processing (JSR 374)] transparently with the validation functionality.
Expand All @@ -30,7 +30,7 @@ the following two dependencies are all you need to add to your pom.xml.
<dependency>
<groupId>org.leadpony.justify</groupId>
<artifactId>justify</artifactId>
<version>0.10.0</version>
<version>0.11.0</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -93,22 +93,28 @@ try (JsonReader reader = service.createReader(path, schema, handler)) {

## Command-Line Interface

[Justify CLI], a command-line utility for validating JSON documents without any coding is also available.
The latest stable distribution can be downloaded from [Releases] in `tar.gz` or `zip` format, whichever you prefer.
Justify CLI is a command-line utility for validating JSON documents based on the JSON Schema specification.

### Downloads

Check the [Releases] page to get the latest distribution in `tar.gz` or `zip` format,
whichever you prefer. The software requires Java 8 or higher to run.

### Usage

After unpacking the downloaded file, just typing the following command validates a JSON instance against a JSON schema.

```bash
$ ./justify.sh <path/to/JSON/schema> <path/to/JSON/instance>
$ ./justify <path/to/JSON-schema> <path/to/JSON-instance>
```

Or for Windows:
For validating a JSON schema only:

```bat
> justify.bat <path/to/JSON/schema> <path/to/JSON/instance>
```bash
$ ./justify <path/to/JSON-schema>
```

The utility is tested under Java 8 and higher.
Invoking the utility with `-h` option shows the syntax and available options for the utility.

## Additional Resources

Expand Down Expand Up @@ -201,4 +207,4 @@ Copyright &copy; 2018-2019 the Justify authors. This software is licensed under
[Reference Implementation]: https://github.com/eclipse-ee4j/jsonp
[Apache Johnzon]: https://johnzon.apache.org/
[The list of implementations]: https://json-schema.org/implementations.html
[Releases]: https://github.com/leadpony/justify-cli/releases/latest
[Releases]: https://github.com/leadpony/justify/releases/latest
3 changes: 0 additions & 3 deletions justify-cli/THIRD-PARTY.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,3 @@
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
<http://www.eclipse.org/legal/epl-2.0>.

- Justify
> Copyright (c) 2018-2019 the Justify authors. All rights reserved. Licensed under the Apache License, Versions 2.0.
2 changes: 1 addition & 1 deletion justify-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>org.leadpony.justify</groupId>
<artifactId>justify-cli</artifactId>
<version>0.11.0-SNAPSHOT</version>
<version>0.11.0</version>
<packaging>jar</packaging>
<name>org.leadpony.justify.cli</name>
<description>
Expand Down
2 changes: 1 addition & 1 deletion justify/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>org.leadpony.justify</groupId>
<artifactId>justify</artifactId>
<version>0.11.0-SNAPSHOT</version>
<version>0.11.0</version>
<packaging>jar</packaging>
<name>org.leadpony.justify</name>
<description>
Expand Down

0 comments on commit 4a52ac2

Please sign in to comment.