Skip to main content

load_schema

Function load_schema 

Source
pub fn load_schema(
    domain: &str,
    schemas_dir: &Path,
) -> Result<DomainSchema, String>
Expand description

Load and parse a domain schema JSON file.

On failure, the error message includes the path attempted and a hint listing available domains found in the same directory.