Skip to main content

Crate schema_validator

Crate schema_validator 

Source

Re-exports§

pub use overlay::MAX_OVERLAY_DEPTH;
pub use overlay::SchemaOverlayError;
pub use resource_schema::PropertyValueType;
pub use resource_schema::ResourceSchemaMetadata;
pub use store::CompiledSchemaStore;
pub use store::OverlayOutcome;

Modules§

catalog
A centralized catalog of rule-engine–visible metadata derived from the final merged [CompiledSchemaStore] for only the resource types that were touched by at least one overlay.
overlay
Runtime compilation and merging of overlay CloudFormation resource provider schemas on top of the bundled compiled schemas.
resource_schema
store
validate

Structs§

AdditionalSchemaSource
A single additional CloudFormation resource provider schema to overlay on top of the bundled schemas.
SchemaSourceError
Error type for schema source resolution failures. Deliberately cheap to construct (just a message string) and convertible from the caller’s own error type via From<String>.
SchemaValidationResult
SchemaValidator
SchemaValidatorConfig
Configuration for constructing a SchemaValidator with optional overlay schemas. Bindings and the CLI use this to build the validator separately from the rule engine.

Enums§

SchemaMetadataError
Error reported when the shared schema-metadata catalog cannot be produced.
SchemaValidatorConfigError
Error reported when schema-validator construction from config fails.

Functions§

prewarm_embedded_data
Eagerly decompress all embedded data LazyLocks. Intended to be called once at process/module start in environments that benefit from front-loading cost
shared_base_schema_metadata
The process-wide base schema-metadata catalog: the bundled artifact parsed once into the shared typed model and handed out by reference.

Type Aliases§

SchemaMetadataCatalog
Resource type name to its typed schema metadata.