validatorSpec and formatterSpec