@oimlsmart/primmel-packages 0.5.0 → 0.6.0

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.
@@ -0,0 +1,134 @@
1
+ # OIML TEST REPORT 18-ELEMENT CHECKLIST — the OIML-CS reference package
2
+ # -----------------------------------------------------------------------------
3
+ # PD-05 §4.4.3: the required elements (a–r) of every OIML test report,
4
+ # validated at report compilation time. Single-sourced here
5
+ # (TODO.roadmap/15; census §1.1 — the rec copies were structurally identical
6
+ # except the rec-bound source/validation strings of four entries) and overlaid
7
+ # by each Recommendation package (overlay true — the kernel's B3.10 deep
8
+ # merge: entry scalars land in place, the base order survives).
9
+ #
10
+ # Composition points (TODO.roadmap/13) — each rec overlay adds the rec-bound
11
+ # strings for these four entries:
12
+ # - sample_identification (h): validation form id / source naming the
13
+ # rec's sample-identification form
14
+ # - test_facility (m): source naming the rec's test-equipment form(s)
15
+ # - instrument_setup (n): validation form id / source naming the rec's
16
+ # instrument-identification form
17
+ # - adjustments (o): source naming the rec's adjustments form
18
+ # The package deliberately carries NO default for these strings: a rec that
19
+ # has not bound its own forms yet leaves the entry without them (a wrong-rec
20
+ # default would silently validate against another rec's forms — the
21
+ # census's R2 residue failure mode).
22
+ #
23
+ # Provenance: OIML-CS PD-05 Edition 6 (2024-03-11), §4.4.3.
24
+ #
25
+ # This file is the single source of truth; the consumer's
26
+ # data/oiml-cs/execution/test-report-checklist.yaml is its GENERATED YAML twin
27
+ # (cd browser && npm run gen:data).
28
+ test_report_checklist oiml-cs-trf {
29
+ entry title {
30
+ element "a"
31
+ description "Title: 'OIML test report'"
32
+ obligation shall
33
+ source "test_report.title"
34
+ }
35
+ entry tl_identification {
36
+ element "b"
37
+ description "Name and address of the test laboratory, and location of tests"
38
+ obligation shall
39
+ source "test_report.laboratoryId → organization.name, organization.address"
40
+ validation "test_report.laboratoryId is not null"
41
+ }
42
+ entry unique_report_id {
43
+ element "c"
44
+ description "Unique identification of the report, appearing on each page, with an end marker"
45
+ obligation shall
46
+ source "test_report.reportNumber"
47
+ }
48
+ entry applicant_identification {
49
+ element "d"
50
+ description "Name and address of the applicant"
51
+ obligation shall
52
+ source "application.applicant.company, application.applicant.address"
53
+ }
54
+ entry recommendation_reference {
55
+ element "e"
56
+ description "OIML Recommendation reference (number and year of edition)"
57
+ obligation shall
58
+ source "standard.identifier + standard.year"
59
+ }
60
+ entry category_identification {
61
+ element "f"
62
+ description "Category identification of the instrument"
63
+ obligation shall
64
+ source "standard.docnumber"
65
+ }
66
+ entry type_designation {
67
+ element "g"
68
+ description "Type or family designation of the instrument"
69
+ obligation shall
70
+ source "instrument.model + application.typeDesignation"
71
+ }
72
+ entry sample_identification {
73
+ element "h"
74
+ description "Specific samples tested, including their identification"
75
+ obligation shall
76
+ }
77
+ entry test_dates {
78
+ element "i"
79
+ description "Dates of testing for each test"
80
+ obligation shall
81
+ source "form_instance.created"
82
+ }
83
+ entry test_location {
84
+ element "j"
85
+ description "Place of testing"
86
+ obligation shall
87
+ source "test_report.testLocation"
88
+ }
89
+ entry test_personnel {
90
+ element "k"
91
+ description "Person who conducted each test"
92
+ obligation shall
93
+ source "form_instance.evaluator"
94
+ }
95
+ entry environmental_conditions {
96
+ element "l"
97
+ description "Environmental conditions during each test"
98
+ obligation shall
99
+ validation "form_contains_environmental_data"
100
+ }
101
+ entry test_facility {
102
+ element "m"
103
+ description "Description of test facility and equipment"
104
+ obligation shall
105
+ }
106
+ entry instrument_setup {
107
+ element "n"
108
+ description "Instrument or simulation setup information"
109
+ obligation shall
110
+ }
111
+ entry adjustments {
112
+ element "o"
113
+ description "Authorized adjustments or modifications"
114
+ obligation shall
115
+ }
116
+ entry results_with_uncertainty {
117
+ element "p"
118
+ description "Results including measurement uncertainties and traceability"
119
+ obligation may
120
+ description_note "If specified in the relevant OIML Recommendation"
121
+ }
122
+ entry per_test_conclusion {
123
+ element "q"
124
+ description "Pass/fail conclusion for each test"
125
+ obligation shall
126
+ source "form_instance.result"
127
+ }
128
+ entry authorization {
129
+ element "r"
130
+ description "Name, function, and signature of authorizing person"
131
+ obligation shall
132
+ source "test_report.evaluator + test_report.signatureDate"
133
+ }
134
+ }
@@ -9,8 +9,8 @@
9
9
  # The per-document models of the corpus (PD-01…PD-09, CID-01, OD-01/02)
