# Part XXIII. Checks: tests for buildings

*Part of 0.7. OpenEik 0.6 had it as the proposal `checks` (open questions, 169 and 171 to 179): a model of 0.6, read by 0.6's rules (Part I, 9.6, rule 3), is read by it only where a caller asks for it (decision D12) or where it lists it (Part I, 9.12), and a model of 0.1 to 0.5 never; a reader of 0.6 that does not apply it keeps the files of `checks/` as kept files (Part III, 7). The steward decided on 16 November 2026, on the editors' research: "Yes do sweden first, and the Boverket package could for sure be stored at eikhub but WE have to create it! So go on with this it sounds amazing." Its shape is the editors' (question 126). The schemas of its files are in [`schemas/0.7/checks/`](https://openeik.org/schemas/0.7/index.json), and `schemas/0.7/index.json` names it in its `rules`; the universal base suite of section 12 is in [`suites/openeik-base/`](https://gitlab.com/openeik/spec/-/blob/main/suites/openeik-base/suite.json); Sweden's pack of section 14 is published on EikHub by the organisation `openeik`, its source in the repository `openeik/test-packs`; its cases, as they were in `conformance/proposed/checks/`, are in the suite of 0.7, `conformance/`. `@openeik/tools` runs a building's suites, proves each check by its fixtures and keeps a run (section 13).*

## 1. Status and scope

A building is checked today against a validator's rules, which say whether the model is well formed, and against nothing that says whether the building is what its people asked for. A firm's practice ("every wet room has an extract"), a client's brief ("every flat has a balcony"), a plan's limits and a code's requirements are checked by hand, in each tool its own way, or not at all.

This part puts those checks in the building, as a code base keeps its tests beside its code. A **check** is a sentence, a rule and two small buildings: the sentence a person said (`says`), the rule it compiles to (`requires`), and **fixtures**, a model that passes and one that fails, which prove that the rule means the sentence. Checks are gathered in **suites**, layered: a universal **base** that ships with the tools, a **jurisdiction**'s pack, an **organisation**'s suite and the **project**'s own, which lives in the building's folder `checks/` and is versioned with it. A layer may tighten a parameter of the layer below and never loosen one. A **run** of a building's suites gives a **finding** for each element each check applies to: it passes, fails, is waived, is skipped where the model holds too little to tell, or is stale where it rests on an analysis computed from an earlier building. A finding is **waived** only with a reason, an owner and a last day, keyed to the element and to the check's version, so that a waiver survives the building's new versions and lapses when the check changes.

What it leaves out:

- **Code text.** No check carries the text of a standard or a regulation. A check names a public rule by its publisher, its document and its paragraph (section 4, rule 8), and a value a code sets is a parameter (section 3, rule 5).
- **Code values in the base.** The universal base holds no legal limit and no value of a building code. The steward, 30 September 2026: "Stomra holds no legal requirements at all … The code's limits are dropped, not moved." A jurisdiction's pack, written by the editors for Sweden first and stored on EikHub, gives them.
- **What a rule cannot say.** A check is a rule of the kinds section 6 gives, over the measures section 7 derives. A requirement that needs a judgement, a design, or data the model does not hold is no check; a pack says so of each one it leaves out.

### 1.1 The parts it extends

In 0.7 its text stays in this part. These are the sections of Parts I to VIII that it extends, where a later version may move it:

- Part I, 11.3: the folder `checks/` at the top of a model's folder, which the registry reserves;
- Part II, 2.2 and 2.5: a site's country, by which a runner picks a jurisdiction's pack (section 3, rule 2), and a project's permit, by whose day a check's rules apply to it (section 4, rule 7), both 0.7's with this part;
- Part II, 5.5: a vocabulary of room uses a check reads (section 5.1);
- Part III, 1 and 7: the folder among the standard's own;
- Part VI, 8: a run kept as a result set (section 9, rule 6), and an analysis's result read by a check (section 6.5);
- Part XVI: who owns the folder (section 2, rule 4);
- Conformance: what a runner does (section 13).

## 2. The folder `checks/`

