Skip to content
AnswerWell geo Documentation

Research · 6 min read · Answerwell

ExerciseAction and ExercisePlan Structured Data Properties

How Schema.org ExerciseAction and ExercisePlan relate, which properties to use, and how they fit the Action type hierarchy for fitness markup.

This page summarises Schema.org documentation on marking up workouts and prescribed fitness routines. The vocabulary treats a completed or described workout as an ExerciseAction (under PlayAction and Action) and the programme someone follows as an ExercisePlan (CreativeWork and health-related activity). Usage in Google’s web index is reported as under 1,000 domains for both types on their respective type pages.

ExerciseAction: structured data for a workout or fitness activity

Section titled “ExerciseAction: structured data for a workout or fitness activity”

ExerciseAction is the type you use when the page describes participating in exertive activity for health and fitness.

The act of participating in exertive activity for the purposes of improving health and fitness.

— Schema.org, ExerciseAction

In the type hierarchy it sits at Thing > Action > PlayAction > ExerciseAction. PlayAction also includes PerformAction; exercise markup is the fitness-specific branch. If you only need a generic “something happened” event without the play/exercise semantics, the parent Action type is broader and lists many other subtypes (CreateAction, ConsumeAction, MoveAction, and others).

ExerciseAction-only properties: type, location, diet, and sports

Section titled “ExerciseAction-only properties: type, location, diet, and sports”

Properties defined on ExerciseAction focus on what kind of exercise it was, where it happened, and optional sports context:

Property Expected types (summary) Typical use
exerciseType Text Kind of activity (strength, aerobics, cardiac rehabilitation, etc.) — also on ExercisePlan via exerciseType
distance Distance Distance travelled while exercising or travelling
diet Diet Diet used in the action (sub-property of instrument)
exerciseRelatedDiet Diet Diet related to the exercise
exercisePlan ExercisePlan Programme used (sub-property of instrument) — see exercisePlan
exerciseCourse Place Course where the action occurred; supersedes course
fromLocation / toLocation Place Start and end location of the agent
sportsActivityLocation — Venue for the activity
sportsEvent / sportsTeam / opponent Event / team / Person Competitive or team sport context

The version 30.1 release summary lists the same property set for ExerciseAction, including legacy course alongside exerciseCourse.

Inherited Action properties: who, when, status, and instrument

Section titled “Inherited Action properties: who, when, status, and instrument”

Every ExerciseAction can use properties defined on Action, including:

From PlayAction, audience and event are also available. Plain-language mapping: put the athlete in agent, the session time in startTime/endTime, the gym or route in location or the more specific sports/location properties, and link a written programme through exercisePlan.

ExercisePlan: structured data for a routine or clinical prescription

Section titled “ExercisePlan: structured data for a routine or clinical prescription”

ExercisePlan describes fitness-related activity for a health-related purpose, including fixed routines and clinician-prescribed activity.

Fitness-related activity designed for a specific health-related purpose, including defined exercise routines as well as activity prescribed by a clinician.

— Schema.org, ExercisePlan

It is both a CreativeWork (name, description, author, dates, and the rest of the creative-work surface) and, in the medical branch, Thing > MedicalEntity > … > PhysicalActivity > ExercisePlan. PhysicalActivity lists ExercisePlan as its more specific type.

ExercisePlan prescription properties: duration, frequency, intensity

Section titled “ExercisePlan prescription properties: duration, frequency, intensity”

Use these when the markup should capture prescription-style detail rather than a single logged session:

Property Expected types Meaning
activityDuration Duration or QuantitativeValue How long to engage in the activity
activityFrequency QuantitativeValue or Text How often to do it
repetitions Number or QuantitativeValue How many repetitions
restPeriods QuantitativeValue or Text Break frequency
intensity QuantitativeValue or Text Force level (e.g. heart rate, movement velocity)
workload Energy or QuantitativeValue Physiologic output / energy expenditure
exerciseType Text Types of exercise in the plan
additionalVariable Text Extra prescription detail (order of exercises, progressions, etc.)

ExercisePlan may also carry PhysicalActivity and MedicalEntity fields (for example category, code, guideline) when the content is clinical. For consumer fitness pages, the prescription table above is usually the relevant core.

exercisePlan property: linking a workout action to its programme

Section titled “exercisePlan property: linking a workout action to its programme”

The property exercisePlan connects an action instance to the plan that guided it.

A sub property of instrument. The exercise plan used on this action.

— Schema.org, exercisePlan

It is used only on ExerciseAction; values must be ExercisePlan. Modelling pattern: one node (or nested object) typed ExercisePlan with routine metadata, referenced from an ExerciseAction via exercisePlan. That follows Schema.org’s instrument semantics (instrument on Action): the plan is a tool the agent used, not the primary object whose state changes.

ExercisePlan can appear as the value of exercisePlan on ExerciseAction only (see “Instances of ExercisePlan” on the ExercisePlan type page).

Action vocabulary context: when not to use ExerciseAction

Section titled “Action vocabulary context: when not to use ExerciseAction”

The cluster’s Action branch is large. Neighbouring types matter mainly so you do not pick the wrong type:

ExerciseAction is appropriate when the described entity is exertive activity for health or fitness, including sport-shaped properties (sportsTeam, sportsEvent, and related fields).

Common mistakes when marking up exercise data

Section titled “Common mistakes when marking up exercise data”
  1. Using ExercisePlan for a single completed workout — A one-off logged run is usually ExerciseAction with times and locations; the plan type is for the routine or prescription.
  2. Omitting instrument semantics — exercisePlan is not an arbitrary cross-link; it is a sub-property of instrument. Nesting the plan under exercisePlan on the action is the documented pattern.
  3. Using deprecated course on new markup — Prefer exerciseCourse, which supersedes course on ExerciseAction.
  4. Mixing Event dates with Action times — Action uses startTime/endTime; Event types use startDate/endDate. The ExerciseAction definition notes that distinction for scheduled or media-backed actions.
  5. Putting plan-only fields on the action — repetitions, activityFrequency, and workload belong on ExercisePlan, not on ExerciseAction, unless you also describe a plan node.
  1. Open your page source and confirm the JSON-LD (or microdata) root type is ExerciseAction for workouts or ExercisePlan for programme pages, matching the definitions on those type pages.

  2. Compare each property you emit against the tables on ExerciseAction and ExercisePlan, and cross-check the aggregated list on Schema.org version 30.1 for ExerciseAction, ExercisePlan, and exercisePlan.

  3. If you link a plan to a session, verify exercisePlan points to an object typed ExercisePlan on an ExerciseAction, as required on the exercisePlan property page.

  4. For actions with lifecycle state, ensure actionStatus values are members of ActionStatusType (ActiveActionStatus, CompletedActionStatus, FailedActionStatus, or PotentialActionStatus).

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page contradicts the linked Schema.org definitions or omits an important condition, write to yimasynthetic@gmail.com with the page URL and the exact sentence you are asking about.