10
10
  # are tasks 42–43; this file models the HIERARCHY and the entry conditions
11
11
  # only. PD-05 (the certification process) already has its model in this
12
- # package (specification/requirements/cs.prl + the consumer's
13
- # evaluation/abstract-processes.yaml + execution/test-report-checklist.yaml).
12
+ # package (specification/requirements/cs.prl + evaluation/abstract-processes.prl
13
+ # + execution/test-report-checklist.prl).
14
14
  #
15
15
  # Numbering: official published PDF (reference-docs/cs/docs/b018-e25.pdf).
16
16
  #
@@ -5,6 +5,6 @@ package {
5
5
  description "OIML-CS reference package — the certification-scheme content no Recommendation owns: the B 18:2025 framework model (participants, schemes + category lifecycle, declarations, governing documents, governance — TODO.roadmap/40), the /req/cs/* scheme provisions (PD-05), the 7-step certification process as abstract processes with roles and evidence requirements, the 18-element test-report-form checklist (PD-05 §4.4.3), the certificate requirements (PD-05 §4.6 + Annexes A/B), the participant-competence document modules (TODO.roadmap/42 — documents/pd-03 IA approval, documents/pd-04 TL approval, documents/pd-02 expert approval, with the D 30/D 32 application guides annexed informatively), the scheme-governance document modules (TODO.roadmap/43 — documents/pd-01 appeals, documents/pd-06 certificate use, documents/pd-07 transitions, documents/pd-08 Declarations, documents/pd-09 Utilizers/Associates, documents/cid-01 clarifications, documents/od-01 MC rules, documents/od-02 TLF rules), and the scheme-completeness map to ISO/IEC 17067 (oiml-cs-to-17067.prm + the cs-scheme-coverage gate). Composed into each Recommendation via `uses: [oiml-cs]` ahead of core."
6
6
  uses { iso-iec-17000 iso-iec-17065 iso-iec-17025 iso-iec-17067 }
7
7
  requires { iso-iec-17000 iso-iec-17065 iso-iec-17025 iso-iec-17067 }
8
- provides { oiml-cs cs-process-requirements cs-abstract-processes cs-certificate-requirements cs-framework-participants cs-framework-schemes cs-framework-declarations cs-framework-documents cs-framework-governance cs-document-pd-03 cs-document-pd-04 cs-document-pd-02 cs-document-pd-01 cs-document-pd-06 cs-document-pd-07 cs-document-pd-08 cs-document-pd-09 cs-document-cid-01 cs-document-od-01 cs-document-od-02 }
8
+ provides { oiml-cs cs-process-requirements cs-abstract-processes cs-trf-checklist cs-certificate-requirements cs-framework-participants cs-framework-schemes cs-framework-declarations cs-framework-documents cs-framework-governance cs-document-pd-03 cs-document-pd-04 cs-document-pd-02 cs-document-pd-01 cs-document-pd-06 cs-document-pd-07 cs-document-pd-08 cs-document-pd-09 cs-document-cid-01 cs-document-od-01 cs-document-od-02 }
9
9
  default_spelling eng-Latn
10
10
  }
