-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
17941 add agm_location_change_schema #145
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly a question about using the Address Schema?
'addressCity': 'mailing_address city', | ||
'addressCountry': 'CA', | ||
'postalCode': 'H0H0H0', | ||
'addressRegion': 'ON', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this allowed to be any country & province/state?
I ask as you example is not in BC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The addressRegion
can't be BC. Vysakh will be adding validation in the legal api for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the changes 👍
* 17941 add agm_location_change_schema * update comments * remove validation * update addressRegion * update description * update test * update sample schema * use address schema * update the required field and test case * reuse address struct * update schema data
Issue #: /bcgov/entity#17941
Description of changes:
Add AGM_Location_change Schema
existing deliveryInstructions field in address schema will be used for additionalLocationDetails
required addressRegion validation will be done in the legal api validators to avoid needing to overriding existing address schema validation
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the business-schemas license (Apache 2.0).