This module contains low-level structures JSON Schema build from. Normally you wouldn't need to use any of those definitions.
If you really need this low-level API you might need JSON Schema spec as guidance.
Feel free to open issue to describe your use-case, it will affect development roadmap of this library.
This object holds all draft-6 schema properties
List of schema-properties used in properties, definitions and patternProperties
Items definition.
Dependency definition.
Type property in json schema can be a single type or array of them, this type definition wraps up this complexity, also it introduces concept of nullable type, which is array of "null" type and a single type speaking JSON schema language, but also a useful concept to treat it separately from list of types.
Create blank JSON Schema {}.
Exclusive boundaries. Compatibility layer between draft-04 and draft-06 (keywords exclusiveMinimum and exclusiveMaximum has been changed from a boolean to a number to be consistent with the principle of keyword independence). Since we currently keep both draft-4 and draft-6 as same type definition, we have a union of Bool and Float here. It might be not a bad idea to separate type definitions for different drafts of JSON Schema, current API decision will be reconsidered when future versions of JSON Schema will arrive.
Attempt to parse string into a single type, it recognises the following list of types:
Return custom keyword value by its name, useful when dealing with additional meta information added along with standard JSON Schema keywords.
Schema can be either boolean or actual object containing validation and meta properties