[−][src]Crate serde_json_schema
This crates provides simply the Schema
struct. It resembles the latest (draft-07) json-schema core spec.
If this spec is no longer up-to-date by the time you read this, please open a new issue.
If this type seems a bit confusing, then it's because json-schema is a bit too flexible.
Usage
use serde_json_schema::Schema; let schema_file = fs::read_to_string("./examples/address.schema.json")?; let address_schema = Schema::try_from(schema_file)?;
Modules
error | Errors 🤷 |
id | Everything related to parsing schemaId |
property | Represents the Instance Data Model |
Structs
Schema | Represents a full JSON Schema Document |
Url | A parsed URL record. |