{
  "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/)"
    }
  ]
}
