In hopes of being able to report more efficiently on multiple objects at once, we need to identify the cardinality between two objects (I.e. Single or Multiple).
Using the OSLC API to pull data from Object Structures, we see there is a cardinality in the API response. This cardinality is not being set on the OS.
For example, let’s take the following object structure where I have Asset as the main object and Work Order as the child.

Using the API to get the schema for the OS, we see the response where we pull the Work Order relationship. In this response we see a few properties, including one called “cardinality”:
"workorder": {
"objectName": "WORKORDER",
"type": "array",
"items": {
"definition": {
"subSchema": {
"$ref":
"https:\/\/dev.solution.dev\/maximo\/oslc\/jsonschemas\/test_cardinality\/workorder"
}
},
"type": "object"
},
"cardinality": "MULTIPLE",
"relation": "ALLWO"
}
We understand cardinality can be set on Reporting Object Structures. However, on normal OS’s we can’t set one, but we still see a response.
Where else would this be getting defined?
Is there anything else that can be used to identify the type of relationship between two objects?