Re-exports§
pub use engine::Engine;pub use error::Error;pub use reference::Reference;pub use schemas::AnyOfSchema;pub use schemas::ArraySchema;pub use schemas::BoolOrTypedSchema;pub use schemas::ConstSchema;pub use schemas::EnumSchema;pub use schemas::IntegerSchema;pub use schemas::NotSchema;pub use schemas::NumberSchema;pub use schemas::ObjectSchema;pub use schemas::OneOfSchema;pub use schemas::Schema;pub use schemas::StringSchema;pub use schemas::TypedSchema;pub use schemas::YamlSchema;pub use validation::Context;pub use validation::Validator;
Modules§
- engine
- error
- loader
- The loader module loads the YAML schema from a file into the in-memory model
- reference
- schemas
- utils
- validation
Macros§
- expected_
mapping - expected_
scalar - expected_
type_ is_ string - fail_
fast - generic_
error - schema_
loading_ error - unsupported_
type
Structs§
- Root
Schema - A RootSchema represents the root document in a schema file, and can include additional fields not present in the ‘base’ YamlSchema
- Root
Schema Builder
Enums§
- Const
Value - A ConstValue is similar to a saphyr::Scalar, but for validating “number” types
we treat integers and floating point values as ‘fungible’ and represent them
using the
Numberenum. - Number
- A Number is either an integer or a float