colregs 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/data/applicability.json +270 -270
- package/data/facts.json +19 -19
- package/data/i18n/en.json +3 -3
- package/data/i18n/fi.json +3 -3
- package/data/version.json +1 -1
- package/docs/adr/0011-api-shape.md +7 -7
- package/docs/adr/0012-trace-and-rule2-departure-api.md +2 -2
- package/docs/adr/0016-encounter-roles-are-pooled-across-frames.md +82 -0
- package/docs/adr/0017-closed-vocabularies-are-prefixed-identifiers.md +105 -0
- package/docs/budgets.json +4 -1
- package/docs/decisions.md +6 -0
- package/docs/identifiers.md +73 -59
- package/docs/part-b-invariants.md +19 -18
- package/docs/requirements.md +72 -72
- package/fixtures/situation-fixtures.json +600 -329
- package/package.json +1 -1
- package/schema/applicability.schema.json +59 -59
- package/schema/conduct-evaluation.schema.json +1 -1
- package/schema/encounter-evaluation.schema.json +6 -6
- package/schema/evaluation.schema.json +2 -2
- package/schema/facts.schema.json +4 -4
- package/schema/i18n-catalog.schema.json +2 -2
- package/schema/situation-fixtures.schema.json +39 -0
- package/schema/situation.schema.json +3 -3
package/README.md
CHANGED
|
@@ -143,16 +143,16 @@ paragraphs prevails is a relation.
|
|
|
143
143
|
| `rel:exempts` | the referenced requirement does not apply (30(e)) |
|
|
144
144
|
| `rel:overrides` | this paragraph's requirement prevails over the referenced one's when both apply (Rule 18; Rule 26(a) over Rule 30's anchor lights) |
|
|
145
145
|
|
|
146
|
-
Modality is `shall`, `may`, `shall-if-practicable`, `shall-not`,
|
|
147
|
-
`shall-not-impede`, or `conditional` with a `modality_by` table when it turns
|
|
146
|
+
Modality is `modality:shall`, `modality:may`, `modality:shall-if-practicable`, `modality:shall-not`,
|
|
147
|
+
`modality:shall-not-impede`, or `modality:conditional` with a `modality_by` table when it turns
|
|
148
148
|
on a fact.
|
|
149
149
|
|
|
150
150
|
Most entries read one vessel and produce lights. The Part B entries read
|
|
151
151
|
**two**, a situation rather than a fact record, and produce an `effect`:
|
|
152
152
|
which section governs, which vessel gives way, whether the encounter is
|
|
153
|
-
`head-on`, `crossing` or `overtaking`. They address each vessel through a
|
|
154
|
-
subject segment (`
|
|
155
|
-
`pair:geo:in_sight`); a key with no subject means `
|
|
153
|
+
`encounter:head-on`, `encounter:crossing` or `encounter:overtaking`. They address each vessel through a
|
|
154
|
+
subject segment (`self:fact:activity`, `other:fact:propulsion`,
|
|
155
|
+
`pair:geo:in_sight`); a key with no subject means `self:`. The encounter
|
|
156
156
|
sectors partition relative bearing, so no crossing sector is enumerated and
|
|
157
157
|
none can drift. [`docs/identifiers.md`](docs/identifiers.md) has the
|
|
158
158
|
vocabulary, [`docs/part-b-invariants.md`](docs/part-b-invariants.md) the
|