Skip to content
Schema Generator
Menu

Education Q&A schema generator (JSON-LD)

A page of study flashcards: questions with their answers on one topic.

Rich result available: Education Q&A. Schema.org type Quiz.

1 of 3

Quiz rich results in Google

Google can show your flashcards in an education Q&A carousel. Every card must be visible on the page. A page with one question and user answers is a Q&A page instead. Quiz is still a pending type at Schema.org, but Google reads it.

Google's education q&a documentation

Quiz properties Google requires and recommends

PropertyStatusIn the form
aboutRecommendedTopic
subjectRecommendedSubject
hasPartRequiredFlashcards

Education Q&A 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": "Quiz",
  "about": {
    "@type": "Thing",
    "name": "Cell transport"
  },
  "educationalAlignment": [
    {
      "@type": "AlignmentObject",
      "alignmentType": "educationalSubject",
      "targetName": "Biology"
    },
    {
      "@type": "AlignmentObject",
      "alignmentType": "educationalLevel",
      "targetName": "Grade 7: Cell Structure"
    }
  ],
  "hasPart": [
    {
      "@type": "Question",
      "eduQuestionType": "Flashcard",
      "text": "What controls what enters and leaves a cell?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The cell membrane"
      }
    },
    {
      "@type": "Question",
      "eduQuestionType": "Flashcard",
      "text": "What is the movement of water across a membrane called?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Osmosis"
      }
    }
  ]
}