Skip to main content

Module provider_validation

Module provider_validation 

Source
Expand description

Soma policy layered over provider-core’s transport-neutral validation.

soma-provider-core (shared layer) validates manifests generically and must stay product-agnostic. The extra policy here — reserved Soma CLI verbs, SOMA_/LAB_-prefixed env rejection — is Soma-specific, so it lives in soma-domain instead of being folded into the shared crate.

Structs§

ProviderValidationError

Functions§

validate_manifest_schema
Validates a manifest JSON value against the provider-core schema.
validate_provider_manifest
Validates a manifest through provider-core, then applies Soma-specific policy: reserved CLI verbs and rejection of SOMA_/LAB_-prefixed env.
validate_provider_manifest_value
Validates a raw manifest JSON value against schema and Soma policy, returning the deserialized [ProviderManifest] on success.