Crate sensorthings_validator

Crate sensorthings_validator 

Source
Expand description

Library root for the SensorThings Validator. Exports all modules so they can be used by the binary and integration tests.

Modules§

app
Application orchestration façade. Delegates to submodules for read/write/query/result flows.
cli
CLI argument definitions for the SensorThings Validator. This module centralizes all command-line options.
config
endpoints
error
Central error type for the SensorThings Validator. Technical errors (IO, JSON, Config, Network, URL) and validation findings (Http, MissingField, Unknown) are unified here so that all modules can return Result<T, Error>.
output_console
Console output utilities for validation results. Prints:
output_json
JSON output utilities for validation results. Serializes ValidationResult to a JSON file using explicit error handling.
query
read_validator
result
Validation result structures for SensorThings Validator. Now includes separate sections for:
url_utils
Utility functions for safe and consistent URL handling. Ensures base URLs are normalized and validated before use.
write_validator
writer_payloads