Add module to validate task spec against schema