# Tailor a licence rating for your school

Company → Settings → Licensing lets you adapt a national licence rating to your school — add your own checklist items, hide ones that do not apply, override a base item, and replace the written theory test. Your changes sit on top of the national base, which keeps receiving updates.

Source: https://help.pigi.io/guides/courses/licensing/licensing-settings

## Quick answers

**Where is the licensing screen?**
**Company → Settings → Licensing** at /school/admin/company/settings/licensing.
The settings tile describes it as "Tailor a rating's checklist, theory blocks and
test for your school".

**What can I actually change here?**
Four tabs: **Theory Blocks**, **Proficiency Topics**, **Practical Items** and
**Theory Test**. The first three are the checklist cards a student works through;
the fourth is the written test's sections and pass mark.

**What do the coloured badges mean?**
**Base** (blue) — the national item, untouched. **Custom** (green) — an item your
school added. **Overridden** (amber) — a national item you have edited.
**Hidden** (gray) — a national item you have switched off.

**How do I hide a national checklist item?**
Use the hide control on the row — its tooltip reads "Hide for your school". The
row stays visible to you with a **Hidden** badge, and **Unhide** brings it back.

**How do I change the wording of a national item?**
Use "Override for your school" on the row. You get a **Customize item** drawer
with the item's fields; saving marks it **Overridden**. **Revert to base**
discards your version.

**How do I add my own checklist item?**
Click **Add item** on the tab you want. You give it a **Code** (a stable slug),
a **Label**, a **Type** — *Theory topic / block (coverage)*, *Practical
(flight-matched)* or *Competency (instructor-confirmed)* — an optional
**Section** heading, a **Description** and a **Sort order**.

**What is the Code field for?**
A stable identifier the printed card binds to. The hint says "Don't change it
once students have progress against it."

**How do practical items count automatically?**
A practical item takes a **Target (how many)** and **Flight criteria (JSON)**,
for example `{"activity_types": ["TH"], "min_duration": 10}`. Blank criteria
count all course flights. The accepted keys are `activity_types`, `launch_types`,
`manoeuvres`, `skills` and `min_duration`.

**What does "Covered by theory block" do?**
On a proficiency topic it links the topic to a theory block, so recording
attendance at that block ticks the topic automatically. Leave it on "— None
(student initials) —" and the student initials it themselves.

**How do I change the written test?**
The **Theory Test** tab. Set the **Pass mark** percentage and edit the sections —
each has a code, a label and a maximum mark, with a running **Total**. Click
**Save override**. The badge changes from **Using national base** to **Custom for
your school**; **Revert to base** undoes it.

**Do national updates still reach me after I customise?**
Yes. The screen says so: "You inherit the national base — add your own items,
hide ones that don't apply, or override the theory test. Base updates still reach
you." Only the specific items you overrode or hid stop tracking the base.

## What this is

PiGi ships national licence ratings — the SAHPA Basic Licence, for example — with
their checklist cards and written test already defined. Most schools teach to
that standard but not exactly: an item does not apply at their site, the wording
is different, or they add a step of their own.

This screen is that layer. It never edits the national definition; it records
what your school adds, hides or replaces on top of it. Everything you have not
touched keeps following the national base, so an update to the standard reaches
your students automatically.

## Before you start

- You need the company admin role.
- Know which rating your courses point at — set on each course under **Qualifies
  for licence rating**. Customising a different rating has no effect.

## Steps

1. Open **Company → Settings → Licensing**.
2. Choose the **Rating** from the dropdown. Options show the rating name and, when
   it has one, its country. The list starts scoped to your school's country;
   use **Show all countries** beside the label if you need one from elsewhere.
3. Pick a tab: **Theory Blocks**, **Proficiency Topics**, **Practical Items** or
   **Theory Test**.
4. To add your own item, click **Add item**, fill in the drawer and save.
5. To change a national item, use "Override for your school" on its row.
6. To switch one off, use "Hide for your school". Use **Unhide** to restore it.
7. To undo your version of a national item, use **Revert to base**.
8. On **Theory Test**, set the **Pass mark**, edit the sections, use **Add
   section** as needed, and click **Save override**.

## Fields

| Field | Required | What to enter |
|---|---|---|
| Rating | Yes | Which licence rating you are customising. |
| Code | Yes | Stable slug, e.g. `weather`. Do not change it later. |
| Label | Yes | What appears on the printed card. |
| Type | Yes | Theory topic / block, Practical, or Competency. |
| Section (grouping heading) | No | e.g. "Ground Skills". |
| Description | No | Longer explanation. |
| Covered by theory block | Proficiency only | Links the topic to a block so attendance ticks it. |
| Target (how many) | Practical only | How many matching flights are needed. |
| Flight criteria (JSON) | Practical only | Which flights count. Blank counts all. |
| Sort order | No | Display order on the card. |
| Pass mark | Theory Test | Percentage of the total needed to pass. |
| Section code / label / max | Theory Test | One row per test section. |

## Known limitations

- **The rating list defaults to your country, but that is a default, not a
  rule.** **Show all countries** reveals the rest, and a school with no country
  recorded on its profile sees everything. Ratings with no country set are
  always included — they are treated as jurisdiction-neutral.
- **Nothing links this screen to your courses.** You can spend an afternoon
  customising a rating no course points at.
- **Flight criteria are raw JSON.** A malformed or unmatched filter simply never
  completes, with no warning.
- **The licence-application document list is not editable here.** Which documents
  a graduate must produce comes from the rating's requirements, curated
  platform-side.
- **Hiding an item does not remove existing student progress against it.**

## Related

- [Licence ratings and requirements](licence-ratings.md)
- [Graduate a student](graduate-a-student.md)
- [Create a course](create-a-course.md)
