Example AllocateAction-121

JSON-LD (source lint)

<script type="application/ld+json">
  // John allocated 5 hours to exercise.
{
  "@context": "http://schema.org",
  "@type": "AllocateAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "Duration",
    "name": "5 hours"
  },
  "purpose": {
    "@type": "ExercisePlan",
    "name": "John's weight loss plan"
  }
}
</script>