XooCode(){

SolveMathAction

SolveMathAction is an Action subtype specific to mathematics education. It adds one property: eduQuestionType (a free-text indicator like "Multiple choice", "Free response", "Proof"). The math problem itself lives on object, and the worked solution on result.

SolveMathAction is niche. Google does not currently surface a dedicated rich result for it, but math education platforms (Khan Academy-style sites, tutoring platforms, textbook publishers) use it in activity markup so consumers can tell a "solve" action apart from a "read" action on the same piece of math content.

Full example of schema.org/SolveMathAction json-ld markup

The markup is verified as valid with Rich Results Test from Google.

Highlight legend:Required by GoogleRecommendedOptional
schema.org/SolveMathAction
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "SolveMathAction",
  "name": "Solved derivative of polynomial problem",
  "agent": { "@type": "Person", "name": "Student" },
  "object": { "@type": "CreativeWork", "name": "Find dy/dx for y = 3x^4 - 2x + 7", "learningResourceType": "problem" },
  "eduQuestionType": "Multiple choice",
  "startTime": "2026-04-02T15:30:00-05:00",
  "endTime": "2026-04-02T15:31:45-05:00",
  "actionStatus": "https://schema.org/CompletedActionStatus",
  "result": { "@type": "CreativeWork", "name": "dy/dx = 12x^3 - 2" }
}
</script>

Minimal valid version

The smallest markup that still produces a valid SolveMathAction entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.

schema.org/SolveMathAction (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "SolveMathAction",
  "agent": { "@type": "Person", "name": "Student" },
  "object": { "@type": "CreativeWork", "name": "Derivative problem" },
  "eduQuestionType": "Multiple choice"
}
</script>

Google rich results this unlocks

Markup matching this example makes your page eligible for the following Google Search rich results. The primary target drives the required / recommended property classification in the advanced code block above.

Common SolveMathAction mistakes

Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.

  1. 01

    SolveMathAction with no eduQuestionType

    Wrong
    SolveMathAction missing the one property it adds
    Right
    Set eduQuestionType to "Multiple choice", "Free response", "Proof", or similar

    eduQuestionType is the whole reason SolveMathAction exists as a distinct type. Without it you are essentially emitting a generic Action on a math problem.

About the example data

A student solving a multiple-choice derivative problem on a fictional Xoo Code math-tutoring side project.

Comments

Loading comments...

Leave a comment