Skip to content

Commit f8ce660

Browse files
authored
Create issue-2740-examples.txt
schemaorg#2740
1 parent becc375 commit f8ce660

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
TYPES: SolveMathAction, MathSolver
2+
3+
PRE-MARKUP:
4+
5+
Direct users to a leaf page when solving math problems. The leaf page may contain a step by step walkthrough of the problem and a solution.
6+
7+
MICRODATA:
8+
9+
<!-- JSONLD only example -->
10+
11+
RDFA:
12+
13+
<!-- JSONLD only example -->
14+
15+
JSON:
16+
17+
<script type="application/ld+json">
18+
{
19+
"@context": "https://schema.org",
20+
"@type": "MathSolver",
21+
"url": "https://www.mathdomain.com/",
22+
"potentialAction": [{
23+
"@type": "SolveMathAction",
24+
"target": "https://mathdomain.com/solve?q={math_expression_string}",
25+
"mathExpression-input": "required name=math_expression_string",
26+
"eduQuestionType": “Polynomial Equations”,
27+
},
28+
{
29+
"@type": "SolveMathAction",
30+
"target": "https://mathdomain.com/graph?q={math_expression_string}",
31+
"mathExpression-input": "required name=math_expression_string",
32+
"eduQuestionType": “Graphing”,
33+
}]
34+
}
35+
36+
37+
</script>

0 commit comments

Comments
 (0)