A SchemaValidator has one method, which validates that a Schema is
compatible with the other schemas provided.
What makes one Schema compatible with another is not part of the interface contract.
| Modifier and Type | Method and Description |
|---|---|
| public void |
| validate | back to summary |
|---|---|
| public void validate(Schema toValidate, Iterable<Schema> existing) throws SchemaValidationException Validate one schema against others. The order of the schemas to validate against is chronological from most recent to oldest, if there is a natural chronological order. This allows some validators to identify which schemas are the most "recent" in order to validate only against the most recent schema(s).
| |