Example quizzes
These are the canonical v1 examples — copy one as a starting point instead of reverse-engineering the format. Each validates againstthe Standard and satisfies the Public catalog profile. Paste one into theimport page to try it, or use it as the seed for your own quiz.
public-quiz-input-numeric.json
numeric matching with an explicit tolerance value.
Download public-quiz-input-numeric.json
{
"schemaVersion": 1,
"id": "network-throughput-numeric-input-example",
"title": "Network Throughput Numeric Example",
"description": "A canonical numeric-input example that uses an explicit tolerance so contributors can see how rounded answers are handled.",
"language": "en",
"tags": ["networking", "basics"],
"questions": [
{
"id": "megabits-to-megabytes",
"title": "A connection is rated at 100 megabits per second. About how many megabytes per second is that before overhead?",
"description": "Type a number only. Small rounding differences should still count as correct.",
"type": "input",
"validation": {
"mode": "numeric",
"acceptedAnswers": [12.5],
"tolerance": 0.2
},
"explanation": "There are 8 bits in a byte, so dividing 100 megabits by 8 gives 12.5 megabytes per second. The tolerance shows how to accept rounded answers such as 12.4 or 12.6 when the teaching goal is the unit conversion rather than strict formatting.",
"references": "[Cloudflare: What is bandwidth?](https://www.cloudflare.com/learning/network-layer/what-is-bandwidth/)"
}
]
}
public-quiz-input-text.json
text matching with the minimal zero-flag validation object, relying on the standard's hard defaults.
Download public-quiz-input-text.json
{
"schemaVersion": 1,
"id": "english-first-conditional-input-example",
"title": "First Conditional Input Example",
"description": "A canonical text-input example. Text mode is case-insensitive, trimmed, and whitespace-collapsed by default, so the minimal validation object needs no flags at all.",
"language": "en",
"tags": ["english", "grammar", "conditionals"],
"questions": [
{
"id": "name-the-conditional",
"title": "What is the grammar name for the pattern 'If it rains, we will stay inside'?",
"description": "Type the standard label used in English-learning materials.",
"type": "input",
"validation": {
"mode": "text",
"acceptedAnswers": ["first conditional", "the first conditional"]
},
"explanation": "This sentence describes a real future possibility, which is why it is called the first conditional. Text mode is forgiving by default, so learners may type extra spaces or different capitalization without changing the result.",
"references": "[British Council: conditionals](https://learnenglish.britishcouncil.org/grammar/english-grammar-reference/conditionals)"
}
]
}
public-quiz-multiple-choice.json
multi-select structure with the all-or-nothing correctness model.
Download public-quiz-multiple-choice.json
{
"schemaVersion": 1,
"id": "http-safe-methods-multiple-choice-example",
"title": "HTTP Safe Methods Example",
"description": "A canonical multi-select example that relies on the all-or-nothing correctness model, so learners must choose every correct option and avoid the unsafe ones.",
"language": "en",
"tags": ["http", "protocol", "basics"],
"questions": [
{
"id": "safe-methods",
"title": "Which HTTP methods are defined as safe?",
"description": "Select every method whose semantics are read-only from the client's point of view.",
"type": "multiple-choice",
"options": [
{
"text": "`GET`",
"isCorrect": true
},
{
"text": "`HEAD`",
"isCorrect": true
},
{
"text": "`POST`",
"isCorrect": false
},
{
"text": "`DELETE`",
"isCorrect": false
}
],
"explanation": "`GET` and `HEAD` are safe because their semantics are defined for retrieval rather than state change. A server may still log or cache the request, but the client is not asking it to mutate application data.",
"references": "[RFC 9110: Safe Methods](https://www.rfc-editor.org/rfc/rfc9110.html#section-9.2.1)"
}
]
}
public-quiz-single-choice.json
stable quiz and question IDs, bare `{ "text", "isCorrect" }` options without labels, explanation-first feedback, and optional References in the simplest single-choice shape.
Download public-quiz-single-choice.json
{
"schemaVersion": 1,
"id": "javascript-falsy-single-choice-example",
"title": "JavaScript Falsy Value Example",
"description": "A minimal public quiz example that shows the simplest single-choice contribution path with explanation-first feedback.",
"language": "en",
"tags": ["javascript", "basics", "types"],
"questions": [
{
"id": "falsy-zero",
"title": "Which value is falsy in JavaScript?",
"description": "Choose the value that becomes false in a boolean context without any conversion helper.",
"type": "single-choice",
"options": [
{
"text": "`[]`",
"isCorrect": false
},
{
"text": "`0`",
"isCorrect": true
},
{
"text": "`{}`",
"isCorrect": false
},
{
"text": "`\"0\"`",
"isCorrect": false
}
],
"explanation": "`0` is one of JavaScript's built-in falsy values. Arrays, objects, and non-empty strings are all truthy, so this question teaches learners to separate literal appearance from boolean behavior.",
"references": "[MDN: Falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy)"
}
]
}