Skip to content
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

Merged
merged 11 commits into from
Oct 11, 2023
Merged

17941 add agm_location_change_schema #145

merged 11 commits into from
Oct 11, 2023

Conversation

kzdev420
Copy link
Contributor

@kzdev420 kzdev420 commented Oct 6, 2023

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).

@kzdev420 kzdev420 requested a review from argush3 October 10, 2023 17:56
Copy link
Collaborator

@thorwolpert thorwolpert left a 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',
Copy link
Collaborator

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

Copy link
Collaborator

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.

@kzdev420 kzdev420 requested a review from argush3 October 11, 2023 18:21
@kzdev420 kzdev420 requested a review from argush3 October 11, 2023 18:30
Copy link
Collaborator

@kialj876 kialj876 left a 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 👍

@argush3 argush3 merged commit a9fadf7 into bcgov:main Oct 11, 2023
1 check passed
JazzarKarim pushed a commit to JazzarKarim/business-schemas that referenced this pull request Jan 31, 2024
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants