sailpoint-oss / api-specs

This repo houses the API specifications for all SailPoint services.
MIT License
9 stars 15 forks source link

owns property in IdentityDocument is not an array #69

Open yannick-beot-sp opened 3 months ago

yannick-beot-sp commented 3 months ago

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"
            }
        ]
    },