Skip to content

Postal codes should not accept numeric type to preserve leading zeros #1232

@coderabbitai

Description

@coderabbitai

The postalCode field in zmsentities/schema/dereferenced/scope.json has been changed to accept numeric values alongside strings and null. This causes postal codes with leading zeros (e.g., "01067") to lose their formatting when processed as numbers (becoming 1067).

Postal codes should maintain their original formatting to ensure correct display and processing.

Related PR: #1230
Comment: #1230 (comment)

Reported by: @ThomasAFink

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions