schemaorg-coda :: Example

eg-0122

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": "AllocateAction",
  "participant": {
    "@type": "Person",
    "name": "John"
  },
  "agent": {
    "@type": "Person",
    "name": "John's trainer"
  },
  "object": {
    "@type": "ExercisePlan",
    "name": "John's weight loss plan"
  },
  "startTime": "2020-01-01T09:00:00"
}

Pre-Markup

John allocated 5 hours to exercise.