resources-relation

resources-relation
resources-relation

This object contains a resource, its relation type and the list of objects to which this resource is related

JSON Example
{
    "links": [
        {
            "description": "string",
            "href": "string",
            "name": "string",
            "rel": "string"
        }
    ],
    "pageInfo": {
        "page": 0,
        "pageSize": 0,
        "sortBy": "string",
        "sortOrder": "string",
        "totalCount": 0
    },
    "relationshipType": "string",
    "resourcesRelations": [
        {
            "extension": {
                "anyObjects": [
                    {}
                ]
            },
            "links": [
                {
                    "description": "string",
                    "href": "string",
                    "name": "string",
                    "rel": "string"
                }
            ],
            "relatedResources": [
                "string"
            ],
            "resource": {
                "badges": [
                    {
                        "color": "string",
                        "score": "number",
                        "type": "string"
                    }
                ],
                "creationTime": 0,
                "credentialInstanceId": "string",
                "description": "string",
                "dtEnabled": false,
                "extension": {
                    "anyObjects": [
                        {}
                    ]
                },
                "geoLocation": {
                    "latitude": "number",
                    "longitude": "number"
                },
                "identifier": "string",
                "links": [
                    {
                        "description": "string",
                        "href": "string",
                        "name": "string",
                        "rel": "string"
                    }
                ],
                "monitoringInterval": 0,
                "monitoringIntervalMinutes": 0,
                "monitoringIntervalSeconds": 0,
                "relatedResources": [
                    "string"
                ],
                "resourceHealth": "string",
                "resourceHealthValue": "number",
                "resourceKey": {
                    "adapterKindKey": "string",
                    "extension": {
                        "anyObjects": [
                            {}
                        ]
                    },
                    "links": [
                        {
                            "description": "string",
                            "href": "string",
                            "name": "string",
                            "rel": "string"
                        }
                    ],
                    "name": "string",
                    "resourceIdentifiers": [
                        {
                            "identifierType": {
                                "dataType": "string",
                                "extension": {
                                    "anyObjects": [
                                        {}
                                    ]
                                },
                                "isPartOfUniqueness": false,
                                "links": [
                                    {
                                        "description": "string",
                                        "href": "string",
                                        "name": "string",
                                        "rel": "string"
                                    }
                                ],
                                "name": "string"
                            },
                            "key": "string",
                            "links": [
                                {
                                    "description": "string",
                                    "href": "string",
                                    "name": "string",
                                    "rel": "string"
                                }
                            ],
                            "name": "string",
                            "uniquelyIdentifying": false,
                            "value": "string"
                        }
                    ],
                    "resourceKindKey": "string"
                },
                "resourceStatusStates": [
                    {
                        "adapterInstanceId": "string",
                        "resourceState": "string",
                        "resourceStatus": "string",
                        "statusMessage": "string"
                    }
                ]
            }
        }
    ]
}
array of link
links
Optional

Collection of links

pageInfo
Optional

Represents page information for a paged result

string
relationshipType
Required

The relationship type of the resources

Possible values are : PARENT, CHILD, CONTAINS, CONTAINED_BY, REFERENCES, REFERENCED_BY, USES, USED_BY, SELF, DESCENDANT, ANCESTOR, TST, ALL,
resourcesRelations
Required

Resources info combined with lists of query resource identifiers to which they are related