json schema validation for worker registration