Open nickevansuk opened 3 years ago
@nickevansuk is there still the most recent proposal for offer entitlements?
I've seen Offers with Entitlements have this shape recently, and I'm wondering if this is a mistake on the part of this particular data source or just a consequence of changes that have been made outside of this issue.
{
"@type": "Offer",
/* Other Offer Fields... */
"entitlement": [
{
"@id" : "https://mcractive.github.io/entitlements#41730e9d-e07b-4737-a0b8-5bd12fe6be79",
"inScheme" : "https://mcractive.github.io/entitlements",
"prefLabel" : "Adult Pay & Play MCR Non-Resident",
"@type" : "Concept"
},
/* ...etc */
]
}
The difference is the field name from eligibleEntitlementType
-> entitlement
.
Thanks
Proposal
In order to indicate which
Offer
is appropriate for a particular Entitlement Type, theeligibleEntitlementType
property is used.The
Offer
is applicable to the Customer if at least one of the Concepts in theeligibleEntitlementType
array within theOffer
matches that which a Broker has associated with the Customer.The Entitlement SKOS vocabulary itself is maintained by the owner of the Membership Scheme.
Example