public final class Example3
extends java.lang.Object
$schema
This shows a basic usage example. This is the same source code as for
Example1, except this time the schema (here) conforms to draft v3 instead of
draft v4 (the $schema value differs).
One thing to note is a difference in the validation messages: while
required properties are described using the required keyword, with
draft v3, they were in charge of the properties keyword.
| Constructor and Description |
|---|
Example3() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String... args) |
public static void main(java.lang.String... args)
throws java.io.IOException,
ProcessingException
java.io.IOExceptionProcessingException