pub fn validate_specification(spec: &Specification) -> Result<(), Vec<String>>
Validate a specification structure