fresh_cbm.schema
Manifest validation for fresh-cbm state caches.
- fresh_cbm.schema.validate_manifest(raw: object) dict[str, object][source]
Validate a manifest mapping against the published schema.
- Parameters:
raw (object) – Decoded JSON value.
- Returns:
dict of str to object – The validated manifest.
- Raises:
ValueError – When the value is not an object or fails schema validation.