Skip to content

Update name example to remove previous names#453

Draft
erino wants to merge 3 commits intomainfrom
remove-previous-names
Draft

Update name example to remove previous names#453
erino wants to merge 3 commits intomainfrom
remove-previous-names

Conversation

@erino
Copy link
Copy Markdown
Member

@erino erino commented Mar 9, 2026

Why

Explain why these changes are necessary.

What

Describe the changes you're proposing.

Technical writer support

Do you need a tech writer's support, for example to review your PR?

How to review

Tell reviewers how to assess your changes.

Changelog

If this change is significant (for example, launching a new feature or deprecating a feature), you should update the changelog found at partials/_changelog.erb under the heading 'Documentation updates'.

Confirm

  • I have checked if any docs change here also requires updates to other repositories (ADRs / RFCs, README.md, Team Manual, elsewhere in these docs)
  • Where there is any overlap I have updated or opened a PR for corresponding changes

Change property description for name to reflect meaning of validFrom
| Property | Description |
|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `name` | A list showing the name proven by GOV.UK One Login. At the moment the list will only contain the user’s current name. In the future this list will reflect name changes by using the `validFrom` and `validUntil` metadata properties. If `validUntil` is `null` or not present, that name is your user’s current name. If `validFrom` is `null` or not present, your user may have used that name from birth. <br><br> Each name is presented as an array in the `nameParts` property. Each part of the name is either a `GivenName` or a `FamilyName`, identified in its `type` property. The `value` property could be any text string. GOV.UK One Login cannot specify a maximum length or restrictions on what characters may appear. <br><br> `GivenName` or `FamilyName` can appear in any order within the list. The order of names may depend on either your user’s preferences or the order they appear on documents used to prove your user’s identity. |
| `name` | A list showing the name proven by GOV.UK One Login, this will only contain the user’s current name. If `validUntil` is present then this date reflects the earliest date we have evidence for the name. Each name is presented as an array in the `nameParts` property. Each part of the name is either a `GivenName` or a `FamilyName`, identified in its `type` property. The `value` property could be any text string. GOV.UK One Login cannot specify a maximum length or restrictions on what characters may appear. <br><br> `GivenName` or `FamilyName` can appear in any order within the list. The order of names may depend on either your user’s preferences or the order they appear on documents used to prove your user’s identity. |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@erino I think that the second sentence should start, "If 'valifFrom' is present...." since we are only sending current name, validUntil should never provided?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 0b099b0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

2 participants