1#![doc = include_str!("../README.md")]
2#![warn(missing_docs)]
3
4mod case_fold;
5mod load_result;
6mod loader;
7mod markdown;
8mod matcher;
9mod schema;
10mod validator;
11
12pub use load_result::{
13 ByteOffset, ConstraintIndex, ConstraintPath, InvalidSchema, JsonSchemaExternalReference,
14 JsonSchemaResourceContents, JsonSchemaResourceInput, LinkedJsonSchemaInput, LoadSchemaResult,
15 LoadedSchema, RelatedLocation, RuleIndex, RulePath, SchemaError, SchemaErrorKind,
16 SchemaLocations, SchemaNode, SchemaSource, SchemaSources, ScopePath, SourceId, SourceLabel,
17 SourceRange, TextRange,
18};
19pub use loader::{
20 json_schema_external_references, linked_frontmatter_schema_path, load_schema,
21 load_schema_with_label, load_schema_with_resources,
22};
23pub use markdown::{
24 parse_markdown, Document, DocumentFrontmatter, FrontmatterAnchor, FrontmatterAnchors,
25 FrontmatterLocation, Heading, HeadingLocation, MarkdownOptions, Section, SuppressedDiagnostic,
26 Suppressions,
27};
28pub use schema::{
29 AtLeastTwo, CanonicalFloat, CanonicalInteger, Cardinality, Constraint, ExactText,
30 FrontmatterKey, FrontmatterPolicy, FrontmatterRef, FrontmatterScalar, FrontmatterSchema,
31 GlobPattern, HeaderLevel, Matcher, NonEmpty, Options, OutlineProvenance, Proposition,
32 RefAnchor, RegexPattern, RuleId, RuleOutcome, RuleRef, Schema, SchemaVersion, SectionRule,
33 UpperBound,
34};
35pub use validator::{
36 validate, Diagnostic, DiagnosticId, DiagnosticLocation, DiagnosticReference, DiagnosticTarget,
37 FrontmatterBlock, FrontmatterLineRange, HeaderPath, InvolvedHeader, PrepareValidationError,
38 PreparedValidator,
39};