it looks like a pattern when an entity that has an "id" attribute captures the reference to 1 or more entities , the naming scheme prefixes "id" with the entity name.
for example, if ProductOrderJeopardyAlert is a database table, it will have "id" for the ProductOrderJeopardyAlert, and productOrderItemId referencing the Order Item.
------------------------------
Barathan Venkateswaran
Salesforce
------------------------------
Original Message:
Sent: Jul 02, 2025 17:24
From: Aneesh Da
Subject: ProductOrderItemRef schema in TMF622
Hi Team,
Here is the snippet of ProductOrderItemRef schema from TMF622. Trying to understand the reason for the below:
1) Why ProductOrderHref and productOrderId are part of this schema?
2) Why they id field is named as "productOrderItemId" instead of "id" ?
My general understanding was that Ref would be made of all items Extensible, Addressable and EntityRef schema.
Can Ref have a field which is not in its referred type? in this eg: ProductOrderHref, productOrderId and productOrderItemId are not part of ProductOrderItem.

------------------------------
Aneesh Da
Infosys
------------------------------