json_schema library

Classes

CustomKeyword
A class to contain the set of functions for setting and validating keywords in a custom vocabulary.
CustomVocabulary
Use to register a custom vocabulary with the JsonSchema compiler.
JsonSchema
Constructed with a json schema, either as string or Map. Validation of the schema itself is done on construction. Any errors in the schema result in a FormatException being thrown.
RefProvider<T>
SchemaType
SchemaVersion
ValidationContext
ValidationContext is the public interface for an object keeping track of the current validation state. A concrete instance is passed into the validation function an updated is return from the validation function.
ValidationError
Validator
Initialized with schema, validates instances against it

Properties

defaultUrlRefProvider RefProvider
final