The following code block provides an example of a JSON object when the entitlement resource ID is a simple text string. In this case, the resource ID is the string “resource”.
"metadata" : {
"entitlement" : {
"id" : "resource"
}
}
The following code block provides an example of a JSON object when the entitlement resource ID is an HTML-encoded mRSS string.
<rss version="2.0" xmlns:media="https://search.yahoo.com/mrss/">
<channel>
<title>REF_ADOBE</title>
<item>
<title>Adobe Primetime Reference</title>
<guid>1234</guid>
<media:rating scheme="urn:v-chip">TV-PG</media:rating>
</item>
</channel>
</rss>
The following mRSS string is used as the resource id.
"metadata" : {
"entitlement" : {
"id" : "<rss version="2.0"
xmlns:media="
https://search.yahoo.com/mrss/"
><channel><title>REF_ADOBE</title><item>
<title>Adobe Primetime Reference</title><guid>
1234</guid><media:rating scheme="urn:v-chip">
TV-PG</media:rating></item></channel></rss>"
}
}