camel_component_validator/lib.rs
1//! Schema validation component for XML, JSON, and YAML payloads.
2//!
3//! Endpoint URI format: `validator:<schema>`
4//!
5//! JSON Schema and YAML validation run natively in Rust.
6//! XSD validation is executed through the xml-bridge backend.
7
8pub mod compiled;
9pub mod component;
10pub mod config;
11pub mod error;
12pub(crate) mod metadata;
13pub mod resolver;
14pub mod xsd_bridge;
15
16pub use component::ValidatorComponent;
17pub use config::{SchemaType, ValidatorConfig};
18pub use resolver::{FilesystemResolver, ResourceResolver};
19
20/// Version of the Java XML bridge binary this crate is compatible with.
21pub const BRIDGE_VERSION: &str = "0.5.0";
22
23pub mod proto {
24 tonic::include_proto!("xml_bridge");
25}