Validate spec