1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
mod draft;
mod error;
mod prop_type;
mod schema;
mod schematic;

pub use draft::Draft;
pub use error::Error;
pub use prop_type::{
    AdditionalProperties,
    ArrayProp,
    EnumProp,
    Items,
    NumericProp,
    ObjectProp,
    Properties,
    Property,
    PropType,
    StringProp,
    TupleProp,
};
pub use schema::Schema;
pub use schematic::Schematic;

/// Alias for a `Result` with the error type `rschema::Error`.
/// 
pub type Result<T> = std::result::Result<T, Error>;