Expand description
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