feature/validate api