public final class Example3 extends ExampleBase
This shows a basic usage example. This is the same source code as for
Example1
, except this time the schema (here) conforms to draft v4 instead of
draft v3 (the $schema
value differs).
One thing to note is a difference in the validation messages: while
required properties were in charge of the properties
keyword for
draft v3, it is now in charge of the required
keyword.
Constructor and Description |
---|
Example3() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String... args) |
loadResource, printReport
public static void main(String... args) throws IOException
IOException
Copyright © 2013. All Rights Reserved.