Skip to content

voiage.domain_templates.validate_domain_template_registry

validate_domain_template_registry([positional or keyword] registry_path: Path | None = None, [positional or keyword] schema_path: Path | None = None) -> bool

Validate all registry entries against the domain-template JSON schema.

registry_path : Path, optional Path to registry.json. schema_path : Path, optional Path to domain-template.schema.json.

bool True if all templates pass JSON schema validation.

Parameters:

  • registry_path Path | None (default: None)
  • schema_path Path | None (default: None)

Returns: bool