json_schema2 library

Classes

DefaultValidators
FormatExceptions
Instance
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.
JsonSchemaDefinitions
JsonSchemaUtils
JsonSchemaValidationRegexes
RetrievalRequest
SchemaType
SchemaVersion
TypeValidators
ValidationError
Validator
Initialized with schema, validates instances against it

Properties

defaultValidators DefaultValidators
Default validators for all JsonSchemas.
getter/setter pair

Typedefs

AsyncRetrievalOperation = Future<JsonSchema?> Function()
RefProvider = JsonSchema? Function(String ref)
RefProviderAsync = Future<JsonSchema?> Function(String ref)
SchemaAdder = dynamic Function(JsonSchema s)
SchemaAssigner = dynamic Function(JsonSchema s)
SchemaPropertySetter = dynamic Function(JsonSchema s, dynamic value)
SyncRetrievalOperation = JsonSchema? Function()