Skip to content
Schema Generator
Menu

Math Solver schema generator (JSON-LD)

A site that solves math problems step by step, marked up on its home page.

Rich result available: Math solver. Schema.org type MathSolver.

1 of 4

MathSolver rich results in Google

Google can send math questions straight to your solver. The solution and its steps must be free to see; extra content can sit behind a login. MathSolver is still a pending type at Schema.org, but Google reads it.

Google's math solver documentation

MathSolver properties Google requires and recommends

PropertyStatusIn the form
urlRequiredHome page
usageInfoRequiredPrivacy policy
inLanguageRecommendedLanguage
potentialActionRequiredSolver endpoints

Math Solver JSON-LD example

This is what the builder produces from the example data. Paste it into the page's HTML, in the <head> or the body.

{
  "@context": "https://schema.org",
  "@type": [
    "MathSolver",
    "LearningResource"
  ],
  "name": "Stepwise Math",
  "url": "https://math.example/",
  "usageInfo": "https://math.example/privacy",
  "inLanguage": "en",
  "potentialAction": [
    {
      "@type": "SolveMathAction",
      "target": "https://math.example/solve?q={math_expression_string}",
      "mathExpression-input": "required name=math_expression_string",
      "eduQuestionType": [
        "Polynomial Equation",
        "Derivative"
      ]
    },
    {
      "@type": "SolveMathAction",
      "target": "https://math.example/trig?q={math_expression_string}",
      "mathExpression-input": "required name=math_expression_string",
      "eduQuestionType": "Trigonometry"
    }
  ],
  "learningResourceType": "Math Solver"
}