# Limits

Every limit Kapi's reader and checker hold a course to.

Kapi holds every course to these limits when it reads and checks it. A MiB is 1,048,576 bytes; an MB is 1,000,000.

| Limit | Value |
| --- | --- |
| Pages in a course | 200 |
| Lessons in a course | 64 |
| Questions in questions.json | 2,000 |
| Fewest choices in a question | 2 |
| Most choices in a question | 10 |
| Longest typed answer Kapi accepts | 512 bytes |
| Tests in a course | 8 |
| Most questions one attempt at a test draws | 50 |
| All data files together | 4 MiB |
| One words file | 1 MiB |
| Files the player loads for a page, besides media | 5 MiB |
| One picture, sound or video | 25 MB |
| Files in a course | 300 |
| Hosts the words may link to | 50 |
| Roles | 32 |
| Characters in a text ID | 128 |
| Characters in a file path | 240 |

## What Kapi checks

| Check | Severity | What Kapi says |
| --- | --- | --- |
| [`over_limit`](https://docs.kapiworks.com/build/reference/checks/over-limit) | Error | This is over the limit of …. |
| [`media_too_large`](https://docs.kapiworks.com/build/reference/checks/media-too-large) | Error | This file is over 25 MB, the most a page can carry. Make it smaller. |
