()
| 149 | } |
| 150 | |
| 151 | func (err validationError) Error() string { |
| 152 | description := getDescription(err) |
| 153 | return fmt.Sprintf("%s %s", err.parent.Field(), description) |
| 154 | } |
| 155 | |
| 156 | func getMostSpecificError(errs []gojsonschema.ResultError) validationError { |
| 157 | mostSpecificError := 0 |