colregs 0.3.1 → 0.3.3
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 +22 -14
- package/data/applicability.json +295 -276
- package/data/facts.json +19 -19
- package/data/i18n/en.json +73 -7
- package/data/i18n/fi.json +5 -5
- package/data/lights.json +10 -20
- package/data/version.json +1 -1
- package/docs/adr/0010-text-withheld-jurisdictions.md +2 -0
- 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/adr/0018-jurisdiction-delta-is-a-merge-patch.md +102 -0
- package/docs/adr/0019-relation-reach-and-import-reads.md +106 -0
- package/docs/budgets.json +6 -1
- package/docs/decisions.md +8 -0
- package/docs/identifiers.md +77 -60
- package/docs/part-b-invariants.md +41 -38
- package/docs/requirements.md +137 -137
- package/fixtures/applicability-fixtures.json +42 -0
- package/fixtures/situation-fixtures.json +600 -329
- package/package.json +4 -1
- package/schema/applicability.schema.json +74 -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 +26 -5
- package/schema/lights.schema.json +2 -3
- package/schema/situation-fixtures.schema.json +39 -0
- package/schema/situation.schema.json +3 -3
|
@@ -923,6 +923,48 @@
|
|
|
923
923
|
"fact:length_m": 11.6
|
|
924
924
|
},
|
|
925
925
|
"expect": []
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "constrained by draft, US Inland: Rule 28 is [Reserved], the record is out of vocabulary and selects nothing",
|
|
929
|
+
"jurisdiction": "us/inland",
|
|
930
|
+
"facts": {
|
|
931
|
+
"fact:propulsion": "propulsion:power",
|
|
932
|
+
"fact:activity": "activity:cbd",
|
|
933
|
+
"fact:position": "position:underway",
|
|
934
|
+
"fact:length_m": 200
|
|
935
|
+
},
|
|
936
|
+
"expect": []
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"name": "6 m outboard, max speed 6 kn, US Inland: 23(d)(ii) has no Inland counterpart, 23(d)(i) and 23(a) are inherited",
|
|
940
|
+
"jurisdiction": "us/inland",
|
|
941
|
+
"facts": {
|
|
942
|
+
"fact:propulsion": "propulsion:power",
|
|
943
|
+
"fact:activity": "activity:none",
|
|
944
|
+
"fact:position": "position:underway",
|
|
945
|
+
"fact:length_m": 6,
|
|
946
|
+
"fact:max_speed_kn": 6
|
|
947
|
+
},
|
|
948
|
+
"expect": [
|
|
949
|
+
"rule:23a_i",
|
|
950
|
+
"rule:23a_ii",
|
|
951
|
+
"rule:23a_iii_iv",
|
|
952
|
+
"rule:23d_i"
|
|
953
|
+
]
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "constrained by draft, at anchor, US Inland: Rule 30 is inherited untouched",
|
|
957
|
+
"jurisdiction": "us/inland",
|
|
958
|
+
"facts": {
|
|
959
|
+
"fact:propulsion": "propulsion:power",
|
|
960
|
+
"fact:activity": "activity:cbd",
|
|
961
|
+
"fact:position": "position:anchored",
|
|
962
|
+
"fact:length_m": 200
|
|
963
|
+
},
|
|
964
|
+
"expect": [
|
|
965
|
+
"rule:30a",
|
|
966
|
+
"rule:30c"
|
|
967
|
+
]
|
|
926
968
|
}
|
|
927
969
|
]
|
|
928
970
|
}
|