Validation for type registry