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

owns property in IdentityDocument is not an array #69

Open
yannick-beot-sp opened this issue Apr 22, 2024 · 0 comments
Open

owns property in IdentityDocument is not an array #69

yannick-beot-sp opened this issue Apr 22, 2024 · 0 comments

Comments

@yannick-beot-sp
Copy link

According to the specs (cf. idn/v3/schemas/search/model/identity/IdentityDocument.yaml), owns is an array:

    owns:
      type: array
      description: Access items the identity owns. 
      items: 
        $ref: 'Owns.yaml'

Based on my tests, owns is actually an object:

    "owns": {
        "accessProfiles": [
            {
                "id": "4f1baca895fa45ebada410ab40744330",
                "name": "Accounts Payable"
            },
            {
                "id": "c9478d6fc6f842dbaf572d08fda4b344",
                "name": "Accounts Receivable"
            },
            {
                "id": "fbb8b17d23284b5e8c802a84927d87dc",
                "name": "Financial Systems Analyst Access"
            }
        ]
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant