Expand description
§referencing
An implementation-agnostic JSON reference resolution library for Rust.
Modules§
Structs§
- Default
Retriever - A retriever that always fails, used as a default when external resource fetching is not needed.
- Iri
- An IRI.
- IriRef
- An IRI reference, i.e., either a IRI or a relative reference.
- List
- An immutable singly-linked list.
- Registry
- A registry of JSON Schema resources, each identified by their canonical URIs.
- Registry
Options - Configuration options for creating a
Registry
. - Resolved
- A reference resolved to its contents by a
Resolver
. - Resolver
- A reference resolver.
- Resource
- An owned document with a concrete interpretation under a JSON Schema specification.
- Resource
Ref - A borrowed document with a concrete interpretation under a JSON Schema specification.
- Uri
- A URI.
- UriRef
- A URI reference, i.e., either a URI or a relative reference.
- Vocabulary
Set - A set of enabled JSON Schema vocabularies.
Enums§
- Draft
- JSON Schema specification versions.
- Error
- Errors that can occur during reference resolution and resource handling.
- UriError
- Errors that can occur during URI handling.
- Vocabulary
- A JSON Schema vocabulary identifier, representing standard vocabularies (Core, Applicator, etc.) or custom ones via URI.
Statics§
- SPECIFICATIONS
- Pre-loaded registry containing all JSON Schema meta-schemas and their vocabularies
Traits§
- Retrieve
- Trait for retrieving resources from external sources.
Functions§
- parse_
index - pointer
- Look up a value by a JSON Pointer.
- unescape_
segment - Unescape JSON Pointer path segments by converting
~1
to/
and~0
to~
.