- FormatMode (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- GeneratorSettings (from jsonschema.generate)
public
import jsonschema.generate : applyUdaFacets, GeneratorSettings, jsonSchemaOf;
Undocumented in source.
- JsonKind (from jsonschema.adapter)
public
import jsonschema.adapter : isJsonAdapter, JsonKind, JsonNumber, JsonNodeAdapter, StdJsonAdapter;
Undocumented in source.
- JsonNode (from jsonschema.node)
public
import jsonschema.node : fromStdJson, JsonNode, jsonEquals, JsonParseException, parseJson, toStdJson;
Undocumented in source.
- JsonNodeAdapter (from jsonschema.adapter)
public
import jsonschema.adapter : isJsonAdapter, JsonKind, JsonNumber, JsonNodeAdapter, StdJsonAdapter;
Undocumented in source.
- JsonNumber (from jsonschema.adapter)
public
import jsonschema.adapter : isJsonAdapter, JsonKind, JsonNumber, JsonNodeAdapter, StdJsonAdapter;
Undocumented in source.
- JsonParseException (from jsonschema.node)
public
import jsonschema.node : fromStdJson, JsonNode, jsonEquals, JsonParseException, parseJson, toStdJson;
Undocumented in source.
- OutputFormat (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- SchemaCompileException (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- SchemaException (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- SchemaResolver (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- SchemaStore (from jsonschema.store)
public
import jsonschema.store : SchemaStore;
Undocumented in source.
- StdJsonAdapter (from jsonschema.adapter)
public
import jsonschema.adapter : isJsonAdapter, JsonKind, JsonNumber, JsonNodeAdapter, StdJsonAdapter;
Undocumented in source.
- UnsupportedDialectException (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- ValidationError (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- ValidationException (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- ValidationResult (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- Validator (from jsonschema.validator)
public
import jsonschema.validator : Validator;
Undocumented in source.
- ValidatorSettings (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- applyUdaFacets (from jsonschema.generate)
public
import jsonschema.generate : applyUdaFacets, GeneratorSettings, jsonSchemaOf;
Undocumented in source.
- compileSchema (from jsonschema.compiler)
public
import jsonschema.compiler : compileSchema;
Undocumented in source.
- dialect202012 (from jsonschema.ir)
public
import jsonschema.ir : dialect202012, FormatMode, OutputFormat, SchemaCompileException, SchemaException, SchemaResolver, UnsupportedDialectException, ValidationError, ValidationException, ValidationResult, ValidatorSettings;
Undocumented in source.
- fromStdJson (from jsonschema.node)
public
import jsonschema.node : fromStdJson, JsonNode, jsonEquals, JsonParseException, parseJson, toStdJson;
Undocumented in source.
- isJsonAdapter (from jsonschema.adapter)
public
import jsonschema.adapter : isJsonAdapter, JsonKind, JsonNumber, JsonNodeAdapter, StdJsonAdapter;
Undocumented in source.
- jsonEquals (from jsonschema.node)
public
import jsonschema.node : fromStdJson, JsonNode, jsonEquals, JsonParseException, parseJson, toStdJson;
Undocumented in source.
- jsonSchemaOf (from jsonschema.generate)
public
import jsonschema.generate : applyUdaFacets, GeneratorSettings, jsonSchemaOf;
Undocumented in source.
- parseJson (from jsonschema.node)
public
import jsonschema.node : fromStdJson, JsonNode, jsonEquals, JsonParseException, parseJson, toStdJson;
Undocumented in source.
- toStdJson (from jsonschema.node)
public
import jsonschema.node : fromStdJson, JsonNode, jsonEquals, JsonParseException, parseJson, toStdJson;
Undocumented in source.
jsonschema — a complete JSON Schema 2020-12 implementation for D.
Validator: compile a schema once (compileSchema) into a reusable Validator, then validate any number of instances of std.json.JSONValue, vibe.data.json.Json (via the jsonschema:vibe subpackage), or any other JSON type adapted through the trait in jsonschema.adapter.
Generator: derive a 2020-12 schema from a D type at compile time (jsonSchemaOf!T) with constraint UDAs from jsonschema.attributes.