JsonSchema16
Models
DefinitionsinterfaceA record of named JSON Schema definitions, keyed by definition name.DialecttypeThe set of JSON Schema dialects supported by this module.DocumentinterfaceA structured container for a single JSON Schema and its associated definitions.JsonSchemainterfaceA plain object representing a single JSON Schema node.MultiDocumentinterfaceLike Document, but carries multiple root schemas that share a single definitions pool.TypetypeThe JSON Schema primitive type names.Getters
Constants
Decoding
fromSchemaDraft07functionParses a raw Draft-07 JSON Schema into a Document<"draft-2020-12">.fromSchemaDraft2020_12functionParses a raw Draft-2020-12 JSON Schema into a Document<"draft-2020-12">.fromSchemaOpenApi3_0functionParses a raw OpenAPI 3.0 JSON Schema into a Document<"draft-2020-12">.fromSchemaOpenApi3_1functionParses a raw OpenAPI 3.1 JSON Schema into a Document<"draft-2020-12">.