Skip to content

Commit 2afd11f

Browse files
Merge pull request #3 from erosb/master
README: fixing package names in quickstart, adding maven dependency
2 parents 9be2b0a + 67d2f36 commit 2afd11f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,24 @@ JSON Schema Validator
44
This project is an implementation of the [JSON Schema Core Draft v4](http://json-schema.org/latest/json-schema-core.html) specification.
55
It uses the [org.json API](http://www.json.org/java/) for representing JSON data.
66

7+
Maven installation
8+
------------------
9+
Add the following to your `pom.xml`:
10+
11+
```xml
12+
<dependency>
13+
<groupId>org.everit.json</groupId>
14+
<artifactId>org.everit.json.schema</artifactId>
15+
<version>1.0.0</version>
16+
</dependency>
17+
```
18+
719
Quickstart
820
----------
921

1022
```java
11-
import org.everit.jsonvalidator.Schema;
12-
import org.everit.jsonvalidator.loader.SchemaLoader;
23+
import org.everit.json.schema.Schema;
24+
import org.everit.json.schema.loader.SchemaLoader;
1325
import org.json.JSONObject;
1426
import org.json.JSONTokener;
1527
// ...

0 commit comments

Comments
 (0)