introduced getValidationFields method from the D3 builder