# 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.
7. **`waysIn`** and **`leadsTo`**, of a room, from 0.8, and in a model of 0.7 with the proposal `roomWayIn`: its ways in, and the rooms it leads to through them (section 7.5).

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. From 0.8, and in a model of 0.7 with the proposal `footprintsWhole`, a rule that gives `footprint` `"whole"` is measured at every point of the footprint (section 7.3.1). 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.2.1 A gutter on a roof that falls inward

*Part of 0.8, with [Part II, 6.3.8](https://openeik.org/spec/0.8/language#6.3.8). OpenEik 0.7 had it as the proposal `roofFalls` (open questions, 186): a runner applies it to a model of 0.7 only where it is asked for or listed (Part I, 9.12).*

By the editors' decision for 0.8 (open questions, 186). Section 7.2, rule 2 takes each face's rain to run to its own eave, as it does on a roof that rises.

1. **A roof that rises** keeps rule 2, each edge's plane with its rise (Part IV, 4.4.1, rule 1).
2. **A roof that falls inward** drains away from its eaves, into its valleys and down them to its low points, which rule 2 does not follow: a gutter's catchment on such a roof is not known, as a flat roof's is not, and a check that reads it skips the gutter, saying why (section 5). A later version may follow the water down the valleys.

The base suite's capacity check skips a gutter on Part II, 6.3.8's wing, wherever it hangs.

### 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: from 0.8, a rule that gives `footprint` `"whole"` measures the whole footprint (section 7.3.1; open question 174).

### 7.3.1 A footprint measured whole

*Part of 0.8. OpenEik 0.7 had it as the proposal `footprintsWhole` (open questions, 174): a proposal no model lists (Part I, 9.12, rule 7), which a runner and a validator apply to every model of 0.8, to a model of 0.7 only where their caller asks for it, and to a model of 0.1 to 0.6 never. A geometry rule's `footprint` is held to [`schemas/0.8/footprintsWhole/footprint.schema.json`](https://openeik.org/schemas/0.8/footprintsWhole/footprint.schema.json), which a check's schema, [`schemas/0.8/checks/check.schema.json`](https://openeik.org/schemas/0.8/checks/check.schema.json), names; `schemas/0.8/index.json` names the proposal in its `rules`.*

By the steward's decision of 25 November 2026, as the editors recommended (open questions, 174), its shape the editors' (question 126). Section 7.3 measures a footprint at its corners (rule 3), which is exact for a convex outline and a line, and misses a wall that crosses a no-build area with no corner in it, or a notch of a building limit between two of its corners. This section measures the whole footprint, by the distance section 7.3, rule 2 already defines, taken at every point of it.

1. **The rule's footprint.** A geometry rule (section 6.3) MAY give `footprint`, `"corners"` or `"whole"`: `corners`, the measure at the footprint's corners, as section 7.3 takes it and as a rule that gives none is measured; `whole`, the measure of rules 2 to 5. Only a geometry rule gives one: a runner refuses a check whose rule of another kind gives one, or that gives another value, and a validator reports it (`checks-schema`, section 2, rule 3).
2. **The footprint whole.** A wall's is the band of section 7.3, rule 1: each segment's four corners as an outline, and every point inside it. A slab's, a foundation's, a ceiling's or a roof's is its profile's outline (Part I, 5), closed from its last point to its first, and every point inside it. Any other element's is its profile's points alone, as section 7.3, rule 1 gives them: no record says what of its footprint lies between them.
3. **How far past a limit.** At each point of the footprint, the distance of section 7.3, rule 2: past the building limits of the kinds the rule names, into each no-build area, past each facade line. A point on the square to a facade line at one of its ends lies on the line's side of it, not beyond it. The measure is the greatest of them over the footprint, 0 where no point lies past a limit, and the element passes where it is at most the rule's `tolerance` (section 6.3).
4. **What it finds.** Every corner is a point of the footprint, so that where the corners find a footprint past a limit, the whole finds it past by as much or more; and it fails no element that the corners pass but where a point of its footprint does lie past a limit by more than the tolerance: a wall that crosses a no-build area with no corner in it, a wall across a notch of a building limit, a wall past a facade line shorter than the wall, a slab over a no-build area that lies whole inside it, where no edge of the slab reaches.
5. **Its precision.** A runner finds the measure within 0.001 mm: never more than the greatest distance, and less than it by no more than 0.001 mm. So a finding fails only where a point of the footprint lies past a limit by more than the tolerance.
6. **The base suite 0.1.2.** With the proposal, the universal base suite's version 0.1.2 raises `facade-in-plan-limits` to its version 2, whose rule gives `footprint` `"whole"`, and changes no other check (section 12). A waiver of its version 1 waives nothing of its version 2 (section 8, rule 2). Its fixtures are those of 0.1.1, and three more on the house: a no-build strip 1000 mm wide across the site, from x 3000 to 4000, which the north and the south walls cross with no corner in it, each 500 mm into it, and which fail; a notch in the building limit from its north edge down to y 5000, between x 3000 and 5000, which the north wall crosses with its corners inside the limit, 1000 mm outside it, and which fails; and the house on its limits, its building limit drawn on its walls' outer faces and the street's facade line along its south face, which passes.
7. **A proposal no model lists.** It binds a runner, what it measures of a check that asks for it and the version of the base suite it runs, and adds nothing a model holds or means: no record, no member of a record, no file (Part I, 9.12, rule 7). A caller asks for it; a writer lists it not, and a validator warns of a list that names it (`proposal-rule`). Of a model of 0.7, where it is not asked for, a runner reads a check as the schema of 0.7 holds it: it refuses one that gives `footprint`, and the run with it (`checks-schema`, section 9, rule 7), so that it never measures at the corners a check that asks for the whole. The newest base suite it then runs is 0.1.1, and it refuses a suite that pins 0.1.2, as one it does not have (`checks-suite`, section 3, rule 3). A run of a model of 0.8 applies it whatever its caller asks for.
8. **What it does not change.** No record, no measure of a check that gives no `footprint`, no relation, no other rule, and nothing a reader, a compiler or a bridge does. A released suite is never changed (section 12): the base suite 0.1.0 and 0.1.1 measure at the corners wherever the proposal is asked for, and a building that pins one of them is checked as it was.

The house of section 12 with a no-build strip from x 3000 to 4000 across its site: the south wall's band, from [0, −100] to [8000, 100], has no corner in the strip, so that its corners lie 0 mm into it and it passes; measured whole, its points at x 3500 lie 500 mm into it, the strip's middle, and it fails at the base's tolerance of 100 mm, as the north wall does. A facade line from [6000, 50] to [2000, 50], walked from east to west so that the street, its left, is south, ends short of the south wall's corners, each of which lies beyond one of its ends; measured whole, the wall's outer face lies 150 mm past it from x 2000 to 6000, and it fails.

*Note (informative).* How a runner finds the greatest distance. Each edge of the footprint is cut where it meets a limit's edges and the squares at a facade line's ends; on each piece the distance is 0 all along, or the least distance to the limit's edges all along. Such a piece is halved until, on each part, one edge of the limit lies nearest all along, its distance convex there and so greatest at an end, or the part is shorter than the precision. Inside the footprint, the distance is greatest at a point three of the limit's edges, their ends or an end's square lie nearest to, as near to each: the plane is quartered into cells, and a cell in which two of them alone may lie nearest is left, as one whose distance, bounded at its corners, is no more than the greatest found. So a wall parallel to a limit, along which the distance does not change, is settled in one step, and a no-build area that lies whole inside a slab is found at its middle. A facade line of three points or more may turn from 0 to more where the segment nearest a point changes, and is read by its segments and its points one by one, each segment's line a cut. The reference implementation's search is `greatestReach`; it reaches 0.0001 mm.

*Note (informative).* Why by distance, and not by overlap. A footprint could be measured as a clash is found, by whether it meets the area it must keep out of, shrunk by the tolerance as a run is. That answers yes or no and gives a finding no distance to show, and a footprint shrunk by 100 mm on each side leaves nothing of a wall 200 mm thick or less, which would then pass wherever it stood. Section 7.3, rule 2's distance taken everywhere gives the corners' measure where they find one, and more only where a point does stand past the limit.

Reference: in `@openeik/tools`, `FOOTPRINTS_WHOLE`, `footprintsWholeApply`, `footprintMember` and `checkNeeds` in `src/footprints-whole.js`; `wholeFootprintOf`, `outsideReach`, `insideReach`, `lineReach` and `greatestReach` in `src/footprint-reach.js`; `readSuite`, `baseSuite`, `suitesOfFolder`, `testFolder` and `testModel` with `proposals`, a suite's `needs`; and `openeik test --proposal footprintsWhole`.

### 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.

### 7.5 A room's ways in

*Part of 0.8. OpenEik 0.7 had it as the proposal `roomWayIn` (open questions, 175): a proposal no model lists (Part I, 9.12, rule 7), which a runner and a validator apply to every model of 0.8, to a model of 0.7 only where their caller asks for it, and to a model of 0.1 to 0.6 never. A step's relation is held to [`schemas/0.8/roomWayIn/relation.schema.json`](https://openeik.org/schemas/0.8/roomWayIn/relation.schema.json), which a check's schema, [`schemas/0.8/checks/check.schema.json`](https://openeik.org/schemas/0.8/checks/check.schema.json), names; `schemas/0.8/index.json` names the proposal in its `rules`.*

By the steward's decision of 25 November 2026, as the editors recommended (open questions, 175), its shape the editors' (question 126). The base suite's research asked for a check that every room can be reached through a door, and the records of 0.6 could not tell it. Since 0.7 they hold most of what it needs: a door in a wall that bounds a room (Part IV, 7.5, rule 6), an opening that nothing fills (Part II, 6.5.2), a room separator on a room's boundary, and a straight, an L or a U stair's foot and head (Part IV, 7.3). This section derives a room's ways in from them, as a body is derived, and stores nothing: a list of a room's connections, or of a stair's landings by level, would be a second record of what the drawing shows, kept by hand and stale the day a door moves.

1. **A room's ways in.** Of a room that has a boundary (Part IV, 7.5, rules 2 to 4), each of these is a **way in**, on the stretches of its boundary that Part IV, 7.5, rule 6 finds:
   - a **door**, and an **opening** through its wall, one that gives no `depth` (Part II, 6.5.2), that stands on its wall's base, its `offset` 0 or none, as Part IV, 4.3.3, rule 4 reads one as a door: each in the room's walls as Part IV, 7.5, rule 6 finds a door there, its host a wall that a stretch of the room's boundary lies against, its opening beginning under the highest point of the room's ceiling and ending over its floor, and its span along its host overlapping by 1 mm or more the stretches against it. A room under a barrel vault, which has no ceiling by Part IV, 7.5, rule 5, takes for it the level plane its element's `height` over its floor (Part II, 6.2). A window, a recess and an opening that stands above its wall's base are no way in;
   - a **room separator** along which a stretch of its boundary runs, where what lies across it is not the room itself: a separator that ends inside the room's face, along which its boundary runs on each side (Part IV, 7.5, rule 2), divides nothing, and the point 1 mm out of such a stretch's middle, square to it and away from the room, lies in the room's boundary;
   - a **stretch of its boundary that lies against nothing** (Part IV, 7.5, rule 6), as a room drawn by hand may where no wall, column or room separator stands along its outline: the room lies open there, and its way in is the room itself;
   - a **stair** whose foot or head stands in it (rule 2).

   A stretch against a wall, a column or a roof that comes down through the floor is no way in; a stretch along a floor's edge is none, and leaves the room unsettled (rule 3).
2. **A stair's foot and head.** Of a stair that Part IV, 7.3 lays out, a straight, an L or a U stair, its **foot** is the point 100 mm before the middle of its first riser, back along its first flight, at its base; and its **head** is the point 100 mm past the middle of its last riser, along its last flight, at its top: its base its level's elevation plus its `offset`, and its top its top constraint's level's elevation plus that constraint's offset, else its base plus its `height` (Part IV, 5.1). Each **stands in** the room, of those whose floor (Part IV, 7.5) lies within 50 mm of its height, that is first by its id in code-unit order whose boundary holds the point; and in none where no room's boundary does, the stair leading there outdoors or into a space no room is drawn for.
3. **What no record lays out.** A way no record lays out may lead into a room, which a check therefore cannot settle (rule 5), where:
   - a stretch of its boundary runs along a floor's edge (Part IV, 7.5, rule 1), as a loft's does beside the void a ladder or a stair comes up through;
   - a stair stands in the building that Part IV, 7.3 does not lay out, a spiral stair, one on winders or one that repeats another (rule 7), or one that rule 1 gives no layout, and the room's floor lies no more than 50 mm under the stair's base and no more than 50 mm over its top, at any height over its base where its top cannot be found: where such a stair arrives, no record says;
   - a shaft stands beside it that is no stair's, its `hostId` naming none, and whose type's `shaft.purpose` is not `installation` (Part II, 6.3): its outline within 500 mm of the room's boundary in plan, the room's floor no more than 50 mm under the shaft's base and no more than 50 mm over its top. A lift or a stair in it may stop there, which no record says until a lift's stops are recorded (open question 176). A stair's own shaft is read by its stair; or
   - it has no ceiling by Part IV, 7.5, rule 5, and its element gives no `height`, so that which doors open into it rule 1 cannot tell.

   A door never leaves a room unsettled: its place along its wall is its record's (Part II, 6.1, rule 5), and rule 1 reads it by the room's own stretches against the wall, not by what lies on its other side, so that a door in a wall that bounds the room on one side only is its way in, whether it leads outdoors or into a space no room is drawn for.
4. **What a room leads to.** Through each way in a room **leads to** a room: through a door or an opening, each room on its sides (section 7.4, rule 1) but itself, and none where its other side is the outdoors or a space no room is drawn for; through a room separator or a stretch against nothing, the room on its level, first by its id in code-unit order, whose boundary holds the point 100 mm out of the stretch's middle, square to it and away from the room; by a stair, the room its other end stands in (rule 2). A room never leads to itself.
5. **Two relations.** With the proposal, a step of a relation rule's path (section 6.2) or of a sum's (section 6.4) MAY read two relations besides 0.7's seven, which [`relation.schema.json`](https://openeik.org/schemas/0.8/roomWayIn/relation.schema.json) names:
   - **`waysIn`**, of a room: its ways in, each element once, a door, an opening, a room separator or a stair, and the room itself where a stretch of its boundary lies against nothing (rule 1);
   - **`leadsTo`**, of a room: the rooms it leads to (rule 4).

   Of a room that has no boundary neither can be read, and of an element that is no room neither: the element is skipped (section 6.2). Where a way no record lays out may lead into a room (rule 3) and a step of either reaches none from it, the element is skipped, not failed, its message saying what may lead into the room, as for a room that names no dwelling (section 6.2, rule 5); and a sum over such a step is not known (section 6.4).
6. **The base suite 0.2.0.** With the proposal, the universal base suite's version 0.2.0 adds a check, `room-way-in`, at its version 1, to the checks of 0.1.2, which it changes not (section 7.3.1, rule 6). It says "Every room people move between has a way in: a door or an opening in a wall that bounds it, a room separator, an open side, or a stair that arrives in it."
   - **The rooms people move between** are the rooms whose `status` is not `existing` and whose type's use, `type.room.use` (section 5.1), is one of its parameter `roomUses`: by default every use of section 5.1's vocabulary but `technical`, so `bathroom`, `bedroom`, `dining`, `hall`, `kitchen`, `laundry`, `living`, `storage` and `wc`. A plant room, a room for meters and a shaft, a room for the building's services, may need no way in, and a void is no room. A pack adds its national codes to the list, which a layer above may lengthen and never shorten (`tighter` `more`, section 3, rule 4). A room of no use, or of a use the list does not hold, is not checked.
   - **Its rule** is a relation: `waysIn` reaches one, of any category (`to` `{}`).
   - **What it reports.** A room with no way in fails, at the severity `error`: its finding names the check, `openeik-base/room-way-in` at its version 1, and the room by its id and its record's path, measures 0 against at least 1, says that it has no way in, and gives the check's `fix`. A room with one passes, its message naming its ways in by their ids. A room that has no boundary, or that a way no record lays out may lead into (rule 3), is skipped, an info, its message saying why; and the check is skipped as a whole, saying so, where the building holds no door and no opening through a wall (`needs`, section 4, rule 7): a model whose doors are not drawn yet is told so, and fails nothing.
   - **Its fixtures** are the house of section 12 with a front door from x 3000 to 4000 in its south wall into the living room and a door from the living room into the bathroom, which passes; and, each changed in one way, six more that pass: the bathroom's door an opening that nothing fills; the bathroom entered from the outdoors alone; an open plan whose kitchen, divided from the living room by a room separator, has no door of its own; the bathroom open to the living room, the wall between them taken away; an upper floor whose bedroom a straight stair from the living room alone reaches; and the bathroom a plant room walled in; and four that fail the bathroom alone: walled in with no door, with a window alone, with a niche, and with an opening 900 mm over its floor.
7. **A proposal no model lists.** It binds a runner, the relations a check reads and the version of the base suite it runs, and adds nothing a model holds or means: no record, no member of a record, no file (Part I, 9.12, rule 7). A caller asks for it; a writer lists it not, and a validator warns of a list that names it (`proposal-rule`). Of a model of 0.7, where it is not asked for, a runner reads a check as the schema of 0.7 holds it: it refuses one that reads `waysIn` or `leadsTo`, and the run with it (`checks-schema`, section 9, rule 7), and a validator reports it (section 2, rule 3). The base suite 0.2.0 holds 0.1.2's facade check, which needs the proposal `footprintsWhole` (section 7.3.1, rule 7): a runner runs 0.2.0 as the newest base where it is asked for both proposals, and else the newest it may run, 0.1.2 where it is asked for `footprintsWhole` alone and 0.1.1 otherwise; and it refuses a suite that pins 0.2.0 as one it does not have (`checks-suite`, section 3, rule 3). A run of a model of 0.8 applies both proposals whatever its caller asks for, and so runs the base suite 0.2.0 as the newest, and a suite that pins it.
8. **What it does not change, and what waits.** No record, no relation of 0.7, no measure, and nothing a reader, a compiler or a bridge does; a released suite is never changed (section 12). That every room is reached from **outdoors**, and not only entered, waits until the records tell the outdoors from a space no room is drawn for, by which walls are outer ones, which Sweden's pack needs for a front door's height too, and say where a lift stops (open question 176). `leadsTo` is the relation such a check will follow.

The house of section 12, its rooms drawn by hand, with a front door 1000 mm wide in its south wall, from x 3000 to 4000, and a door 900 mm wide in the wall between the living room and the bathroom, from y 1000 to 1900: the living room's ways in are `door-bath` and `door-front`, and it leads to the bathroom, its front door leading outdoors; the bathroom's way in is `door-bath`, and it leads to the living room. Without the bathroom's door the bathroom has none, and fails. With a room separator from [5000, 100] to [5000, 5900], and the living room and a kitchen each placed by a point on either side of it, the kitchen's way in is `sep-kitchen`, and it leads to the living room.

*Note (informative).* Why the doors in a room's walls, and not a door's sides. Section 7.4, rule 1 gives a door one room on each side, by a point 100 mm past its wall's face at its middle; rule 1 here reads Part IV, 7.5, rule 6, which a compiler already derives for a room's quantities (`room#derived`, its `openings`). So a door is a way into each room whose walls it opens, one that spans the end of a partition among them; a door of a lower storey, in a wall that rises past the floor above, is no way into a room there; and a door whose other side holds no room is a way in all the same, which is what the records of 0.6 could not tell.

*Note (informative).* Precise before complete. A room drawn by hand short of its walls' faces lies against nothing all round, and passes, whatever its doors; a room whose stair, ladder or lift no record lays out is skipped and told why. Each is a room that might be reached, and a check never fails a room it cannot tell is walled in (section 4, rule 7).

Reference: in `@openeik/tools`, `ROOM_WAY_IN`, `roomWayInApply`, `wayInRelations`, `wayInNeeds` and `withoutWayIn` in `src/room-way-in.js`; `roomWays`, `stairEnds`, `heightsOf` and `boundaryDistance` in `src/room-ways.js`, on `roomsOf`, `ceilingOf`, `measureRoom` and `roomEdges` in `src/compile-rooms.js`, `stairLayout` in `src/compile-stairs.js` and `openingSides` in `src/check-measures.js`; the relations in `src/checks.js`; and `openeik test --proposal roomWayIn`.

## 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

*Informative, but for its rules, which are its checks' own.* The base suite, `openeik-base`, ships with the tools and runs on a building that has no suite of its own, in the newest version the runner has (section 9, rule 1): of a model of 0.8, 0.2.0, its facade check measuring a footprint whole and its check of a room's ways in among it (sections 7.3.1 and 7.5); of a model of 0.7, 0.1.1, or 0.1.2 where its caller asks for the proposal `footprintsWhole`, and 0.2.0 where it asks for that and for `roomWayIn` (section 7.5, rule 7); and of a model of 0.6 with the proposal `checks`, 0.1.1. 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, 0.1.1, 0.1.2 and 0.2.0, so that a suite that pins an earlier one still runs (section 3, rule 3), where the run applies the rules of 0.8 its checks need (section 7.3.1, rule 7, and section 7.5, rule 7). 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.

*Part of 0.8, with section 7.3.1; of a model of 0.7, with the proposal `footprintsWhole`*: 0.1.2, which the tools ship beside 0.1.0 and 0.1.1 and run of a model of 0.8 where a suite the run runs pins it, and as the newest of a model of 0.7 where a caller asks for the proposal and not for `roomWayIn` (section 7.5, rule 7), 0.1.1 remaining the newest they run of a model of 0.7 where it is not asked for. It changes one check, and no other:

| Check | 0.1.1 | 0.1.2 |
|---|---|---|
| `facade-in-plan-limits` | version 1: measured at the footprint's corners (section 7.3, rule 3) | version 2: its rule gives `footprint` `"whole"`, measured at every point of the footprint (section 7.3.1); three fixtures more, a wall across a no-build strip, a wall across a notch of the building limit and the house on its limits |

| 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); from 0.1.2, of 0.8, whole (section 7.3.1). Height limits are recorded and not checked in 0.1 or 0.2. |

A fifth check the research asked for, every room reachable through a door from another room or from outside, was left out of 0.1: 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).

*Part of 0.8, with section 7.5; of a model of 0.7, with the proposal `roomWayIn`*: 0.2.0, which the tools ship beside 0.1.0 to 0.1.2 and run of a model of 0.8, and of a model of 0.7 where a caller asks for it and for `footprintsWhole`, whose facade check it holds. It adds one check, and changes no other:

| Check | Says | Rule | Parameters | Known limits |
|---|---|---|---|---|
| `room-way-in` | Every room people move between has a way in: a door or an opening in a wall that bounds it, a room separator, an open side, or a stair that arrives in it. | relation: a room not `existing` whose use is one of `roomUses` reaches one by `waysIn` (section 7.5, rule 5) | `roomUses` (every use of section 5.1 but `technical`; more is tighter) | Skipped where the building holds no door and no opening through a wall. A room with no boundary is skipped, and so is one that a stair with no layout, a shaft beside it or a floor's edge on its boundary may lead into (section 7.5, rule 3). A room drawn by hand short of its walls lies open, and passes. That a room is reached from outdoors is not checked. |

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`. Of a footprint measured whole, section 7.3.1 names its own, and of a room's ways in, section 7.5.

## 14. Sweden's pack

*Informative, but for its rules, which are its checks' own.* Sweden's pack, `se-boverket`, is a jurisdiction's layer, its `country` `SE`, that extends the base suite: its version 0.1.0 extends the base suite 0.1.0; 0.1.1, 0.1.2 and 0.1.3 extend the base suite 0.1.1; and 0.2.0, of 25 November 2026, extends the base suite 0.2.0 ([7.5](https://openeik.org/spec/0.8/checks#7.5)), on the steward's word: "kör på, släpp svenska paketet på 0.2.0". 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.2.0, each check at its version 2 but `outdoor-air`, at its version 3, as in 0.1.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. 0.2.0 changes no check of the pack. It extends the base suite 0.2.0, which a runner runs of a building of 0.8, and of one of 0.7 where it is asked for the proposals `footprintsWhole` and `roomWayIn` (7.3.1 and 7.5). A building of 0.6, or a run of a building of 0.7 not asked for both, gets 0.1.3 on the base suite 0.1.1. Two fixtures of `outdoor-air` draw the extract ducts from the bathroom and the kitchen to the exhaust air heat pump, which the base check `wet-room-extract` had found missing. The pack adds no national room uses to the base suite's `roomUses`: no national list binds a Swedish model, and the Swedish classification of spaces is its publisher's. 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 or 0.2, 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.
