# Part XXII. Cost and work schedules

*Part of 0.6. OpenEik 0.5 had it as the proposals `costSchedules` and `workSchedules` (open questions, 151 to 154): a model of 0.5, read by 0.5's rules (Part I, 9.6, rule 3), is read by them only where a caller asks for them (decision D12) or where it lists them (Part I, 9.12), and a model of 0.1 to 0.4 never; a reader of 0.5 that does not apply them keeps `project/cost-schedules.json` and `project/work-schedules.json` as kept files (Part III, 7). Each applies [Part XXI](https://openeik.org/spec/0.6/quantities), the proposal `quantities` in 0.5, whose quantities it reads. The steward chose costs and time as a subject of 0.6 on 6 November 2026 ("Kostnad och tidplan (5D/4D)"); its shape is the editors' (question 126; question 152). The steward decided the same day where a project's prices are held, "Separat prislista (Recommended)" (question 151), the unit of time, "Hela arbetsdagar (Recommended)" (question 153), and that progress is in 0.6, "Med i 0.6" (question 154); what progress is measured by, which his answer leaves open, is written as the editors recommend it, which the steward's cut of 0.6, "Skär nu, alla 16 (Recommended)", took as it stood (section 12). Its schemas are in [`schemas/0.6/`](https://openeik.org/schemas/0.6/index.json), the files' at `project/cost-schedules.schema.json` and `project/work-schedules.schema.json`, a selection's and a rate list's in `costSchedules/` and its commands' in `commands/`, and its cases in the suite of 0.6, `conformance/` (section 11). `@openeik/tools` checks, works out and prints them since 6 November 2026, of a model of 0.6, and of one of 0.5 when asked.*

## 1. Status and scope

A cost estimate (5D) and a schedule of the work (4D) both start from a model: what is built, of which elements, and how much of each. Up to 0.5 a model says what is built and Part XXI says how much; what a project prices, in what order it builds and when, is each tool's own, kept in its own format beside the model and lost when the model changes.

This part says it in the model, in two files. A **cost schedule** is a list of cost items, each what is priced and how much of it: its quantity a quantity of Part XXI summed over a **selection** of elements, or a value stated by hand, and its codes classification references of systems OpenEik does not list (section 3). A **work schedule** is a list of tasks on a **calendar**, each its duration in working days, the tasks it follows and how, and the elements it builds or takes away (section 5). A work schedule's **progress** is reported to a **status date**: each task's actual start and finish, and the elements it has built, each on its day, or its share complete where it names none (section 5.8). What a tool reads of them is derived, as a body is: an item's quantity, a task's days, its floats and the critical path, a task's elements' quantities, and from the progress the forecast, the variance and, by a project's own rates, the earned value (section 5.9).

What it leaves out:

- **Prices.** No record and no file of a model holds a price, a rate, a cost or a quote (Part II, 12.1). A project's own rates are kept apart from the model, in a **rate list** (section 4), and an amount is worked out on reading, never stored. OpenEik ships no rate and lists no price book, and a vendor's codes and prices are no part of it.
- **A method's text.** How a contract measures is a method of measurement, named by the project (Part XXI, 8); a cost item reads the base quantities, and an application that applies a method keeps its own (Part VI, 8).
- **Resources.** Crews, plant and their costs per hour are the planning application's own.

### 1.1 The parts it extends

As Parts XIX to XXI do, its text stays in this part. These are the sections it extends, where a later version may move it:

- Part II: costs, prices and quotes never part of a record (12.1), a rule this part keeps and says where a project's own prices go (section 4);
- Part III: `project/cost-schedules.json` and `project/work-schedules.json` among the standard's files (3), and `.eik/rates/` among the hidden paths of a defined use (1, rule 1);
- Part V: the commands of section 6;
- Part VI: what an application keeps of an estimate or a programme of its own (8), beside these;
- Part VII: the operation `schedules` (section 7);
- Part XVII: who reports progress, the envelope's writer (section 5.8, rule 7);
- Part VIII: cost schedules, work schedules, calendars and tasks in a print of IFC (section 8);
- Security and privacy: where a price is and who reads it (2.5, rule 1).

## 2. A selection of elements

A cost item's quantity names the elements it measures, and a task the elements it builds or takes away, by a **selection**, held to [`selection.schema.json`](https://openeik.org/schemas/0.6/costSchedules/selection.schema.json):

| Member | Keeps |
|---|---|
| `elementIds` | these elements, by their ids (1 to 5000) |
| `typeIds` | the elements of these types |
| `categories` | the elements of these categories |
| `levelIds` | the elements on these levels |
| `status` | the elements of these statuses, `existing`, `new` or `demolished` (Part II, 6) |
| `tenderParts` | the elements bought in these tender parts (Part II, 11.1, rule 2), compared as they are written |

1. **What it keeps.** A selection gives at least one member. It keeps each element that every member it gives keeps; a member keeps an element that matches any of its values. An element that gives no `status` is `new`.
2. **Which elements.** The elements are the model's: the stored ones and the elements of the instances of placed copies, each under its id there (Part IV, 13). A selection is read against the model as it is: an element added later of a type it names is kept, one deleted is not.
3. **What the model lacks.** An id of `elementIds`, `typeIds` or `levelIds` that names no element, type or level of the model is reported, a warning (`cost-reference`, `work-reference`), and the selection keeps the elements that are there. The model stays valid: a delete of an element a selection names is not refused.
4. **Nothing kept.** A selection that keeps no element is reported, a warning (`cost-selection-empty`, `work-selection-empty`).

*Note (informative).* A selection by type is what an estimate and a programme name most: "the exterior walls", "the windows of type F2". It follows the model without being edited, as a type's sums do (Part XXI, 7). The criteria are Part VII, 4's filter's that read the records alone, and none that reads geometry or a session, so that every tool keeps the same elements.

## 3. Cost schedules

*Part of 0.6. OpenEik 0.5 had it as the proposal `costSchedules`, with section 4, and with sections 2 and 6 to 9 where they name cost schedules.*

### 3.1 The file

`project/cost-schedules.json`, in the stored form (Part III, 5), held to [`cost-schedules.schema.json`](https://openeik.org/schemas/0.6/project/cost-schedules.schema.json). It holds one member, `costSchedules`, 1 to 100 cost schedules in the order people read them.

1. **The file.** The file MUST be in the stored form, and MUST validate against its schema (`costs-schema`). Where a model has no cost schedule, it has no file: a writer writes none.
2. **Not a record of Part II, 1's table.** The file is one file at a fixed path, as the ground's is (Part XIX, 2): a reader of 0.5 that does not apply this part keeps it as a kept file (Part III, 7), and in the single-file form (Part III, 11) it is the entry `project/cost-schedules.json` of `extras`, its text in the stored form. A reader that applies this part reads the same entry, and a writer writes the schedules there.
3. **Ids.** A schedule and an item each have an `id`, a plain name of 1 to 80 characters without a `/` or white space: a schedule's unique among the schedules, an item's among its schedule's items (`costs-id-twice`). A `name`, of 1 to 200 characters, is for people: nothing is decided by it.
4. **The standard's own.** The file is the standard's, not an application's (Part I, 11.3): any tool that applies this part reads it, and a command processor changes it by the commands of section 6. An application adds to it by extension members (Part I, 11.2), as on any record.
5. **Ownership.** The file is a path like any other (Part XVI, 3, rule 5): the rule of the owners file that matches it says who may change it, the party that prices the project, for example.

### 3.2 A cost schedule

1. **Its members.** A cost schedule is `{id, name, kind, items?, classifications?}`: its `items`, 1 to 10 000 cost items in the order people read them, absent while it has none; and its own classification references (Part II, 11).
2. **Its kind** says what it is for, as IFC names it: `budget`, a sum set aside; `costPlan`, a plan of costs as a design develops; `estimate`, a contractor's or a client's estimate; `tender`, what a tender is priced by; `billOfQuantities`, a list of quantities sent out to be priced. Nothing is decided by it.

### 3.3 A cost item

1. **Its members.** A cost item is `{id, name, parent?, quantity?, classifications?}`.
2. **Its parent.** An item MAY name, by `parent`, an item of its schedule it is a part of. A parent that is no item of its schedule, the item itself, or one whose parents lead round to the item, is an error (`cost-item-parent`). An item others name as their parent is a **group**.
3. **A group** states no quantity (`cost-item-group`): its amount is its parts' (section 4.4). An item that is no group is priced by its quantity.
4. **Its codes.** `classifications` are the item's codes: classification references (Part II, 11) of systems OpenEik does not list, a cost book's code (Part II, 11.1, rule 3) among them, and of none of a vendor's that OpenEik ships. A rate list may price an item by them (section 4.4, rule 1).

### 3.4 Its quantity

1. **Measured.** `{name, layer?, of}`: the quantity of Part XXI of that name, one Part XXI sums (Part XXI, 5), summed over the elements the selection `of` keeps; or, named `count`, how many elements it keeps.
2. **Stated.** `{value, unit}`: a value of 0 or more, stated by hand, in a unit of Part XXI, 2, rule 2: `m`, `m2`, `m3`, `kg` or `count`. A lump sum, site set-up, is `{"value": 1, "unit": "count"}`.
3. **A layer's.** With `layer`, the quantity of the layer of that id of each element kept (Part XXI, 3, rule 5): `netVolume`, `grossVolume`, `netArea`, `grossArea` or `netMass`, the names a layer has. A layer no type of the elements kept has is reported, a warning (`cost-layer`), and the item has no quantity.

*Note (informative).* A layer's quantity is what an estimate prices a build-up by: a wall's render in square metres, its masonry in cubic metres, its insulation in square metres, each from the one type that holds them. A wall's faces (Part XXI, 5.1, rule 4) are the areas of a finish laid on one side.

### 3.5 What is derived

1. **A measured quantity** is `{value, unit, of, elements, rule}`: the sum of the quantity of each element kept that has it, its unit Part XXI's for the name; `of`, how many have it, and `elements`, how many the selection keeps; `count`'s value the number kept. Its `rule` is `XXII.3.5.1`.
2. **A stated quantity** is its own value and unit, `of` and `elements` 0, its `rule` `XXII.3.5.2`.
3. **Not derived, not there.** Where no element kept has the quantity (Part XXI, 2, rule 5), or the selection keeps none, the item has no quantity: never 0. A reader says why.
4. **Derived, never stored.** No member of the file holds an item's quantity's value, an amount or a sum: they are worked out on reading, from the model as it is.

The quantities are Part XXI's, unrounded: a reader rounds them for people.

## 4. Rates and prices

### 4.1 Never in a model

1. **No price in a model.** No record, no file of this part and no kept file of a model holds a price, a rate, a cost, an amount or a quote: Part II, 12.1, Part V, 11, rule 3 and Part VI, 8.7, rule 7 hold for a project's own prices as for a supplier's quote. Whoever reads a version reads all of it (Security and privacy, 2.5), a supplier invited to tender among them, and a value written into a version stays in every version after it (Security and privacy, 2.4).
2. **A rate list in a model** is an error: a validator of 0.6, and one of 0.5 that applies the proposal `costSchedules`, reports a kept file of the model whose JSON names a `format` beginning `openeik-rates/`, wherever it lies, in an application's folder among them (`rates-in-model`).

### 4.2 A rate list

A **rate list** is a project's own rates, a JSON file in the stored form held to [`rates.schema.json`](https://openeik.org/schemas/0.6/costSchedules/rates.schema.json):

```json
{
  "currency": "EUR",
  "format": "openeik-rates/0.1",
  "name": "Example rates",
  "rates": [
    {"item": "slab-concrete", "rate": 180, "schedule": "estimate"},
    {"code": {"code": "41.2", "system": "An example system"}, "rate": 38, "unit": "m2"}
  ]
}
```

1. **Its members.** `format`, `openeik-rates/0.1`; `currency`, the code of ISO 4217 of the currency every rate is in; `name`, for people; and `rates`, 1 to 100 000 rates.
2. **A rate** is `{rate, unit?, schedule?, item?, code?, note?}`: `rate`, 0 or more, a sum of money per one of its unit; and either the item it prices, by `schedule` and `item`, its `unit`, where it gives one, the item's quantity's; or a `code`, `{system, code, edition?}`, and its `unit`, which prices every item that carries that code and whose quantity is in that unit.
3. **Once.** A list gives one rate for an item of a schedule, and one for a code, its edition and a unit (`rates-twice`).

### 4.3 Where it is kept

1. **In a folder**, a rate list is kept at `.eik/rates/<name>.json`: a hidden path (Part III, 1, rule 1), which no version, no single-file form and no push holds, and which a reader of the model skips. `<name>` is 1 to 100 letters, digits, `.`, `_` and `-`, from a letter or a digit.
2. **On a host**, a rate list is kept beside a building and apart from its versions, as a supplier's quote is (Part II, 12): who may read it is the host's to say (Security and privacy, 1).
3. **A writer** never writes a rate list into a model, a kept file or an application's folder among it; nor a price into a record, a proposal file (Part VI, 8.7, rule 7) or a result set. An application that prices a schedule keeps its prices where its rate list is.

### 4.4 Pricing a schedule

1. **An item's rate** is the list's rate of its schedule and its id, where the rate's unit, if it gives one, is the item's quantity's; else the rate of the item's quantity's unit that a code of its classifications fits: a rate whose code names an edition fitting a reference of that system, code and edition, and one that names none a reference of any edition. Where none fits, or more than one fits by its codes, the item has no rate, and a reader says why.
2. **Its amount** is its quantity's value times its rate, in the list's currency; an item with no quantity or no rate has none. A group's amount is the sum of its parts' amounts, and the schedule's the sum of its top items', each with how many items under it have none (`unpriced`): an amount is never taken for whole while an item under it has none.
3. **Derived, never stored, never rounded.** An amount is worked out on reading, from a model and a rate list, and written into neither. A reader rounds it for people.

*Note (informative).* A bill of quantities is what a tender sends out to be priced, and a tenderer's priced bill is its quote: so the cost schedules in a model are unpriced, and every rate stays with whoever holds it, a contractor's in its own estimating tool or on the host, never in the versions a supplier reads. A cost book's codes on an item and a type (Part II, 11.1) let one rate list price many projects; OpenEik lists no code and ships no price, and a price book's text and prices are its publisher's.

## 5. Work schedules

*Part of 0.6. OpenEik 0.5 had it as the proposal `workSchedules`, with sections 2 and 6 to 9 where they name work schedules and calendars.*

### 5.1 The file

`project/work-schedules.json`, in the stored form (Part III, 5), held to [`work-schedules.schema.json`](https://openeik.org/schemas/0.6/project/work-schedules.schema.json). It holds `calendars`, 1 to 100 calendars, and `workSchedules`, 1 to 100 work schedules in the order people read them, each where there are any.

1. **The file.** The file MUST be in the stored form, and MUST validate against its schema (`work-schema`). Where a model has no work schedule and no calendar, it has no file.
2. **Not a record of Part II, 1's table.** As section 3.1, rule 2 says of the cost schedules: a kept file to a reader that does not apply this part, the entry `project/work-schedules.json` of `extras` in the single-file form.
3. **Ids.** A calendar, a schedule and a task each have an `id`, as section 3.1, rule 3 says: a calendar's unique among the calendars, a schedule's among the schedules, a task's among its schedule's tasks (`work-id-twice`).
4. **The standard's own**, and **ownership**, as section 3.1, rules 4 and 5 say.

### 5.2 Calendars

1. **A day** is a date of the Gregorian calendar, `YYYY-MM-DD`, in no time zone: the site's day.
2. **A calendar** is `{id, name, workdays, holidays?}`: `workdays`, the days of the week worked, by their numbers of ISO 8601, 1 Monday to 7 Sunday, at least one; and `holidays`, the days not worked that a workday would be, public holidays and a builders' holiday among them. A **working day** is a day of a workday that is no holiday.
3. **Without a calendar**, every day is a working day.

### 5.3 A work schedule

1. **Its members.** A work schedule is `{id, name, kind, start, calendar?, statusDate?, tasks?, classifications?}`: `start`, the day work starts, its first working day on or after it the schedule's first; `statusDate`, the day its progress is reported to (section 5.8); `tasks`, 1 to 10 000 tasks in the order people read them, absent while it has none.
2. **Its kind** is `planned`, the plan worked to, or `baseline`, a plan kept to compare it with, as IFC names them. Nothing is decided by it.
3. **Its calendar** names a calendar of the file, by its id (`work-calendar`), which its working days are counted by.

### 5.4 A task

1. **Its members.** A task is `{id, name, parent?, kind?, duration?, after?, notBefore?, elements?, progressBy?, actualStart?, actualFinish?, built?, percent?, classifications?}`: `duration`, how many working days it takes, a whole number, 0 for a milestone; `after`, the tasks it follows (section 5.5); `notBefore`, a day it starts on or after, on its first working day on or after it at the earliest; `elements`, a selection of the elements it builds, installs or takes away (section 2); and its progress (section 5.8).
2. **Its parent.** A task MAY name, by `parent`, a task of its schedule it is a part of (`work-task-unknown`); none is its own parent, nor its parents' (`work-cycle`). A task others name as their parent is a **summary task**.
3. **A summary task** gives no `duration`, `after`, `notBefore`, `elements` or progress of its own, and no task follows it (`work-summary`): its days are its parts' span (section 5.6, rule 6). Every other task gives its `duration` (`work-duration`).
4. **Its kind** is what is done, as IFC names it: `construction`, `installation`, `demolition`, `removal`, `dismantle`, `disposal`, `logistic`, `move`, `attendance`, `maintenance`, `operation` or `renovation`. A task of the kinds `demolition`, `removal`, `dismantle` and `disposal` takes its elements away; a task of any other kind, or of none, builds them.

### 5.5 Sequences

1. **A sequence** is an entry of a task's `after`, `{task, type?, lag?}`: the task of its schedule it follows, which is no summary task (`work-task-unknown`, `work-summary`).
2. **Its type**, by default `finishToStart`, says how: `finishToStart`, it starts after the other finishes; `startToStart`, after the other starts; `finishToFinish`, it finishes after the other finishes; `startToFinish`, it finishes after the other starts.
3. **Its lag**, by default 0, is a whole number of working days between the two: after the other's start or finish, and less than 0 a lead, before it.
4. **No cycle.** No task follows itself, directly or through the tasks it follows (`work-cycle`).

### 5.6 What is derived: the days

A work schedule's days are worked out by the critical path method, on its calendar, in working days counted from 0, the schedule's first working day. A task that starts on day s and takes d days occupies days s to s + d − 1, and its **finish** f is s + d; a milestone stands at the start of day s.

1. **Its days as dates.** A task's start is the date of its day s, and its finish the date of its last day, s + d − 1, a milestone's its start's.
2. **Early days.** Each task that is no summary starts, in the order its sequences give, on the earliest day s that every one of these lets it: day 0; its `notBefore`'s working day; and each sequence, from the task it follows, of start s′ and finish f′, with its lag L: `finishToStart` s ≥ f′ + L, `startToStart` s ≥ s′ + L, `finishToFinish` s + d ≥ f′ + L, and `startToFinish` s + d ≥ s′ + L. The schedule finishes at F, the latest finish of its tasks, and its last day is its last task's.
3. **Late days.** Each task finishes, backwards from the schedule's finish, on the latest finish f that F and each sequence that follows it let it, from the task that follows it, of late start s″ and late finish f″, with its lag L: `finishToStart` f ≤ s″ − L, `startToStart` f − d ≤ s″ − L, `finishToFinish` f ≤ f″ − L, and `startToFinish` f − d ≤ f″ − L; its late start is f − d.
4. **Floats.** A task's **total float** is its late start less its start, in working days, 0 or more. Its **free float** is the least slack of the sequences that follow it, each the days by which its own bound of rule 2 is passed, else F less its finish.
5. **Critical.** A task whose total float is 0 is **critical**: the tasks that are make up the critical path.
6. **A summary task** spans its parts: its start their earliest, its finish their latest, its late days likewise, its duration the working days between, its total float the least of theirs; it is critical where a part is; it has no free float.

### 5.7 What is derived: a task's elements

1. **Its elements** are those its selection keeps (section 2): the elements it builds, or, of a kind of section 5.4, rule 4, takes away.
2. **Their quantities** are each quantity of Part XXI that Part XXI sums, summed over its elements that have it, `{value, unit, of}`, `of` how many: how much a task builds, which a planner reads a duration from.

No member of the file holds a planned day of a task, a float or a quantity: they are worked out on reading, from the model as it is, and a schedule's `start` and a task's `notBefore` are the only days of the plan it states.

### 5.8 Progress

*Decided by the steward on 6 November 2026, "Med i 0.6" (open questions, 154).* A work schedule that is worked to records what has been done, as it is reported from the site, to a day.

1. **The status date.** A work schedule MAY give `statusDate`, the status date, the data date: the last day its progress is reported for, to its end. A task that reports progress, in a schedule that gives none, is an error (`work-status-date`). The **data day** is the first working day after it, from which what remains is worked.
2. **Actual days.** A task MAY give `actualStart`, the day work on it started, and `actualFinish`, the day it was finished, to its end: then it is complete. An actual finish before its actual start, an actual finish without an actual start, or a per cent above 0 without an actual start, is an error (`work-actual-order`). A task that gives no actual start and has elements built started on the first day one was.
3. **Its progress.** A task that names elements reports the elements it has built, or, of a kind that takes them away, taken away: `built`, each element by its id and the day it was, 1 to 5000 of them. A task that names none reports `percent`, its share complete, 0 to 100, as reported. The other is an error (`work-progress-basis`). An element `built` names that the task's selection does not keep counts for nothing, and is reported, a warning (`work-built-outside`).
4. **What its elements weigh.** A task's share complete by its elements is the share of its elements built, each weighing one, or, where it gives `progressBy`, the name of a quantity Part XXI sums, each its quantity of that name (Part XXI, 5), an element that has none weighing nothing: so a long wall weighs more than a short one.
5. **To the status date.** No actual start, actual finish or day an element was built lies after the status date (`work-after-status`): progress is reported as it is, not as it is planned.
6. **Out of sequence.** A task that has started while a task it follows from its finish or from its start has not is reported, a warning (`work-out-of-sequence`): the site works out of the plan's order, which the plan may have to follow.
7. **Who reports it.** The file names no one. Progress is reported by commands (section 6, rules 7 and 8), and who reported it is the envelope's writer, its person and its agent, which a host authenticates and its log records (Part XVII, 4 and 5): attribution travels with the change, as every change's does, and the schedule holds no personal data.

A baseline (section 5.3, rule 2) is a plan kept to compare with: it MAY carry progress, but a tool reads progress from the planned schedule.

### 5.9 What is derived from progress

Where a work schedule gives a status date, a reader works out, for each task and for the schedule:

1. **Its share complete.** A finished task is complete, 1. A task that names elements is the share of its elements built, by section 5.8, rule 4, 0 where its elements weigh nothing; one that names none its `percent` over 100; and a task that reports nothing 0. A summary task's, and the schedule's, is its parts' by their durations, each part's share times its working days over their sum, or, where they are all milestones, their mean.
2. **The data day** (section 5.8, rule 1) is the day from which every task's remaining work is forecast.
3. **The forecast.** In the order its sequences give: a finished task stands at its actual days, from its actual start to the end of its actual finish; a started task at its actual start, and finishes its **remaining** working days, its duration times what is left of it, rounded up to a whole day, after the data day, at the end of the status date where none remain; a task that has not started starts, at the earliest, on the data day, and on the earliest day its `notBefore` and each sequence let it, by the bounds of section 5.6, rule 2, from the forecast days of the task it follows; its remaining days its duration. A summary task spans its parts' forecast days.
4. **Variance.** A task's **finish variance** is the working days between its planned finish (section 5.6, rule 2) and its forecast finish, more than 0 where it is late; the schedule's, between its planned finish and its forecast one, its last task's.
5. **Never stored.** No member of the file holds a share complete, a forecast day or a variance: they are worked out on reading, from the progress reported and the model as it is.
6. **Earned value.** Where a reader is given a cost schedule of the model and a rate list (section 4), each element's **value** is the sum, over the items of that schedule a rate prices whose selection keeps it, of its quantity of the item's quantity, by the item's rate (a count's one). A task that names elements has a **budget**, its elements' values summed; its **planned value**, its budget times the share of its planned days past by the data day; and its **earned value**, its built elements' values summed, its budget where it is finished. The schedule's are its tasks' summed, an element in two tasks counted in both, with its **schedule variance**, earned less planned value, and its **schedule performance index**, earned over planned value, none where nothing is planned. They are a reader's, from a project's own prices kept apart from the model, and stored nowhere (section 4.1).

*Note (informative).* Progress follows the model: a task that builds elements is as far along as its elements are built, which a site reports element by element and a 4D tool shows as built, so that the share complete, the earned value and what the model shows as done are one count. A per cent is what a task that builds nothing reports, a crane's set-up or a cure. The forecast is the plan's network redrawn from the data day, as planning tools do with what they call retained logic for a task not yet started; earned value is the method's own planned and earned value, without the actual cost, which no model holds.

*Note (informative).* The method is the one planning tools share: forward and backward passes over the network of tasks, with the four relations and lags of the precedence diagramming method, durations in working days on a calendar. Days are whole: a task starts at the start of a working day and finishes at the end of one, so that every tool gives the same dates. A task tied to the elements it builds is what a 4D tool shows growing; one tied to what it takes away, what it shows going.

## 6. Commands

Twelve commands change the files, by Part V's rules: each is checked before anything changes, by its kind's schema (in `schemas/0.6/commands/`), its own rules and the whole model, the files among it (Part V, 6); and each names the state it was made from (Part V, 3).

| Kind | Does | Precondition |
|---|---|---|
| `costSchedule.upsert` | writes a cost schedule whole: `{kind, schedule, expectedSchedule?}` | `expectedSchedule`: the schedule as read (optional) |
| `costSchedule.delete` | removes a cost schedule with its items: `{kind, id, expectedSchedule}` | `expectedSchedule` |
| `costItem.upsert` | writes an item of a cost schedule whole: `{kind, schedule, item, expectedItem?}` | `expectedItem` (optional) |
| `costItem.delete` | removes an item: `{kind, schedule, id, expectedItem}` | `expectedItem` |
| `workSchedule.upsert` | writes a work schedule whole: `{kind, schedule, expectedSchedule?}` | `expectedSchedule` (optional) |
| `workSchedule.delete` | removes a work schedule with its tasks: `{kind, id, expectedSchedule}` | `expectedSchedule` |
| `task.upsert` | writes a task of a work schedule whole: `{kind, schedule, task, expectedTask?}` | `expectedTask` (optional) |
| `task.delete` | removes a task: `{kind, schedule, id, expectedTask}` | `expectedTask` |
| `calendar.upsert` | writes a calendar whole: `{kind, calendar, expectedCalendar?}` | `expectedCalendar` (optional) |
| `calendar.delete` | removes a calendar: `{kind, id, expectedCalendar}` | `expectedCalendar` |
| `task.progress` | reports a task's progress: `{kind, schedule, id, actualStart?, actualFinish?, built?, percent?, expectedProgress?}` | `expectedProgress`: its `actualStart`, `actualFinish`, `built` and `percent` as read, `{}` where it gave none |
| `workSchedule.status` | sets a schedule's status date, or clears it with null: `{kind, id, statusDate, expectedStatusDate?}` | `expectedStatusDate`: the status date as read, null where it gave none |

1. **A schedule or a calendar** is written whole, under its `id`: a new one at the end of its list, one that is there in its place.
2. **Its delete** removes it, a schedule with its items or tasks, and is refused where there is none (`target-missing`, Part XVII, 10.4), and, for a calendar, while a work schedule names it (`in-use`).
3. **An item or a task** is written whole into the schedule `schedule` names, which is refused where there is none (`target-missing`): a new one after the last of its parent's parts, or after its parent where it has none yet, else at the end of the schedule's list; one that is there in its place.
4. **Its delete** removes it, and is refused where there is none (`target-missing`), and while another item or task names it as its parent, or another task follows it (`in-use`): a batch that changes those first is taken.
5. **The file.** A command processor writes the file in the stored form, leaves out a list it leaves empty, and removes the file where it is left with nothing. In the single-file form it writes the entry of `extras`.
6. **The precondition.** A schedule, an item, a task, a calendar, a task's progress and a status date have no revision: the precondition is the whole of it as read, compared as Part V, 3, rule 3 compares a level. In an envelope every command gives its precondition (Part XVII, 9.1), an upsert of a new one `null`.

7. **Progress.** `task.progress` sets a task's `actualStart`, `actualFinish` and `percent`, or with null takes one away, and adds each element of `built` on its day, or with null takes it away, leaving the others: so that two people who report different elements of one task change different members. It is refused where the schedule or the task is not there (`target-missing`). In an envelope its writer is who reported it (section 5.8, rule 7).
8. **The status date.** `workSchedule.status` sets a schedule's `statusDate`, or with null takes it away, and is refused where the schedule is not there (`target-missing`).

No command writes a price, a rate or an amount (section 4.1): a rate list is no command's.

## 7. Reading them

1. **A host** that holds a model of 0.6, or of 0.5 with the proposals, SHOULD offer `schedules` (Part VII, 1): with neither `cost` nor `work`, each schedule, its kind and its size, and the rate lists it holds beside the model; with `cost`, a cost schedule's items as rows, each its quantity, how many elements have it and how many its selection keeps, and with `rates`, the name of a rate list it holds, each item's rate and amount and the schedule's amount and how many items have none; with `work`, a work schedule's tasks as rows, each its days, its late days, its floats, whether it is critical and how many elements it names; where it gives a status date, each task's progress, its share complete, actual days, forecast days, remaining days and finish variance (section 5.9), and the schedule's; and with `cost` and `rates` too, each task's budget, planned and earned value, and the schedule's schedule variance. Its rows are paged, with the honesty fields (Part VII, 3).
2. **The rate lists** a host on a folder holds are the folder's `.eik/rates/` (section 4.3): it gives their prices to the agent of the person it serves, and writes none into the model.
3. **A command processor** reads no amount and no day: no derived value is a precondition, a target or a value a command writes.

## 8. IFC

A bridge that prints a model of 0.6, or of 0.5 with the proposals, writes its schedules so, on the products it prints for the elements:

1. **A cost schedule** is an IfcCostSchedule, declared in the project (IfcRelDeclares), its `Name` its name, its `Identification` its id, and its `PredefinedType` by its kind: BUDGET, COSTPLAN, ESTIMATE, TENDER, and UNPRICEDBILLOFQUANTITIES for `billOfQuantities`.
2. **A cost item** is an IfcCostItem, its `Identification` its id, NOTDEFINED: the schedule's top items assigned to it (IfcRelAssignsToControl), and a group's parts nested in it, in their order (IfcRelNests).
3. **Its quantity** is an IfcPhysicalSimpleQuantity of its own in its `CostQuantities`, named by its quantity's name, `count`, or for a stated one `quantity`, in the print's units (Part XXI, 10, rule 2): a length in mm, an area in m², a volume in m³, a mass in kg, a count an IfcQuantityCount. The products of the elements its selection keeps, a room's its space, are assigned to it (IfcRelAssignsToControl). An item with no quantity has none, and the fidelity report names it.
4. **Prices.** A print is given no price by the model. Where its caller gives it a rate list (section 4.2), each item it prices has an IfcCostValue, its `AppliedValue` an IfcMonetaryMeasure of its rate and its `UnitBasis` one of its unit, a metre as 1000 of the print's millimetres, a count's none; the list's currency is an IfcMonetaryUnit of the print's units; and the fidelity report says that the print carries the rates of a project's own list, and is as confidential as it. An item it does not price has none, and the report names it.
5. **Codes.** A schedule's and an item's classification references are printed as any record's (Part VIII, 1.8).
6. **A calendar** is an IfcWorkCalendar, its `Identification` its id: its working time one IfcWorkTime of a weekly IfcRecurrencePattern of its workdays, and each holiday an IfcWorkTime among its exceptions, from that day to that day.
7. **A work schedule** is an IfcWorkSchedule, declared in the project, PLANNED or BASELINE by its kind, its `StartTime` the start of its first day, its `FinishTime` the end of its last, its `Duration` its working days, and its `CreationDate` its start, which no record dates otherwise.
8. **A task** is an IfcTask, its `Identification` its id, its `PredefinedType` its kind, else NOTDEFINED, `IsMilestone` where it is no summary and its duration is 0; its IfcTaskTime its days of section 5.6, WORKTIME on a calendar and ELAPSEDTIME without one, a start at the start of its day and a finish at the end of its last (`T00:00:00` and `T23:59:59`), its durations and floats IfcDurations of whole days (`P5D`), and `IsCritical`. The schedule's top tasks are assigned to it, a summary task's parts nested in it, and the schedule's tasks assigned to its calendar (IfcRelAssignsToControl).
9. **A sequence** is an IfcRelSequence from the task followed to the task that follows, its `SequenceType` FINISH_START, START_START, FINISH_FINISH or START_FINISH, and a lag other than 0 an IfcLagTime of its working days (`-P2D` for a lead).
10. **A task's elements** are its outputs, each element's product assigned the tasks that build it (IfcRelAssignsToProduct); a task that takes its elements away has them as its inputs (IfcRelAssignsToProcess).
11. **GlobalIds** are derived from `cost:<schedule id>` and `cost:<schedule id>:<item id>`, `work:<schedule id>` and `work:<schedule id>:<task id>`, `calendar:<id>`, and each relationship's from its own key (Part VIII, 1, rule 3).
12. **The view.** The Reference View a print names (Part VIII, 1 and 1.13) exchanges no cost schedule, cost item, calendar or sequence of tasks: the fidelity report says so, and a reader that holds to the view leaves them out.
13. **Progress.** Where a work schedule gives a status date, each task's IfcTaskTime has its `StatusTime` the end of the status date, its `ActualStart` and `ActualFinish` its actual days, its `RemainingTime` its remaining working days (`P4D`), its `Completion` its share complete, 0 to 1, where it is more than 0, and its `ScheduleStart` and `ScheduleFinish` its forecast days; its early and late days stay the plan's (section 5.6). A summary task's are its parts' (section 5.9). No earned value is printed: it is a reader's, from a rate list.

IfcOpenShell's validation and buildingSMART's rules hold the bridge of `@openeik/tools` to IFC4 and IFC 4.3 on the prints of section 10, priced and not, with no issue; in IFC 4.3, rule IFC430 warns of the entities rule 12 names.

*Note (informative).* The relationships are those IFC's own concept templates and the open-source tools that read 4D and 5D from IFC write: a schedule controls its top items or tasks, nesting orders the rest, a cost item controls the products it prices, and a task's products are its outputs, or its inputs where it takes them away.

## 9. What a validator reports

A validator of 0.6, and one of 0.5 that applies the proposals, checks the files of a folder, and the entries of `extras` of the single-file form, and reports:

| Code | Severity | Rule | What |
|---|---|---|---|
| `costs-schema` | error | XXII.3.1.1 | `project/cost-schedules.json` does not read as I-JSON or does not validate against its schema: a quantity both measured and stated, a layer's of a name no layer has, a kind of schedule the schema does not name, among them |
| `costs-id-twice` | error | XXII.3.1.3 | two cost schedules, or two items of one schedule, of one id |
| `cost-item-parent` | error | XXII.3.3.2 | an item's parent is no item of its schedule, is itself, or leads round to it |
| `cost-item-group` | error | XXII.3.3.3 | a group states a quantity |
| `cost-reference` | warning | XXII.2.3 | an item's selection names an element, a type or a level the model lacks |
| `cost-selection-empty` | warning | XXII.2.4 | an item's selection keeps no element |
| `cost-layer` | warning | XXII.3.4.3 | an item's layer is no layer of a type of the elements it keeps |
| `rates-in-model` | error | XXII.4.1.2 | a kept file of the model is a rate list |
| `work-schema` | error | XXII.5.1.1 | `project/work-schedules.json` does not read as I-JSON or does not validate against its schema |
| `work-id-twice` | error | XXII.5.1.3 | two calendars, two work schedules, or two tasks of one schedule, of one id |
| `work-calendar` | error | XXII.5.3.3 | a schedule names a calendar the file lacks |
| `work-task-unknown` | error | XXII.5.4.2 | a task's parent, or a task it follows, is no task of its schedule |
| `work-cycle` | error | XXII.5.5.4 | a task is its own parent, or follows itself, directly or through others |
| `work-summary` | error | XXII.5.4.3 | a summary task gives a duration, a sequence, a day or elements, or a task follows it |
| `work-duration` | error | XXII.5.4.3 | a task that is no summary gives no duration |
| `work-reference` | warning | XXII.2.3 | a task's selection names an element, a type or a level the model lacks |
| `work-selection-empty` | warning | XXII.2.4 | a task's selection keeps no element |
| `work-status-date` | error | XXII.5.8.1 | a task reports progress, and its schedule gives no status date |
| `work-actual-order` | error | XXII.5.8.2 | an actual finish before its actual start or without one, or a per cent above 0 without an actual start |
| `work-progress-basis` | error | XXII.5.8.3 | a task that names elements reports a per cent, or one that names none elements built or `progressBy` |
| `work-after-status` | error | XXII.5.8.5 | an actual day, or a day an element was built, after the status date |
| `work-built-outside` | warning | XXII.5.8.3 | an element built that the task's selection does not keep |
| `work-out-of-sequence` | warning | XXII.5.8.6 | a task started while a task it follows from its finish or its start has not |

A rate list is no model's file; a tool that reads one reports `rates-schema`, where it does not read as I-JSON or validate against its schema, and `rates-twice` (section 4.2, rule 3). An error makes the model invalid, as any error of the whole-model check does (Part III, 12, rule 5).

## 10. The one-storey house

[`examples/one-storey-house`](https://gitlab.com/openeik/spec/-/tree/main/examples/one-storey-house), as a model of 0.5 (the compiler's vector of it), with an estimate of nine items:

```json
{
  "costSchedules": [
    {"id": "estimate", "kind": "estimate", "name": "Estimate, stage 1", "items": [
      {"id": "substructure", "name": "Substructure"},
      {"id": "slab-concrete", "name": "Ground slab, concrete", "parent": "substructure",
       "quantity": {"layer": "concrete", "name": "netVolume", "of": {"typeIds": ["type-slab-ground-450"]}},
       "classifications": [{"code": "11.1", "system": "An example system"}]},
      {"id": "slab-insulation", "name": "Ground slab, insulation", "parent": "substructure",
       "quantity": {"layer": "insulation", "name": "netArea", "of": {"typeIds": ["type-slab-ground-450"]}}},
      {"id": "external-walls", "name": "External walls"},
      {"id": "ew-masonry", "name": "Masonry core", "parent": "external-walls",
       "quantity": {"layer": "masonry", "name": "netVolume", "of": {"typeIds": ["type-wall-exterior-300"]}}},
      {"id": "ew-render", "name": "External render", "parent": "external-walls",
       "quantity": {"layer": "render", "name": "netArea", "of": {"typeIds": ["type-wall-exterior-300"]}},
       "classifications": [{"code": "41.2", "system": "An example system"}]},
      {"id": "windows", "name": "Windows 1500 x 1200", "quantity": {"name": "count", "of": {"categories": ["window"]}}},
      {"id": "roof", "name": "Roof", "quantity": {"name": "netArea", "of": {"categories": ["roof"]}}},
      {"id": "site", "name": "Site set-up", "quantity": {"unit": "count", "value": 1}}
    ]}
  ]
}
```

priced by section 4.2's list with four more rates, by item: `slab-insulation` 25, `ew-masonry` 420, `windows` 950 and `roof` 110 (illustrative rates, in EUR):

| Item | Quantity | By hand | Rate | Amount |
|---|---|---|---|---|
| `slab-concrete` | 7.519 m³ | 10.3 m × 7.3 m × 0.1 m (Part XXI, 11) | 180, by its id | 1 353.42 |
| `slab-insulation` | 75.19 m² | 10.3 m × 7.3 m | 25 | 1 879.75 |
| `substructure` | | | | 3 233.17 |
| `ew-masonry` | 16.4704 m³ | the four walls' layers `masonry`: 4.2423 + 4.1661 + 3.8196 + 4.2423 | 420 | 6 917.56 |
| `ew-render` | 101.7106 m² | the layers `render`: 26.7433 + 25.1619 + 23.0619 + 26.7433 | 38, by its code | 3 865.00 |
| `external-walls` | | | | 10 782.56 |
| `windows` | 2 count | | 950 | 1 900.00 |
| `roof` | 95.4706 m² | Part XXI, 11 | 110 | 10 501.77 |
| `site` | 1 count | stated | none | none |
| the schedule | | | | 26 417.50, 1 item unpriced |

And a programme on a calendar of weekdays whose holidays are Good Friday and Easter Monday of 2027, `2027-03-26` and `2027-03-29`, from Monday 1 March 2027:

| Task | Follows | Days | Start | Finish | Late start, finish | Total, free float | Critical |
|---|---|---|---|---|---|---|---|
| `groundworks`, the slab | | 5 | 2027-03-01 | 2027-03-05 | the same | 0, 0 | yes |
| `shell`, a summary of the next three | | 15 | 2027-03-08 | 2027-03-30 | the same | 0 | yes |
| `walls`, the five walls | `groundworks` | 10 | 2027-03-08 | 2027-03-19 | the same | 0, 0 | yes |
| `roof` | `walls` | 5 | 2027-03-22 | 2027-03-30 | the same | 0, 0 | yes |
| `openings`, the door and the windows, `installation` | `walls`, start to start, lag 7 | 3 | 2027-03-17 | 2027-03-19 | 2027-03-24, 2027-03-30 | 5, 5 | no |
| `handover` | `roof` and `openings` | 0 | 2027-03-31 | 2027-03-31 | the same | 0, 0 | yes |

The roof's five days are Monday 22 to Thursday 25 March and Tuesday 30 March: the holidays and the weekend between are no working days. The schedule finishes on day 20, Wednesday 31 March. The walls' task builds 32.6197 m³ of wall (`netVolume`) of 32 669.95 kg (`netMass`), 41 m long (`length`), its five walls' sums (Part XXI, 11).

Reported to Wednesday 17 March 2027 (`statusDate`), the slab finished on its plan, 1 to 5 March, and the walls started a day late, on 9 March, three of their five walls built: `wall-south` on the 12th, `wall-west` on the 15th and `wall-north` on the 17th. The data day is Thursday 18 March, day 13:

| Task | Share complete | Forecast | Remaining | Finish variance | Budget, planned, earned (EUR) |
|---|---|---|---|---|---|
| `groundworks` | 1, finished | 1 to 5 March, as reported | 0 | 0 | 3 233.17, 3 233.17, 3 233.17 |
| `walls` | 3 of 5 walls, 0.6 | from 9 March, 4 days from the 18th: to 23 March | 4 | 2 days late | 10 782.56; 8 of 10 days, 8 626.05; three walls, 7 984.55 |
| `roof` | 0 | after the walls: 24, 25, 30, 31 March and 1 April | 5 | 2 | 10 501.77, 0, 0 |
| `openings` | 0 | from the data day, 18 to 22 March | 3 | 1 | the two windows, 1 900; a third of its days, 633.33; 0 |
| `handover` | 0 | 2 April | 0 | 2 | |

The schedule is 11 of its 23 working days complete, (5 × 1 + 10 × 0.6) / 23 = 0.4783, and forecast to finish on Friday 2 April, two working days late. Valued by the estimate and its rate list, given to the reader and stored nowhere: budget 26 417.50, planned 12 492.55, earned 11 217.72, a schedule variance of −1 274.83 and a schedule performance index of 0.898. Its print of IFC writes the walls' IfcTaskTime with `StatusTime` `2027-03-17T23:59:59`, `ActualStart` `2027-03-09T00:00:00`, `RemainingTime` `P4D`, `Completion` 0.6 and `ScheduleFinish` `2027-03-23T23:59:59`.

The package's tests hold these values (section 11).

## 11. Conformance

A reader of 0.6, and one of 0.5 that applies the proposals, reads the files and keeps what it does not know (Part I, 10). A validator reports what section 9 lists. A command processor implements the commands of section 6. A writer writes the files as sections 3.1 and 5.1 say, and no price into a model. A host does as section 7 says, and a bridge as section 8 says. No class of 0.5 requires any of it; every class of 0.6 that this paragraph names does.

The suite of 0.6, `conformance/`, holds the cases of the proposals as they were in `conformance/proposed/costSchedules/` and `conformance/proposed/workSchedules/`: models with their files, what a validator says of each, and what a reader works out of a schedule (`schedules`): an item's quantity, and with a rate list the case gives its rate and amount; a task's days, late days, floats and whether it is critical, by all four relations, a lag, a lead, a day not before, a milestone, a summary task and a holiday; each worked by hand from these rules. A member of the file that holds a price is one its schema does not know, which a validator warns of (Part I, 10).

*Note (informative).* `@openeik/tools` implements the reader's, the validator's, the command processor's, the host's and the bridge's parts since 6 November 2026, for a model of 0.6, and for one of 0.5 asked for with `proposals: ["costSchedules"]` and `["workSchedules"]`: `checkFolder` and `checkModel` check the files (`costSchedulesChecks`, `workSchedulesChecks`, `ratesInModel` in `packages/openeik/src/schedules.js`); `costScheduleOf(model, id, {rates})` and `workScheduleOf(model, id)` work them out, and `ratesChecks` reads a rate list; `applyCommands` runs section 6's commands; the agent host answers `schedules`, its rate lists the folder's `.eik/rates/`; and `ifcOfModel(model, {proposals, rates})` prints them (`src/ifc-schedules.js`).

## 12. The decisions

The steward chose costs and time as a subject of 0.6 on 6 November 2026, "Kostnad och tidplan (5D/4D)". The shape of the part is the editors' (question 126), who decided it as question 152 records: two files of the standard; a selection by the records alone; a cost item's quantity a quantity of Part XXI by its name, a layer's, a count, or stated; nested items and tasks; the four relations of the precedence diagramming method; days derived by the critical path method; twelve commands with the whole state as the precondition; IFC's own entities and relationships. Three choices are of the product and of how a building is planned, and the steward's, which he decided on 6 November 2026; the fourth, what progress is measured by, his answer to question 154 leaves open, and it is written as the editors recommend it, for him to confirm or change before the cut:

| | Choice | Decided | Written |
|---|---|---|---|
| 151 | Whether a model's records may hold a project's own rates and prices | "Separat prislista (Recommended)" | no: a rate list kept apart from the model, under `.eik/rates/` in a folder and beside the building on a host; an amount worked out on reading; a print priced only by a list its caller gives (section 4) |
| 153 | The unit of time | "Hela arbetsdagar (Recommended)" | whole working days on a calendar of workdays and holidays; durations and sequences stored, days derived (sections 5.2 and 5.6) |
| 154 | Progress, actual days and a share complete | "Med i 0.6" | in 0.6: a status date, actual days, elements built or a per cent, and the forecast, the variance and the earned value derived (sections 5.8 and 5.9) |
| 154.1 | What progress is measured by | "Per element (Recommended)" | a task's elements built, each on its day, weighed by count or a quantity it names; a per cent only where a task names no elements (section 5.8, rules 3 and 4) |
