Schema
Quiz Schema
Schema.org Quiz
- Type:
defineQuiz(input?: Quiz)
Describes a set of educational flashcards for Google's Education Q&A feature.
Useful Links
Example
defineQuiz({
about: {
'@type': 'Thing',
'name': 'Cell transport',
},
educationalAlignment: {
alignmentType: 'educationalSubject',
targetName: 'Biology',
},
hasPart: {
text: 'What protects the contents of a cell?',
eduQuestionType: 'Flashcard',
acceptedAnswer: 'Cell membrane',
},
})
Each hasPart question requires text, eduQuestionType: 'Flashcard', and one acceptedAnswer.
Defaults and resolves
@typedefaults toQuiz.@iddefaults to${canonicalUrl}#quiz.- Questions resolve with
QuestionandAnswerdefaults. - Educational alignments resolve to
AlignmentObject. - A root Quiz references the primary WebPage through
mainEntityOfPage.
Did this page help you?