1. **The folder.** From 0.7, and in a model of 0.6 with the proposal, the folder `checks/` at the top of a model's folder holds the building's tests. The registry reserves its name (Part I, 11.3; [`registry/extensions.json`](https://openeik.org/registry/extensions.json)), so that no application's folder takes it. It is laid out so:

   | Path | What |
   |---|---|
   | `checks/suite.json` | the building's own suite's manifest (section 3), of the layer `project` |
   | `checks/tests/<id>.json` | a check of its own suite (section 4) |
   | `checks/tests/<id>/<name>.json` | a fixture of that check, a model in the single-file form (section 4, rule 9) |
   | `checks/params/<name>.json` | a parameter's value its manifest names, outside data (section 3, rule 4) |
   | `checks/waivers.json` | the building's waivers (section 8) |
   | `checks/suites/<name>/…` | a suite of a lower layer that the building keeps, laid out as a suite's folder is (rule 2) |
   | `checks/source.json`, `checks/results/<run>/…` | its kept runs (section 9, rule 6) |

   A **suite's folder**, wherever it is kept, holds `suite.json`, its checks at `tests/<id>.json`, their fixtures under `tests/<id>/` and its parameters' files under `params/`; the building's folder `checks/` is its own suite's folder.
2. **The suites it keeps.** A building MAY keep a suite of a lower layer in `checks/suites/<name>/`, so that a run reads the version it pins from the building itself. Its manifest's `name` MUST be its folder's name, and its layer below the project's (`checks-suite`).
3. **Its files.** Each file of the folder is JSON in the stored form (Part III, 5); a validator reports one that is not (`stored-form`). A suite's manifest, a check, the waivers and a kept run's result MUST validate against their schemas, [`suite.schema.json`](https://openeik.org/schemas/0.7/checks/suite.schema.json), [`check.schema.json`](https://openeik.org/schemas/0.7/checks/check.schema.json), [`waivers.schema.json`](https://openeik.org/schemas/0.7/checks/waivers.schema.json) and [`run.schema.json`](https://openeik.org/schemas/0.7/checks/run.schema.json); a validator reports one that does not read or does not validate (`checks-schema`), and a runner refuses to run it. A fixture is a model in the single-file form; a parameter's file is any JSON value.
4. **Who owns it.** A building SHOULD give `checks/**` to the party that leads the project in `project/owners.json` (Part XVI), so that a change to a test, a waiver or a pinned suite needs that party's approval, and a proposal cannot quietly weaken a test. It MAY give `checks/results/**` and `checks/source.json` to whoever runs the tests, by a later rule.
5. **Kept files without the proposal.** A reader of 0.6 that does not apply the proposal keeps every file of the folder as a kept file (Part III, 7): it reads nothing of them and writes them back as they are; and it reports a site's `country` and a project's `permit` (Part II, 2.2, rule 6, and 2.5) as members its schemas do not know (`member-unknown`), and keeps them. A model whose files are in the folder is valid to every validator of 0.6.
6. **A writer lists it.** A writer that writes the folder, a site's `country` or a project's `permit` lists the proposal (Part I, 9.12, rule 5): what a model shows of it is `checks/suite.json`, `checks/waivers.json`, a file `checks/tests/<id>.json`, a site's `country` or a project's `permit`.

## 3. Suites and layers

1. **The manifest.** A suite's `suite.json` is `{format, name, version, layer, says, country?, extends?, requires?, params?}`: `format` `"openeik-suite/0.1"`; its `name`, 1 to 64 lower-case ASCII letters, digits and hyphens, a letter first (as a prefix, Part I, 11.1), a name that begins `openeik-` being the standard's own; its `version`, `MAJOR.MINOR.PATCH`; its `layer`; `says`, what it is, in a sentence; and a jurisdiction's pack's `country` (rule 2).
2. **Its layer.** The layers are, lowest first, `base`, `jurisdiction`, `organisation` and `project`. A suite MUST extend only suites of layers below its own (`checks-suite`): a base extends none. A jurisdiction's pack gives its `country`, an ISO 3166-1 alpha-2 code, and a suite of another layer gives none (`checks-schema`). A building's own suite is its project's, and a building has one.

   **A pack picked by the site's country.** A building's country is its site's `country` (Part II, 2.2, rule 6; open question 177). Where the site gives one, a runner runs, besides the suites rule 3 and section 9, rule 1 name, each jurisdiction's pack of that country that the building keeps, the runner ships or its caller gives and that none of those suites is, in the newest version it has of it whose `extends` pins no other version of a suite the run runs: the pack is **picked**, and the run says so of it (section 9, rule 4). So a building that pins an earlier version of the base runs the newest version of the pack written on it. Where no version it has agrees, it picks none of them, and the run says so in a note, an info that blocks nothing. A building that pins a version of a pack of its country, by extending it, runs that version and no other. A runner refuses a run in which a pack of the layer `jurisdiction` is of another country than the site's (`checks-suite`). Where the site gives no country, a runner picks no pack, and the run says so in a note, an info that blocks nothing.
3. **What it extends.** `extends` pins the suites it runs on top of, each `{name, version}`, one version exactly. A runner finds each in the building's `checks/suites/<name>/`, among the suites it ships (the base, section 12), or among those its caller gives it, by its name and its version; a suite pinned that none of them has, and two versions of one suite in one run, are refused (`checks-suite`). A run runs each suite once, lowest layer first.
4. **Parameters.** A check's values are its parameters (section 4, rule 6). A suite gives values to the parameters of its own checks and of those of the suites below it, in `params`, by the check's qualified id, `<suite>/<id>`, and the parameter's name; a value `{file}` is the JSON value of a file of its folder's `params/`, outside data such as a supplier's list. A runner applies the values lowest layer first, then its caller's, the top layer, and holds each to its parameter's type and bounds. **A layer tightens and never loosens:** where a layer below gave a value, a layer above MAY give only one as tight or tighter, by the parameter's `tighter`: `lower` a number no higher, `higher` one no lower, `more` a list that holds every item of the one below; a parameter that names no direction a layer gives only where none below gave one, or the same value. A value of another type, out of bounds, of no parameter or no check, or that loosens one below is refused (`checks-param`), and the run with it.
5. **No code value in the base.** The base suite holds no legal limit and no value of a building code. A parameter whose value a code sets has no default in the base: a jurisdiction's pack gives it, or a firm, a client or the project. A default the base gives is common practice in every jurisdiction, a tolerance of drawing, or a vocabulary (section 5.1), and its check says so in its `source`.
6. **Required suites.** A project suite's `requires` names the suites, its own among them where it names itself, whose failures at the severity `error` block a merge of the building (Part VI, 5): a host that enforces checks refuses to merge a proposal into the building's main line while one fails on its head, as it refuses one that lacks an owner's approval (Part XVI). A building that has no suite of its own requires every suite a run runs. A warning never blocks; nor does an info, a skipped finding or a stale one.

## 4. A check

A check is a file of its suite's folder, `tests/<id>.json`, `{format, id, version, says, severity, source, params?, when?, needs?, applies?, requires, fix?, fixtures}`, `format` being `"openeik-check/0.1"`:

1. **Its id** is its file's name, as a record's id is (Part III, 4): a name as a suite's is (section 3, rule 1). A validator reports a check whose `id` is not its file's name (`checks-id`). Its **qualified id** is `<suite>/<id>`.
2. **Its version** is an integer from 1, raised whenever what it requires changes, so that a waiver of an earlier version no longer applies (section 8, rule 2).
3. **`says`** is the sentence, as the person said it, in the language of its suite. It is what a report shows, and what the fixtures prove.
4. **`severity`** is what a failure is: `error`, `warning` or `info` (section 9, rule 2).
5. **What it applies to and what it requires.** `applies` selects the elements it applies to (section 5), and `requires` is one rule (section 6), which each of them must hold. An analysis check (section 6.5) applies to result sets, and gives no `applies`.
6. **Its parameters**, `params`, 0 to 20 by their names, each `{type, says, unit?, min?, max?, default?, tighter?}`: its `type`, `number`, `string`, `boolean`, `list` (of numbers, strings and booleans) or `table` (a list of objects, a table's rows); what it is, its unit and bounds; the value it takes where no layer gives one; and which way a layer above may change it (section 3, rule 4).
7. **When it is run.** A check is **skipped** as a whole, and says why, an info that blocks nothing, where a parameter its `when.params` names is not given; where its `when.since` says that the rules it checks do not apply to the project (below); where none of the selectors of `needs.any` selects an element of the model, `needs.says` saying what the model lacks ("no air system is modelled"); where it applies to nothing; and where its rule reads data the model does not hold (section 6.3). So a check never fails for want of data: a model that does not hold what a check reads is told so.

   **Rules by the project's day.** A code's rules apply to a project by the day its application for a permit, or its notification, reached the authority (section 14.2), a fact of the project its permit gives once, `applied` (Part II, 2.5; open question 178). `when.since`, `{day, rules?, before}`, gives the first day of application the check's rules apply from, `day`, `YYYY-MM-DD`; where a transition lets a project that applied before `day` choose them, their name, `rules`, by which the project's permit gives its choice, `newRules`; and what a project applies in their place before `day`, `before`, naming the rules by their numbers. The check is run where the project's `applied` is `day` or later, or where its permit's `newRules` gives `rules` `true`; else it is skipped, and says why: that the permit gives no day; that the project applies, in their place, what `before` names, its choice `false`; or that it applied before `day` and its permit does not say which it applies. A permit's `applied` that is no day is its schema's error (Part II, 2.5), and the check is skipped, saying so.
8. **Its source**, `{kind, publisher?, document?, paragraph?, note?}`: `practice`, common practice; `client`, a client's requirement; or `rule`, a public rule, named by its `publisher`, its `document` and its `paragraph`, each required. A check carries no text of a standard or a regulation: it names the rule, and its `says` is the person's own sentence.
9. **Its fixtures**, `{pass, fail}`, each 1 to 20 small buildings, each a model of the version its suite is written for in the single-file form at `tests/<id>/<name>.json` in its suite's folder: its file's name, or `{model, params?, elements?}`, the parameters it is run with besides its check's defaults, and of a failing fixture the ids of exactly the elements that fail. A validator reports a fixture its suite's folder does not hold (`checks-fixture`). Section 11 says what they prove.
10. **`fix`** is what a person does about a failure, in a sentence.

## 5. Selecting elements

1. **A selector** is `{category?, where?, contains?, anyOf?}`, each it gives holding: the element is of the category, or of one of the categories; each member `where` names holds its condition; it is a room that holds an element `contains` selects (section 7.1); and one of the selectors of `anyOf` selects it.
2. **A condition** is a value the member equals, or `{equals?, in?, notIn?, present?, min?, max?}`, each it gives holding: equal to the value; one of the list's; none of them; given or not; a number at least or at most the bound. A value is given, or a parameter's, `{param}`; a member whose value is not given holds no condition but `present: false` and `notIn`.
3. **A member** is named by its names joined by dots, `offset`, `mep.size`, `room.unit`; a member of the element's type by `type.` before them, `type.terminal.kind`, `type.room.use`; or a derived value: `@system`, a run's kind of system, its own `mep.system` else its type's (Part II, 6.9), or a terminal type's `terminal.system`; `@flow`, a terminal's flow in l/s, its own `terminal.flow` else its type's; `@thickness`, a layered element's thickness, its type's layers' together, else its `width`; `@downpipe`, whether a pipe is a downpipe: one that a gutter hosts, or one of the system `storm` that names no host and falls more than it runs, its ends' heights (`mep.z`) apart by more than 0 and at least the length of its line in plan, which a storm pipe in the ground never is; `@unit`, the dwelling an element belongs to, a room's `room.unit`, or a door's or a window's, the dwelling whose rooms are on both its sides (section 7.4); `@unitLevels`, the number of levels the rooms of that dwelling stand on; `@clearWidth` and `@clearHeight`, a door's or a window's clear opening, wide and high (section 7.4, rule 4), not given where it cannot be known; and a member of the room on a door's or a window's left or right (section 7.4, rule 1), after `@left.` or `@right.`, `@left.type.room.use`, or that room's id, `@left`, `@right`, which is not given where no room is on that side.
4. **A building as it will stand.** A check never selects, nor reads, an element whose `status` is `demolished`: it checks the building as it will stand. A check that should leave out the existing elements says so in its selector (`{"status": {"notIn": ["existing"]}}`).

### 5.1 Room uses

Part II, 5.5 gives a room type's `use` as a plain string, a national code among others (Part II, 8, rule 3), and a check that applies to wet rooms or to bedrooms cannot read one without a list. This section gives a language-neutral vocabulary of uses, which a writer SHOULD write in `room.use` where one fits, and a national code otherwise:

| `use` | The room |
|---|---|
| `bathroom` | a bathroom or a shower room: a room for personal hygiene with a bath or a shower |
| `wc` | a room with a WC and no bath or shower |
| `laundry` | a laundry or a utility room with a washing machine |
| `kitchen` | a kitchen: a room for cooking |
| `dining` | a room for meals |
| `living` | a living room: a room for social life |
| `bedroom` | a room for sleep and rest |
| `hall` | a hall, an entrance or a passage |
| `storage` | a store, a wardrobe or a cupboard one walks into |
| `technical` | a plant room, a room for meters, a shaft or another room for the building's services |

A pack that reads a national code adds it to its checks' parameters, a list that a layer may lengthen (section 3, rule 4): the base suite's wet rooms are `bathroom`, `wc` and `laundry`, to which a Swedish pack may add its own codes. A check reads a room's `room.unit` (Part II, 6.3) as the dwelling, or other unit of occupancy, the room belongs to, where it gives one. A room of several uses, a kitchen with dining, takes the use of its main function: a list of uses is open question 172.

## 6. Rules

A rule is `{kind, …}`, of one of six kinds. Each gives, for each element its check applies to, a finding that passes, fails, or is skipped where it cannot be known, with what was **measured** and what is **required**. A rule never fails an element for want of data the model does not hold: it skips it, and says why.

### 6.1 A property

`{kind: "property", member, present?, equals?, in?, notIn?, min?, max?, unit?}`: a value present on the element, or in range. The element passes where its member holds each condition given (section 5, rule 2) and fails where it does not; one that does not give the member fails where `present` is required, and is skipped otherwise.

### 6.2 A relation

`{kind: "relation", path}`: elements connected to the element. `path` is 1 to 5 steps, each `{relation, to, says}`: from the elements the step before reached, the first step from the element itself, the elements related to each by `relation` that `to` selects. The element passes where the last step reaches one, and fails where a step reaches none, its message `no <says>`. Where a step reaches none and its relation cannot be read for one of the elements it starts from, a room that has no boundary for one, the element is skipped, not failed, since that element might have reached one: a check never fails for want of data (section 4, rule 7). The relations:

1. **`contains`**, of a room: the elements on its level whose point lies in its boundary (section 7.1). A room that has no boundary holds nothing a check can know: where the first step's relation cannot be read, the element is skipped.
2. **`reaches`**: the element itself, and the elements its network reaches, either way along it, and through a terminal only from one of its ports whose system carries air to another that does (Part II, 6.9's table; Part IV, 12.9; Part II, 6.9.1): air goes on through an exhaust air heat pump, a heat exchanger or a fan to the duct beyond it, and nothing goes on through a terminal by water.
3. **`hosts`**: the elements whose `hostId` names it; **`hostedBy`**: the element its `hostId` names.
4. **`drainedBy`**, of a gutter: its downpipes (section 7.2, rule 3).
5. **`sameUnit`**, of a room that names its dwelling: the rooms of that dwelling, itself among them (section 7.4, rule 2). A room that names none is skipped. Where a room that names no dwelling is one the step's `to` selects, the step cannot know whether that room is of the dwelling, as a model whose dwellings are named on some of their rooms leaves out the others: where the path then reaches none, the element is skipped, not failed, its message naming that room, and a sum over the step is not known (section 6.4). A model whose rooms each name their dwelling is checked in full.
6. **`openings`**, of a room: the doors and windows one of whose sides it is, and the windows of a roof over it (section 7.4, rule 1). A room that has no boundary is skipped. A roof's window, an entry of its `roof.windows` (Part II, 6.3), is read as a window `<the roof's id>/<its id>` of the type it names, its `width` across the slope its width and its `length` its height, on its roof's level; an opening with no window in it (`openingOnly`) is none.

A check that a dwelling has something applies to the dwelling's rooms, and a finding is given on each of them, by `sameUnit`: a dwelling is no element, and a person who reads the findings sees the whole dwelling. The base suite's first check is a relation: from a wet room, `contains` an extract terminal; from it, `reaches` a unit that handles the air, an air handling unit, an FTX unit or an exhaust air heat pump; a fan; or an exhaust to the outdoors, an exhaust grille, an outdoor grille or a roof hood.

### 6.3 A geometry

`{kind: "geometry", inside?, outside?, behind?, tolerance?}`: the element's footprint (section 7.3) against a plan's limits (Part II, 2.4), each list naming kinds of limit: `inside`, the footprint lies inside the union of the limits of those kinds; `outside`, it lies outside each of them; `behind`, it lies on the side of each line of those kinds that a building may stand on. Each is measured at the footprint's corners as how far it lies past the limit, in mm, the greatest of them the measure; the element passes where it is at most `tolerance`, an expression (section 6.4), 0 where it is left out. A building that holds no limit of the kinds the rule names skips the check as a whole: the rule reads data the model does not hold.

### 6.4 A quantity

`{kind: "quantity", value, atMost?, atLeast?, unit?}`: a number of the element against a bound. Each is an **expression**: a number; a parameter's, `{param}`; a measure of the element (section 7), `{measure, …}`; a product, `{product: [expression, …]}`; the largest or the smallest of several, `{max: [expression, …]}` or `{min: [expression, …]}`; one less another, `{difference: [expression, expression]}`; or a sum of a measure over related elements, `{sum: {relation, to, measure}}`, or over the elements a path of relations reaches, `{sum: {path, measure}}`, each step `{relation, to}` from the elements the step before reached, each element once: 0 where none is related, and not known where a relation cannot be read, where a step of `sameUnit` may leave out a room that names no dwelling (section 6.2, rule 5), or where a measure of one of them is not known. The element passes where `value` is at most `atMost` and at least `atLeast`, within 10⁻⁹, and is skipped where any part of them cannot be known, saying which.

### 6.5 An analysis

`{kind: "analysis", result: {kind, app?}, value, atMost?, atLeast?, unit?}`: a value an application's result set holds (Part VI, 8.2), a structural analysis's highest utilisation or an energy balance's energy use. The check applies to the result sets of the building's application folders whose manifest's `kind` is `result.kind`, and whose `app.name` is `result.app` where it gives one; `value` names a number of the manifest by its members joined by dots, `summary.maxUtilisation`. Of each model folder (Part VI, 8.1), its result sets that are **current** (Part VI, 8.4) are judged, each a finding on the manifest's path; where none is, the newest by `made.at` is **stale**: its finding says so, a warning that blocks nothing, since what it says was computed from another building. A building that holds no such result set skips the check.

### 6.6 Outside data

`{kind: "outside", list: {param}, match, count?}`: the element against a supplied list, a parameter of the type `table`, which a suite gives from a file of its `params/` (section 3, rule 4). `match` pairs a member of the element (section 5, rule 3) with a column of the list: the element passes where a row's columns equal its members, and fails where none does. With `count`, a column of how many a row holds, a row is taken by no more elements than it holds, the elements in the code-unit order of their ids; one left over fails. A beam whose section is on a supplier's list of surplus sections, and of which the supplier has enough, is such a check.

## 7. Measures

What a check reads that no record holds is derived from the records, as a body is (Part IV), and never stored.

### 7.1 A room and what it holds

1. **Its boundary** is Part IV, 7.5's: a room drawn by hand, its outline; one placed by a point, the face of its level's plan that holds the point. A room that has none holds nothing a check can know.
2. **What it holds** (`contains`): the elements on its level whose point, their profile's first, lies in its boundary or on it, and in none of its holes.
3. **A terminal's flow** (`flow`) is its own `terminal.flow`, else its type's, in l/s (Part II, 6.9).

### 7.2 A gutter

1. **Its eave line** is Part IV, 4.7, rule 1's: from the corner of its roof's extent at its edge's start to the one at its end.
2. **Its catchment** (`catchmentArea`, m²) is the plan area of the part of its roof's extent (Part IV, 4.4, rule 3) where the plane of its edge is the lowest of the roof's planes (rules 1 and 2): the face whose rain runs to the edge. A gutter on an edge that defines no slope, of a roof some of whose edges do, takes no water by the planes: its catchment is 0. A roof none of whose edges defines a slope drains by falls no record holds: its gutters' catchment is not known.
3. **Its downpipes** (`drainedBy`) are each pipe whose `hostId` names it, as `mep.downpipe` makes one (Part V, 2.3.1, rule 26), and each other downpipe (section 5, rule 3, `@downpipe`), one that another gutter hosts or a storm pipe that falls more than it runs, one of whose ends lies within 300 mm of its eave line in plan: a downpipe at a corner that two gutters meet at drains both, whichever of them hosts it, and a storm pipe in the ground under the eave drains none. Each stands at the point of the eave line nearest its nearer end, at a distance along it from its start.
4. **Tables of capacity.** OpenEik copies no standard's table. A gutter's capacity is read from a table a check's parameter gives, rows `{shape: "halfRound", diameter, flow}` or `{shape: "box", width, depth, flow}`, the flow in l/s that a level gutter of that inner section carries to an outlet at its end, from a manufacturer, a pack or a calculation; and a downpipe's from rows `{diameter, flow}`. A gutter carries the greatest flow of the rows of its shape that fit inside its type's `gutterProfile`, a half-round's diameter at most its own and a box's width and depth at most its own; a downpipe the greatest of the rows whose diameter is at most its own, its `mep.size`, else its `width`. Where no row fits, it is not known.
5. **What they carry** (`drainCapacity`, l/s): each downpipe drains the stretch of the eave line nearer to it than to any other, its reach to each side a level gutter run to an outlet at its end, and the catchment's flow is shared along the eave line by length. With L the eave line's length, the gutter and its downpipes carry Q where, for each reach r of length l_r, Q · l_r / L is at most the gutter's capacity C_g, and for each downpipe j that drains s_j of the line, Q · s_j / L is at most its capacity C_j: Q = min over them of C_g · L / l_r and C_j · L / s_j. It is not known for a gutter with no downpipe, and where no row fits.

The base suite's capacity check holds a gutter's catchment times the design rainfall, a parameter, to what it carries. A gutter of the house of section 12, a half-round of 125 on a roof whose south face drains 31.5 m², with one downpipe 200 mm from its eave line's east end, 9000 mm long, carries 0.8 · 9000 / 8800 = 0.818 l/s by a table that gives the half-round 0.8 l/s and its downpipe 1.2 l/s; at 0.02 l/(s·m²) its rain is 0.63 l/s, and it passes; at 0.03, 0.945 l/s, and it fails. The capacities are illustrative, of no product and no code.

### 7.3 A footprint and a plan's limits

1. **A wall's footprint** is the band its layers fill along each segment of its line, its thickness (section 5, rule 3) about the line (Part IV, 4.1), as its four corners for each segment. Any other element's is its profile's points.
2. **How far past a limit**, in mm: past a building limit, a corner's distance to the nearest of the outlines of the kinds named where it lies outside all of them, else 0; into a no-build area, its distance to the outline's edges where it lies inside it, else 0; past a facade line, its distance to the line's nearest segment where it lies on the line's left, walked from its first point (Part II, 2.4, rule 3), and 0 on the other side, on the line, or nearest one of its two ends beyond it.
3. **At its corners.** The measure is taken at the footprint's corners. A footprint that spans a no-build area with no corner in it, or an outline that is not convex whose edge it crosses between two corners, is not found by it: a later version may measure the whole footprint (open question 174).

### 7.4 A dwelling, and a door's or a window's sides

1. **A door's or a window's sides.** Of a door or a window hosted by a wall of two points, the room on each side of the wall at the middle of the opening, `along + width / 2` along the wall from its first point: of the rooms on the wall's level, the first by its id in code-unit order whose boundary (section 7.1) holds the point 100 mm past the wall's face, square to the wall, its thickness (section 5, rule 3) about its line. Its **left** is on the left of the wall's line, walked from its first point, a wall's exterior where it is an outer wall (Part I, 5.1), and its **right** on its right. A side no room's boundary holds leads outdoors, or into a space no room is drawn for: a check reads it as no room. A roof's window (section 6.2, rule 6) has its **left** inside, the room under it: of the rooms whose boundary holds its `center` in plan, those on the highest level that is not above its roof's level, the first by its id; and its **right** outside, the outdoors, no room. Another opening whose host is no wall has no sides a check can know.
2. **A dwelling** is the rooms whose `room.unit` is one (Part II, 6.3; open question 171): `@unit` of a room is its `room.unit`, of a door or a window the dwelling whose rooms are on both its sides, and `@unitLevels` the number of levels its rooms stand on.
3. **A room's floor area** (`netFloorArea`, m²) is Part IV, 7.5, rule 6's: its boundary's area, less its holes'. A room that has no boundary has none.
4. **A door's or a window's clear opening** (`clearWidth`, `clearHeight`, mm) is its frame's, Part IV, 4.3.1, rule 3's, of its type's `openingFamily`: W − 2g − 2fw wide, and H − g − fw high for a door, whose frame has no sill, or H − 2g − 2fw for a window, W and H its element's `width` and `height`, fw its family's `frameWidth` and g its `gapInsulation`. An opening whose type has no `openingFamily` has none a check can know. It is the frame's clear opening: the passage past an open leaf and its stop is narrower, by what no record holds.

## 8. Waivers

1. **The file.** A building's waivers are `checks/waivers.json`, `{format: "openeik-waivers/0.1", waivers}`, each `{check, version, element, reason, owner, until}`: the check's qualified id, the check's version, the element's id, why the finding is accepted, who answers for it and the last day it holds, `YYYY-MM-DD`. A caller MAY give a run more.
2. **What it waives.** A waiver turns a failure of that check, at that version, on that element, to **waived**, on each day of a run up to its `until`. A failure the element's id is the same in each version of the building, so a waiver survives the building's new versions; a check whose version is raised is a new requirement, and a waiver of its earlier version waives nothing (`otherVersion`).
3. **Its reason and owner** are text, 1 to 2000 and 1 to 200 characters. Where the building has `project/owners.json` (Part XVI), the owner SHOULD be a party of it by its id.
4. **Its last day.** A waiver past its `until` waives nothing: the finding fails, and names the waiver that ended (`expired`). A runner judges it by the day it runs on, or by a day its caller gives.
5. **What it does not do.** A waiver waives a failure, and nothing else: it turns no skipped finding and no stale one, and a waived finding still counts in a run's result as waived, never as passed.

## 9. A run

1. **What it runs.** A runner runs a building's own suite, `checks/suite.json`, and the suites it extends, found as section 3, rule 3 says; a building that has none, the base suite, in the newest version the runner has, unless a suite the run runs pins a version of it, which it runs in its place; each suite its caller gives, with the suites each extends; and the packs of the site's country it picks, with the suites each extends (section 3, rule 2). It runs each check once, with the values its layers give its parameters (section 3, rule 4), on the building's elements (section 5, rule 4) and the waivers (section 8).
2. **A finding** is of one check on one element, or on one result set of an analysis: `pass`; `fail`, at its check's severity; `waived`, at its check's severity; `skipped`, an info; or `stale`, a warning. It names the check, its suite and version, the element by its id and its record's path without `.json` (Part VI, 8.3, rule 1), or the result set's manifest by its path, and gives what was measured, what is required (`{atLeast?, atMost?, equals?, in?, notIn?, present?}`), the unit, a message, the check's `fix` where it fails, and the waiver that matched it.
3. **A check's status** in the run is `skipped` where it is skipped as a whole (section 4, rule 7), and otherwise `fail` where a finding of it fails, else `stale` where one is stale, else `waived` where one is waived, else `pass` where one passes, else `skipped`.
4. **Its result** is `{format: "openeik-run/0.1", at, suites, notes?, checks, findings, summary}`: the day it judged waivers by; each suite, its version, layer, whether it is required (section 3, rule 6), where it was found and, of a pack picked by the site's country, `picked`; its notes, what it says of the run as a whole, each an info, that the site gives no country among them; each check, its qualified id, version, sentence, severity, source, status, the values it ran with and its counts; each finding; and the counts of the checks by their status and of the findings that fail by severity, a stale finding a warning and a skipped one an info, with `blocking`, whether a finding of a required suite fails at the severity `error`.
5. **Its verdict.** A run fails where a finding fails at the severity `error`, whatever suite it is of: a runner's command exits with a failure then, as a validator does on an error. A host blocks a merge by `blocking` alone (section 3, rule 6).
6. **A run kept in the building.** A runner MAY keep a run in the building as a result set of Part VI, 8, the folder `checks/` its model folder: its selection, `checks/source.json`, selects every record list the building holds and, by their paths, `project/plan-limits.json` where the building holds it and each result manifest an analysis check read (Part VI, 8.4.1); its manifest, `checks/results/<run>/manifest.json`, is of the `kind` `"checks"`, its `engine` naming each suite and version, its `summary` the run's; and the run's result is `run.json` beside it. Its intent files are those of `checks/` outside `results/`: its tests, suites, parameters' files, waivers and selection. So a kept run is current while no record, test, suite, parameter or waiver it read has changed, and stale once one has, by Part VI, 8.4 and nothing more. Part VI, 8.6 says which runs to keep.
7. **A run refused.** A runner refuses a run, and says why, where a file of the building's `checks/` does not read or validate (`checks-schema`), a suite it needs cannot be found, is of the wrong layer or is a pack of another country than the site's (`checks-suite`, section 3, rule 2), or a value of a parameter is refused (`checks-param`): it runs no part of it.

## 10. A host's check runs

A host that holds the building posts a run on a proposal as its check runs (EikHub's `POST …/proposals/{n}/checks`), one for each suite of the run, so that a building's required suites are required checks by their names:

| A check run | From the run |
|---|---|
| `name` | the suite's name |
| `state` | `failure` where a finding of the suite fails at the severity `error`; `neutral` where each of its checks is skipped; `success` otherwise |
| `summary` | the suite, its version, and its checks counted by their status |
| `head` | the version the run ran on |
| `perElement` | each finding of the suite on an element or a result set: its `id`, the element's, and its `path`; its `state`, `success` for a pass, `failure` for a failure at the severity `error`, `warning` for one at another severity and for a stale finding, `neutral` for a waived or a skipped one; its message, the check's qualified id and the finding's |

A finding of no element and no file, a check skipped as a whole, shows in the summary alone.

## 11. Proving a check

1. **A self-test** runs each check of a suite on each of its fixtures, with its parameters' defaults and the fixture's own `params`, and no waiver.
2. **A passing fixture** MUST give at least one finding that passes and none that fails: a fixture on which a check is skipped proves nothing.
3. **A failing fixture** MUST give at least one finding that fails; where it names `elements`, exactly those elements fail.
4. **A fixture is a valid model.** A fixture a validator refuses proves nothing of the check, and a self-test reports it.
5. **A suite whose fixtures do not prove its checks** SHOULD NOT be published, pinned or required. A runner's self-test of a suite fails where one fixture is not as its check says.

## 12. The universal base suite 0.1

*Informative, but for its rules, which are its checks' own.* The base suite, `openeik-base` 0.1.1, ships with the tools and runs on a building that has no suite of its own. It holds checks the current data supports well, each jurisdiction-free, each with fixtures that pass and fail, all on one small house: a 8000 by 6000 mm plan, a bathroom in its south-west corner with an extract valve, an FTX unit, an extract duct between them, and a gable roof with a half-round gutter and a downpipe on each eave. Besides the house, a check's passing fixtures are the common buildings it must not fail, each the house changed in one way: an exhaust air heat pump in the FTX unit's place, its exhaust duct rising to a roof hood; a heat exchanger there, which the extract passes through to the roof hood; a fan in the bathroom's wall and no duct; the bathroom's duct run through the wall to an outdoor grille; a plant room with a floor drain and no extract; and a hipped roof with a gutter on each eave and a downpipe at two corners. A check that fails a building of this kind fails its own fixture, and no runner's self-test lets it pass (section 11).

**Its versions.** A version of the base, once released, is never changed: what a check requires changes in a new version of the suite, and the check raises its own (section 4, rule 2), so that a waiver of the earlier one waives nothing. The tools ship each version they have released, 0.1.0 and 0.1.1, so that a suite that pins an earlier one still runs (section 3, rule 3). 0.1.1 was released on 18 November 2026, after `wet-room-extract` 1 failed the WCs of a customer's house whose extract ducts ran to an exhaust air heat pump and on to a roof hood. It changed four checks, each to version 2, and no other:

| Check | 0.1.0 | 0.1.1 |
|---|---|---|
| `wet-room-extract` | ends `airHandlingUnit`, `exhaustGrille`, `fan`, `ftxUnit`, `roofHood`; wet fixtures `wc`, `shower`, `bathtub`, `washingMachine`, `floorDrain`; extracts `extractAir`, `fan` | ends `heatPump` and `outdoorGrille` besides (Part III, 4.4, rule 3); wet fixtures `wc`, `shower`, `bathtub`, a floor drain and a washing machine standing in garages, plant rooms, kitchens and halls too; extracts `kitchenHood` besides; a room whose `status` is `existing` left out |
| `wet-room-extract-flow` | wet fixtures and extracts as above; run on a model with no air system, its wet rooms failing at 0 l/s | as above; skipped where no air system is modelled, as `wet-room-extract` is |
| `roof-drains` | skipped where no storm pipe is modelled; a storm pipe in the ground under an eave counted as its downpipe | skipped where no downpipe is modelled; a downpipe is one a gutter hosts or a storm pipe that falls more than it runs (section 5, rule 3) |
| `roof-drain-capacity` | the same rule | the same rule, its relation `drainedBy` read anew (section 7.2, rule 3) |

The same day the proposal changed two rules of its own, which a runner applies to every version of every suite it runs: `reaches` goes on through a terminal by air (section 6.2, rule 2), and a downpipe at a corner that two gutters meet at drains both (section 7.2, rule 3). A check whose relation reads them raised its version with the suite's.

| Check | Says | Rule | Parameters | Known limits |
|---|---|---|---|---|
| `wet-room-extract` | Every wet room has an extract terminal whose ducts reach an air handling unit or an exhaust to the outdoors. | relation: a wet room not `existing` `contains` a terminal of `extractKinds` (`extractAir`, `fan`, `kitchenHood`), which `reaches` one of `extractTo` (`airHandlingUnit`, `ftxUnit`, `heatPump`, `fan`, `exhaustGrille`, `outdoorGrille`, `roofHood`) | `wetRoomUses` (`bathroom`, `wc`, `laundry`; more is tighter), `wetFixtures` (`wc`, `shower`, `bathtub`; more is tighter), `extractKinds`, `extractTo` | A wet room is a room of one of the uses, or one in which a WC, a shower or a bath stands; a pack that holds a room with a floor drain or a washing machine a wet room adds them. Skipped where no air system is modelled; a room with no boundary is skipped. A terminal is in a room by its point on the room's level. The ducts are followed through a terminal by air alone. |
| `wet-room-extract-flow` | Every wet room's extract terminals together take at least the extract flow given for a wet room. | quantity: the sum of the flows of the room's extract terminals, at least `extractFlow` | `extractFlow`, l/s, no default; higher is tighter | Not run until a pack or the project gives the flow, and skipped where no air system is modelled. A terminal that gives no flow, nor its type, skips the room. |
| `roof-drains` | Every roof edge with a gutter drains to a downpipe. | relation: a gutter is `drainedBy` a pipe | none | Skipped where no downpipe is modelled (`@downpipe`): a model whose storm water runs in the ground and whose downpipes are not drawn yet is told so, and fails nothing. A downpipe that names no host, or that another gutter hosts, counts where it stands within 300 mm of the eave line: at a corner two gutters meet at, it drains both. |
| `roof-drain-capacity` | Every gutter and its downpipes carry the rain that falls on the part of the roof they drain. | quantity: `catchmentArea` × `designRainfall` at most `drainCapacity` | `designRainfall`, l/(s·m²); `gutterCapacity` and `downpipeCapacity`, tables; none has a default | Not run until all three are given: no free table of gutters' capacities exists that is no code's. A flat roof's catchment, and a section no row fits, are not known, and skip the gutter. The flow is shared along the eave line by length, exact for a rectangular face. A roof valley or a gutter fed by another roof is not counted, and a downpipe at a corner is held to each of its gutters' flows alone, not to their sum. |
| `facade-in-plan-limits` | The building's walls stand inside the plan's building limits, behind its facade lines and off its no-build areas, within a tolerance. | geometry: walls not `existing`, inside `buildingLimit`, outside `noBuild`, behind `facadeLine` | `tolerance`, 100 mm, about a line's width on a plan printed at 1:1000; lower is tighter | Skipped where the building holds no plan limits (Part II, 2.4). Measured at the footprint's corners (section 7.3, rule 3). Height limits are recorded and not checked in 0.1. |

A fifth check the research asked for, every room reachable through a door from another room or from outside, is left for a later version of the suite: open-plan rooms divided by room separators, levels joined by stairs and lifts, and doors in walls that bound a room on one side only are not told apart reliably by the records of 0.6, and the check would fail rooms that are reached (open question 175).

The suite's files are written by `tools/build-base-suite.mjs` and bundled with the tools; `openeik test --self` runs each check on its fixtures.

## 13. Conformance

1. **A runner** runs a building's suites as section 9 says, proves a suite by its fixtures as section 11 says, and refuses a run as section 9, rule 7 says. Its findings, each by its check, element and status, are what the cases of this part in the suite of 0.7 hold, as they were in `conformance/proposed/checks/`; its messages are its own.
2. **A validator** of 0.7, and one of 0.6 that applies the proposal, reports what section 2, rule 3 and section 4, rules 1 and 9 say, and a list of proposals that lacks it where a model's files show it (Part I, 9.12, rule 5).
3. **A reader** of 0.6 that does not apply the proposal keeps the folder's files (section 2, rule 5). One that reads a model listing it and reads a file of `checks/` refuses the model where it does not implement the proposal (Part I, 9.12, rule 4), and reads it otherwise, saying so (`proposal-skipped`).

Reference: none in the reference implementation yet. In `@openeik/tools`: `testFolder`, `testModel`, `selfTest`, `readSuite`, `baseSuite`, `shippedSuites`, `siteCountry`, `suitesOfFolder`, `resultSetOf` and `hostCheckRuns` in `src/checks.js`; `suiteOf`, `buildingSuites`, `checksChecks`, `checksSeen` and `checksProjectSeen` in `src/checks-files.js`; the measures in `src/check-measures.js`, among them `openingSides` and `clearOpening` (section 7.4); and the command `openeik test`, with `--self`, `--suite`, `--params`, `--json` and `--keep`.

## 14. Sweden's pack 0.1

*Informative, but for its rules, which are its checks' own.* Sweden's pack, `se-boverket` 0.1.0, is a jurisdiction's layer, its `country` `SE`, that extends the base suite 0.1.0; 0.1.1, 0.1.2 and 0.1.3 extend the base suite 0.1.1. It lives on EikHub, published there by the organisation `openeik`, the one EikHub trusts for packs; its source, its files and the script that writes them, is in the editors' repository of test packs, `openeik/test-packs`. It is no part of this repository, nor of the tools, which ship the base alone: a code's content belongs to its publisher, and the standard holds no regional profile ([CONTRIBUTING](https://gitlab.com/openeik/spec/-/blob/main/CONTRIBUTING.md)). The editors wrote it on the steward's decision of 16 November 2026 (open question 169), from their research of the same day, which read each requirement and its value in the official text of the regulation: each check is a binding rule (föreskrift), none general advice, named by its regulation's number, its chapter and its paragraph, and its value is the rule's. A runner picks it for a building whose site's `country` is `SE` where it is given the pack: EikHub gives its runner the packs it stores, and a building may keep the pack in `checks/suites/se-boverket/` (Part II, 2.2, rule 6; section 3, rules 2 and 3); a building may pin its version by extending it in its own suite. Its README says what each check reads, and what the pack leaves for later and why (open question 176).

### 14.1 Its checks

Of `se-boverket` 0.1.3, each check at its version 2 but `outdoor-air`, at its version 3: 0.1.2 added fixtures alone, and 0.1.3, which reads on `@openeik/tools` 0.6.13 and later, reads the larger of a dwelling's supply and extract and adds a roof window's view. A check is precise before it is complete: where the model does not show what it reads, it skips and says why, and each common configuration that must pass is a passing fixture of its check. The pack's README says what each reads, which configurations it must pass, and what 0.1.0 failed.

| Check | Says | Rule | Value | Known limits |
|---|---|---|---|---|
| `dwelling-hygiene-room` | Every dwelling has a room for personal hygiene. | BFS 2024:11 2 kap. 3 § | at least one | On each bedroom and living room of a dwelling: a room of the use `bathroom`, or one in which a shower, a bath or a shower's glass wall stands. Skipped where no room of the building shows one, as a use or a fixture not modelled cannot be told from a room missing. A unit of housing whose units are each for one person may share one (2 kap. 7 and 8 §§): it fails, and is waived with that reason. |
| `dwelling-cooking-space` | Every dwelling has a space for cooking. | SFS 2011:338 3 kap. 1 § | at least one | As above: a room of the use `kitchen`, or one in which a hob, an oven, a hood, a sink or a kitchen run stands. The ordinance's, so it has no day (section 14.2). |
| `view-out` | In every dwelling, each space for social life and each space for meals has a window to the outdoors. | BFS 2024:8 4 kap. 2 § | at least one | A room of the use `living` or `dining`; a window, or a glazed door with no room or an unheated room on its other side, in a wall that bounds, or a roof over, a living room, a dining room or a kitchen of its dwelling (section 6.2, rule 6), read together, so that an open plan divided by a room separator passes. |
| `outdoor-air` | Each dwelling's ventilation is designed for at least 0.35 l/s of outdoor air per m² of its floor area. | BFS 2024:8 3 kap. 5 § | 0.35 l/(s·m²) | The design flows of the extract terminals in the dwelling's rooms and of its supply terminals, the larger (open question 179): a balanced system takes in its supply, and an exhaust-only system's vents give no flow. The floor area leaves out rooms of the area classes `BIA`, `OPA` and `ÖVA` of SS 21054 and unheated rooms. An extract terminal that gives no flow skips the dwelling, and a supply terminal that gives none is not counted. |
| `door-passage-in-dwelling` | Every door between two rooms of a dwelling on one floor leaves a free passage of at least 0.76 m. | BFS 2024:12 1 kap. 6 § | 760 mm | The door's opening, its `width`, between two rooms of the uses `hall`, `living`, `dining`, `kitchen` and `bedroom`: a 7M door fails, and an 8M door passes until a rule can take the frame, the leaf and the stop from the opening. A modelled frame is a family's, often wider than its product's, so the frame's clear opening is not read. A dwelling on several floors is not checked. |
| `door-free-height` | Every door gives a free height of at least 2.00 m. | BFS 2024:9 2 kap. 25 § | 2000 mm | The frame's clear opening's height, of a door between two rooms people move between: a door to a store, a plant room or the outdoors, and a hatch drawn as a door, are not checked. Stairs and circulation rooms, which the rule names too, are next. |

The fixtures are one flat in Sweden, its site's country `SE` and its application received on 1 September 2026 (`permit.applied`), each changed in one way: one dwelling on one floor, a bathroom with a shower, a hall with the front door, a kitchen with a hob, a bedroom and a living room, a 9M door from the hall into each room, a window in each of the kitchen, the bedroom and the living room, and the dwelling's terminals with their design flows; and, for each check, the common dwellings it must pass, 23 of them, an exhaust-only system with an exhaust air heat pump, an open plan and a glazed balcony among them, and, since 0.1.2, two flats whose first's kitchen, or bathroom, names no dwelling, which a runner of `@openeik/tools` 0.6.12 or later skips (section 6.2, rule 5), and, since 0.1.3, a balanced system whose supply is set over its extract and a living room lit by a roof window alone.

### 14.2 The rules by the day a project applied

A project is under Boverket's rules of 2024, BFS 2024:6 to 2024:13, where its application for a building permit, or its notification, reached the municipality on 1 July 2026 or later; before that day it may apply them or, in their place, BBR (BFS 2011:6) and EKS, all of them together, and where its permit was decided before 1 July 2025 it applies BBR and EKS (BFS 2024:14, transitional points 2 and 3, to which each of the new regulations refers). So each check of a regulation of 2024 gives `when.since` (section 4, rule 7): `day` `2026-07-01`, `rules` `"BFS 2024:6-13"`, and what applies before, BBR and EKS. It reads the project's permit (Part II, 2.5): the day its application reached the municipality, `applied`, given once for every check that reads it, and where it applied before 1 July 2026, its choice, `newRules`, `true` where it applies the rules of 2024 and `false` where it applies BBR and EKS. Where the permit gives no day, or a day before 1 July 2026 and no choice, the check is not run, and says so; a project whose permit was decided before 1 July 2025 gives `newRules` `false`. `dwelling-cooking-space` reads the planning and building ordinance, which applies whatever rules a project is under, and has no day. Boverket's energy rules, BFS 2026:9, have their own: in force from 1 October 2026, and a project whose application reached the municipality before 1 October 2027 may apply BBR, in full, in their place; a check of them, none of which is in 0.1, gives `since` the day `2027-10-01` and the rules `"BFS 2026:9"`, which a permit chooses apart (open question 178).

A project in Sweden whose application reached the municipality on 10 May 2026, and which applies the rules of 2024, writes in `project/project.json`:

```json
{
  "project": {
    "id": "p-villa", "name": "A villa", "units": "mm", "upAxis": "Z",
    "site": {"country": "SE", "trueNorth": 0},
    "permit": {"applied": "2026-05-10", "newRules": {"BFS 2024:6-13": true}}
  }
}
```

*Note (informative).* Why tests live in the building. A test that lives in a tool is that tool's: a building moved to another tool loses it, and two tools test one building two ways. In the building, a test is versioned with what it tests, merged and reviewed as the building is (Part VI, 5), and owned by the party that leads the project (Part XVI), so that the client's sentence, once a test, cannot be weakened by a proposal that changes the building to pass it. Software keeps its tests beside its code, and a merge request runs them; a building's proposal runs its tests the same way, and a host shows each suite as a required check.

*Note (informative).* Why a sentence, a rule and two buildings. A rule written from a sentence may mean something else: "every wet room has an extract" read as "every room with a floor drain". The fixtures are the proof that the rule means the sentence: a reader of the sentence can look at the two small buildings and see the one that should pass and the one that should fail, and a runner shows that they do. Behaviour-driven development writes a test as a sentence a person reads beside the code that runs it; property-based testing proves a rule against its counterexamples. A check is both, at the size of a building.
