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

Build more LPA Schema #56

Merged
merged 7 commits into from
Nov 23, 2023
Merged

Build more LPA Schema #56

merged 7 commits into from
Nov 23, 2023

Conversation

gregtyler
Copy link
Contributor

  • Add basic donor and attorney details to the LPA schema
  • Add an example LPA
  • Update tests to use new LPAs
  • Update handlers to handle and validate new LPA structure

For VEGA-2134 #major

- Add basic donor and attorney details to the LPA schema
- Add an example LPA
- Update tests to use new LPAs
- Update handlers to handle and validate new LPA structure

For VEGA-2134 #major
Also update dependency files

#patch
AWS can only operate a single file, and this gives us an opportunity to co-locate the schemas rather than using `$defs`.

#patch
@gregtyler gregtyler force-pushed the VEGA-2134-build-lpa-schema branch from cb376c5 to b4ba3ac Compare November 17, 2023 17:31
@gregtyler gregtyler marked this pull request as ready for review November 20, 2023 09:21
@gregtyler gregtyler requested a review from a team as a code owner November 20, 2023 09:21
I somehow removed this in a previous commit

#patch
docs/example-lpa.json Outdated Show resolved Hide resolved

type Donor struct {
Person
OtherNames string `json:"otherNames" dynamodbav:""`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious why we have an other names field? I thought the decision was to just stick with firstnames & last name?

Copy link
Contributor Author

@gregtyler gregtyler Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is for "other names known by", like if you're called Elizabeth but everyone calls you Betty. Edit: yep, confirmed that with MRLPA

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth making the field more precisely named, to avoid that confusion next time?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattmachell @GemTay Good point! I've changed it to otherNamesKnownBy, is that more helpful?

GemTay
GemTay previously approved these changes Nov 22, 2023
@gregtyler gregtyler merged commit 4f9246f into main Nov 23, 2023
16 checks passed
@gregtyler gregtyler deleted the VEGA-2134-build-lpa-schema branch November 23, 2023 09:46
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.

3 participants