@@ -0,0 +1,20 @@
1
+ # OIML R 129 — OVERLAY on the OIML-CS test-report checklist (TODO.roadmap/13/15).
2
+ # The R 129-bound source/validation strings of the four checklist entries that
3
+ # name rec forms (scalar override per entry — the kernel's B3.10 deep merge).
4
+ # Kernel-native overlay (overlay true): NOT a standalone definition — the
5
+ # composer merges these scalars onto the oiml-cs base register at load time.
6
+ test_report_checklist oiml-cs-trf {
7
+ overlay true
8
+ entry sample_identification {
9
+ validation "form_contains('identification')"
10
+ }
11
+ entry test_facility {
12
+ source "equipment-info form"
13
+ }
14
+ entry instrument_setup {
15
+ validation "form_contains('identification')"
16
+ }
17
+ entry adjustments {
18
+ source "adjustments-modifications form"
19
+ }
20
+ }
@@ -6,7 +6,7 @@ package {
6
6
  editions { 2020 }
7
7
  baseUrn "urn:oiml:pub:r:129:2020"
8
8
  uses { iso-iec-17000 iso-iec-17065 iso-iec-17025 iso-iec-17067 oiml-cs oiml-smart-core oiml-smart-module-specimen-governance oiml-smart-module-emc-disturbances oiml-smart-module-env-iec60068 }
9
- requires { core subject-chain-entities party-entities workflow-entities evaluation-skeleton iso-iec-17000 ca-terminology-17000 iso-iec-17025 lab-requirements-17025 ca-terminology-17025 iso-iec-17065 cb-requirements-17065 ca-terminology-17065 iso-iec-17067 scheme-content-requirements-17067 ca-terminology-17067 oiml-cs cs-process-requirements cs-abstract-processes cs-certificate-requirements cs-framework-participants cs-framework-schemes cs-framework-declarations cs-framework-documents cs-framework-governance cs-document-pd-03 cs-document-pd-04 cs-document-pd-02 cs-document-pd-01 cs-document-pd-06 cs-document-pd-07 cs-document-pd-08 cs-document-pd-09 cs-document-cid-01 cs-document-od-01 cs-document-od-02 disturbance-test-skeletons disturbance-form-skeletons disturbance-verdict-variants env-method-skeletons env-form-skeletons sample-selection-rules eut-continuity-contract test-execution-entities }
9
+ requires { core subject-chain-entities party-entities workflow-entities evaluation-skeleton iso-iec-17000 ca-terminology-17000 iso-iec-17025 lab-requirements-17025 ca-terminology-17025 iso-iec-17065 cb-requirements-17065 ca-terminology-17065 iso-iec-17067 scheme-content-requirements-17067 ca-terminology-17067 oiml-cs cs-process-requirements cs-abstract-processes cs-trf-checklist cs-certificate-requirements cs-framework-participants cs-framework-schemes cs-framework-declarations cs-framework-documents cs-framework-governance cs-document-pd-03 cs-document-pd-04 cs-document-pd-02 cs-document-pd-01 cs-document-pd-06 cs-document-pd-07 cs-document-pd-08 cs-document-pd-09 cs-document-cid-01 cs-document-od-01 cs-document-od-02 disturbance-test-skeletons disturbance-form-skeletons disturbance-verdict-variants env-method-skeletons env-form-skeletons sample-selection-rules eut-continuity-contract test-execution-entities }
10
10
  validity { from 2020-01-01 }
11
11
  status current
12
12
  default_spelling eng-Latn
@@ -0,0 +1,20 @@
1
+ # OIML R 144 — OVERLAY on the OIML-CS test-report checklist (TODO.roadmap/13/15).
2
+ # The R 144-bound source/validation strings of the four checklist entries that
3
+ # name rec forms (scalar override per entry — the kernel's B3.10 deep merge).
4
+ # Kernel-native overlay (overlay true): NOT a standalone definition — the
5
+ # composer merges these scalars onto the oiml-cs base register at load time.
6
+ test_report_checklist oiml-cs-trf {
7
+ overlay true
8
+ entry sample_identification {
9
+ validation "form_contains('03-05-type-identification')"
10
+ }
11
+ entry test_facility {
12
+ source "equipment-info form"
13
+ }
14
+ entry instrument_setup {
15
+ validation "form_contains('03-05-type-identification')"
16
+ }
17
+ entry adjustments {
18
+ source "adjustments-info form"
19
+ }
20
+ }
@@ -6,7 +6,7 @@ package {
6
6
  editions { 2013 }
7
7
  baseUrn "urn:oiml:pub:r:144:2013"
8
8
  uses { iso-iec-17000 iso-iec-17065 iso-iec-17025 iso-iec-17067 oiml-cs oiml-smart-core oiml-smart-module-specimen-governance oiml-smart-module-reference-materials }
9
- requires { core subject-chain-entities party-entities workflow-entities evaluation-skeleton iso-iec-17000 ca-terminology-17000 iso-iec-17025 lab-requirements-17025 ca-terminology-17025 iso-iec-17065 cb-requirements-17065 ca-terminology-17065 iso-iec-17067 scheme-content-requirements-17067 ca-terminology-17067 oiml-cs cs-process-requirements cs-abstract-processes cs-certificate-requirements cs-framework-participants cs-framework-schemes cs-framework-declarations cs-framework-documents cs-framework-governance cs-document-pd-03 cs-document-pd-04 cs-document-pd-02 cs-document-pd-01 cs-document-pd-06 cs-document-pd-07 cs-document-pd-08 cs-document-pd-09 cs-document-cid-01 cs-document-od-01 cs-document-od-02 reference-material-pattern test-point-subform umpe-validity-hook sample-selection-rules eut-continuity-contract test-execution-entities }
9
+ requires { core subject-chain-entities party-entities workflow-entities evaluation-skeleton iso-iec-17000 ca-terminology-17000 iso-iec-17025 lab-requirements-17025 ca-terminology-17025 iso-iec-17065 cb-requirements-17065 ca-terminology-17065 iso-iec-17067 scheme-content-requirements-17067 ca-terminology-17067 oiml-cs cs-process-requirements cs-abstract-processes cs-trf-checklist cs-certificate-requirements cs-framework-participants cs-framework-schemes cs-framework-declarations cs-framework-documents cs-framework-governance cs-document-pd-03 cs-document-pd-04 cs-document-pd-02 cs-document-pd-01 cs-document-pd-06 cs-document-pd-07 cs-document-pd-08 cs-document-pd-09 cs-document-cid-01 cs-document-od-01 cs-document-od-02 reference-material-pattern test-point-subform umpe-validity-hook sample-selection-rules eut-continuity-contract test-execution-entities }
10
10
  validity { from 2013-01-01 }
11
11
  status current
12
12
  default_spelling eng-Latn
@@ -0,0 +1,20 @@
1
+ # OIML R 60 — OVERLAY on the OIML-CS test-report checklist (TODO.roadmap/13/15).
2
+ # The R 60-bound source/validation strings of the four checklist entries that
3
+ # name rec forms (scalar override per entry — the kernel's B3.10 deep merge).
4
+ # Kernel-native overlay (overlay true): NOT a standalone definition — the
5
+ # composer merges these scalars onto the oiml-cs base register at load time.
6
+ test_report_checklist oiml-cs-trf {
7
+ overlay true
8
+ entry sample_identification {
9
+ validation "form_contains('04-07-sample-selection')"
10
+ }
11
+ entry test_facility {
12
+ source "04-10 test-equipment forms"
13
+ }
14
+ entry instrument_setup {
15
+ validation "form_contains('04-05-load-cell-type-info')"
16
+ }
17
+ entry adjustments {
18
+ source "04-07-sample-selection form (§4.8)"
19
+ }
20
+ }
@@ -6,7 +6,7 @@ package {
6
6
  editions { 2021 2017 2000 1996 }
7
7
  baseUrn "urn:oiml:pub:r:60:2021"
8
8
  uses { iso-iec-17000 iso-iec-17065 iso-iec-17025 iso-iec-17067 oiml-cs oiml-smart-core oiml-smart-module-specimen-governance }
9
- requires { core subject-chain-entities party-entities workflow-entities evaluation-skeleton iso-iec-17000 ca-terminology-17000 iso-iec-17025 lab-requirements-17025 ca-terminology-17025 iso-iec-17065 cb-requirements-17065 ca-terminology-17065 iso-iec-17067 scheme-content-requirements-17067 ca-terminology-17067 oiml-cs cs-process-requirements cs-abstract-processes cs-certificate-requirements cs-framework-participants cs-framework-schemes cs-framework-declarations cs-framework-documents cs-framework-governance cs-document-pd-03 cs-document-pd-04 cs-document-pd-02 cs-document-pd-01 cs-document-pd-06 cs-document-pd-07 cs-document-pd-08 cs-document-pd-09 cs-document-cid-01 cs-document-od-01 cs-document-od-02 sample-selection-rules eut-continuity-contract test-execution-entities }
9
+ requires { core subject-chain-entities party-entities workflow-entities evaluation-skeleton iso-iec-17000 ca-terminology-17000 iso-iec-17025 lab-requirements-17025 ca-terminology-17025 iso-iec-17065 cb-requirements-17065 ca-terminology-17065 iso-iec-17067 scheme-content-requirements-17067 ca-terminology-17067 oiml-cs cs-process-requirements cs-abstract-processes cs-trf-checklist cs-certificate-requirements cs-framework-participants cs-framework-schemes cs-framework-declarations cs-framework-documents cs-framework-governance cs-document-pd-03 cs-document-pd-04 cs-document-pd-02 cs-document-pd-01 cs-document-pd-06 cs-document-pd-07 cs-document-pd-08 cs-document-pd-09 cs-document-cid-01 cs-document-od-01 cs-document-od-02 sample-selection-rules eut-continuity-contract test-execution-entities }
10
10
  supersedes { urn:oiml:pub:r:60:2017 }
11
11
  validity { from 2021-01-01 }
12
12
  status current
@@ -0,0 +1,23 @@
1
+ # OIML R 91 — OVERLAY on the OIML-CS test-report checklist (TODO.roadmap/13/15
2
+ # + TODO.roadmap/19). The R 91-bound source strings of the four checklist
3
+ # entries that name rec forms. R 91-3 form ids land in phase 2 — no
4
+ # form_contains() validation is resolvable yet, so these entries carry prose
5
+ # sources naming the R 91-3 report sections (never R 60/R 129 form ids — the
6
+ # residue burn of task 19). Kernel-native overlay (overlay true): NOT a
7
+ # standalone definition — the composer merges these scalars onto the oiml-cs
8
+ # base register at load time.
9
+ test_report_checklist oiml-cs-trf {
10
+ overlay true
11
+ entry sample_identification {
12
+ source "test_report sample block → MeasuringInstrumentSample serial numbers (R 91-4 sample identification; R 91-3 form ids land in phase 2 — no form reference is resolvable yet)"
13
+ }
14
+ entry test_facility {
15
+ source "R 91-3 'Information concerning the test equipment used for type evaluation' section (equipment table: name/manufacturer/type/serial/test references — form id lands in phase 2)"
16
+ }
17
+ entry instrument_setup {
18
+ source "R 91-3 instrument identification form (form ids land in phase 2 — TODO.refactor/13)"
19
+ }
20
+ entry adjustments {
21
+ source "R 91-3 'Adjustments or modifications' section (authorized adjustments/modifications to the sample during evaluation, R 91-1, 8.1.2 — form id lands in phase 2)"
22
+ }
23
+ }
@@ -6,7 +6,7 @@ package {
6
6
  editions { 2025 1990 }
7
7
  baseUrn "urn:oiml:pub:r:91:2025"
8
8
  uses { iso-iec-17000 iso-iec-17065 iso-iec-17025 iso-iec-17067 oiml-cs oiml-smart-core oiml-smart-module-specimen-governance }
9
- requires { core subject-chain-entities party-entities workflow-entities evaluation-skeleton iso-iec-17000 ca-terminology-17000 iso-iec-17025 lab-requirements-17025 ca-terminology-17025 iso-iec-17065 cb-requirements-17065 ca-terminology-17065 iso-iec-17067 scheme-content-requirements-17067 ca-terminology-17067 oiml-cs cs-process-requirements cs-abstract-processes cs-certificate-requirements cs-framework-participants cs-framework-schemes cs-framework-declarations cs-framework-documents cs-framework-governance cs-document-pd-03 cs-document-pd-04 cs-document-pd-02 cs-document-pd-01 cs-document-pd-06 cs-document-pd-07 cs-document-pd-08 cs-document-pd-09 cs-document-cid-01 cs-document-od-01 cs-document-od-02 sample-selection-rules eut-continuity-contract test-execution-entities }
9
+ requires { core subject-chain-entities party-entities workflow-entities evaluation-skeleton iso-iec-17000 ca-terminology-17000 iso-iec-17025 lab-requirements-17025 ca-terminology-17025 iso-iec-17065 cb-requirements-17065 ca-terminology-17065 iso-iec-17067 scheme-content-requirements-17067 ca-terminology-17067 oiml-cs cs-process-requirements cs-abstract-processes cs-trf-checklist cs-certificate-requirements cs-framework-participants cs-framework-schemes cs-framework-declarations cs-framework-documents cs-framework-governance cs-document-pd-03 cs-document-pd-04 cs-document-pd-02 cs-document-pd-01 cs-document-pd-06 cs-document-pd-07 cs-document-pd-08 cs-document-pd-09 cs-document-cid-01 cs-document-od-01 cs-document-od-02 sample-selection-rules eut-continuity-contract test-execution-entities }
10
10
  status preview
11
11
  default_spelling eng-Latn
12
12
  description "Traffic speed meters — metrological and technical requirements, test procedures, test report format, and type evaluation report format for speed enforcement instruments (preview edition 2025)."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oimlsmart/primmel-packages",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "The OIML SMART platform's authoritative model content: every Recommendation, the OIML-CS scheme, the CASCO foundations, the shared modules, and the product/program reference packages as Primmel (.prl) packages — the single source of truth the platform's data trees regenerate from. Consumed by the smart monorepo (oimlsmart/smart) at a pinned version (TODO.repos/02).",
5
5
  "type": "module",
6
6
  "repository": {
@@ -12,6 +12,6 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "devDependencies": {
15
- "@primmel/primmel": "^1.13.0"
15
+ "@primmel/primmel": "^1.14.0"
16
16
  }
17
17
  }