validation API doc