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

New/Updated Attribute types #657

Open
1 of 6 tasks
jonkjetiloye opened this issue Jan 12, 2024 · 0 comments
Open
1 of 6 tasks

New/Updated Attribute types #657

jonkjetiloye opened this issue Jan 12, 2024 · 0 comments
Labels
kind/chore Create a none user-story issue (chore, tech issue, backend issue) refinement An issue that needs to be refined

Comments

@jonkjetiloye
Copy link
Member

jonkjetiloye commented Jan 12, 2024

Description

As we need add additional attributes for more information describing an entity (e.g. ) as a set of attributes we see a need to establish a naming convention for our attribute-types in the URN format.

We also want to be as consistent as possible across DigDir in our use of the URN format, which has sparked a discussion with Dialogporten and ID-Porten in the format to use for Organization numbers and National Identity numbers.

Old New
urn:altinn:ssn urn:altinn:person:identifier-no
urn:altinn:organizationnumber urn:altinn:organization:identifier-no
Type Values
urn:altinn:entity:type person
organization
enterpriseuser
systemuser(TBD)

This format will allow us to add additional and different sets of attribute types depending on the type of entity

Entity Attributes
urn:altinn:person urn:altinn:person:identifier-no
urn:altinn:person:uuid
urn:altinn:person:name:shortname
urn:altinn:person:name:firstname
urn:altinn:person:name:middlename
urn:altinn:person:name:lastname
urn:altinn:organization urn:altinn:organization:identifier-no
urn:altinn:organization:uuid
urn:altinn:organization:name
urn:altinn:enterpriseuser urn:altinn:enterpriseuser:username
urn:altinn:enterpriseuser:uuid
urn:altinn:enterpriseuser:organization:uuid
urn:altinn:systemuser(TBD) urn:altinn:systemuser:uuid
urn:altinn:systemuser:name

Additional Information

Slack:
Discussion with Bjørn & Jørgen (Dialogporten & ID-Porten):
https://altinndevops.slack.com/archives/CE5E06MC7/p1699002893027499

Team discussion about response model for delegations:
https://altinndevops.slack.com/archives/CQPNM75L3/p1704368339145839

Tasks

Tasks

Preview Give feedback
  1. kind/user-story
    andreasisnes

Acceptance Criterias

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/chore Create a none user-story issue (chore, tech issue, backend issue) refinement An issue that needs to be refined
Projects
Status: No status
Status: ⚠️Blocked
Development

No branches or pull requests

2 participants