schemaorg-coda :: Example

eg-0165

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": "ReplaceAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "replacee": {
    "@type": "Movie",
    "name": "The Internship"
  },
  "replacer": {
    "@type": "Movie",
    "name": "The Wedding Crashers"
  },
  "targetCollection": {
    "@type": "ItemList",
    "name": "List of my favorite movies",
    "url": "http://netflix.com/john/favorite"
  }
}

Pre-Markup

John replaced The Internship with The Wedding Crashers from his movie queue.