Versions in this module Expand all Collapse all v1 v1.1.0 Feb 5, 2026 v1.0.2 Jan 15, 2026 v1.0.1 Jan 13, 2026 Changes in this version + func ShouldValidate(filePath string) bool + type ValidationError struct + Expected string + Field string + Fix string + Got string + Level ValidationLevel + Line int + Message string + type ValidationLevel string + const LevelSemantic + const LevelStructure + const LevelSyntax + type ValidationResult struct + Errors []ValidationError + FilePath string + Kind string + Valid bool + Warnings []ValidationWarning + func ValidateYAMLContent(content, filePath string) ValidationResult + func ValidateYAMLFile(filePath string) ValidationResult + func (r *ValidationResult) ErrorCount() int + func (r *ValidationResult) ErrorsByLevel() map[ValidationLevel][]ValidationError + func (r *ValidationResult) FormatForWeaver() string + func (r *ValidationResult) HasErrors() bool + func (r *ValidationResult) HasWarnings() bool + type ValidationWarning struct + Field string + Fix string + Message string v1.0.0 Jan 9, 2026