class GovukContentSchemaTestHelpers::Validator

def errors

def errors
  unless File.exist?(schema_path)
    raise ImproperlyConfiguredError, "Schema file not found at: #{schema_path}"
  end
  @errors ||= JSON::Validator.fully_validate(schema_path, @document)
end