@oimlsmart/primmel-packages 0.2.1 → 0.4.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,292 @@
1
+ # ISO/IEC 17067:2013 — PRODUCT-CERTIFICATION SCHEME TYPES (TODO.roadmap/39d)
2
+ # -----------------------------------------------------------------------------
3
+ # The clause-5 scheme-type taxonomy of ISO/IEC 17067:2013 as a STRUCTURED,
4
+ # MACHINE-QUERYABLE REGISTER — the resolution register for the
5
+ # `scheme_type` facet a scheme layer declares in its manifest (today:
6
+ # data/oiml-cs declares `scheme_type: type_1a`, B 18:2025 §1.3). checkUses
7
+ # (the composition registry) resolves a declared type against the register
8
+ # of a layer composed earlier; task 43's oiml-cs→17067 coverage gate reads
9
+ # the facets to discharge type-conditioned provisions (a type-1a scheme
10
+ # carries NO surveillance — the
11
+ # /req/iso-17067/scheme-content/surveillance-procedures provision and the
12
+ # VI-activity content are N/A with the 5.3.1 justification).
13
+ #
14
+ # The register encodes clause 5 INCLUDING Table 1 ("Building a product
15
+ # certification scheme", 5.2):
16
+ # family common Table-1 rows I–IV — X for every scheme type
17
+ # (5.3.1: "All types of product certification schemes
18
+ # involve selection, determination, review, decision
19
+ # and attestation"); row I includes sampling, as
20
+ # applicable.
21
+ # family determination Table-1 row II a)–e) — "as applicable" for every
22
+ # type; the scheme selects per its purpose and scope
23
+ # (6.5.1 c).
24
+ # family attestation Table-1 row V a)–d) — attestation and licensing;
25
+ # the per-type `attestation` list carries the X-marks.
26
+ # family surveillance Table-1 row VI a)–d) — the surveillance menu; the
27
+ # per-type `surveillance.activities` list carries the
28
+ # X-marks.
29
+ # scheme_type the seven named types (5.3.2–5.3.8), each with
30
+ # its defining-subclause anchor, a verbatim-faithful
31
+ # description, the attestation object, the
32
+ # attestation/licensing X-marks, and the SURVEILLANCE
33
+ # facet — `required` is the 5.3.1 machine query ("For
34
+ # scheme types 1a and 1b, no surveillance is required
35
+ # since the attestation relates only to the product
36
+ # items which have been subjected to the
37
+ # determination activities").
38
+ #
39
+ # Table-1 notes carried by the register (5.2): NOTE c — a scheme includes
40
+ # at least the activities I, II, III, IV and V a) (hence issue_statement
41
+ # is on every type's attestation list); NOTE a — the activities can be
42
+ # coupled with initial audit and surveillance audit of the applicant's
43
+ # management system (an example is given in ISO/IEC Guide 53), the order
44
+ # defined within the scheme; NOTE b — ISO/IEC Guide 28 is the often-used,
45
+ # well-tried model corresponding to scheme type 5; NOTE d — the table's
46
+ # "N" column marks an undefined number of possible OTHER schemes based on
47
+ # different activities: a placeholder, deliberately NOT a register entry
48
+ # (a scheme_type value must name one of the seven defined types).
49
+ #
50
+ # X-MARK VERIFICATION: every per-type attestation/surveillance list was
51
+ # transcribed from the Metanorma AsciiDoc Table-1 rows (see layer.yaml
52
+ # editions.source) and cross-checked against the 5.3.x defining
53
+ # subclauses. One divergence from the corpus audit's summary table
54
+ # (analysis/oiml-cs-corpus-audit-2026-07.md, Corpus D §2.2): Table 1's
55
+ # raw V d) row marks X for type 6 (cells: 1a blank, X for 1b/2/3/4/5/6,
56
+ # N absent) — the audit's "type 6 has a)+b)" omits it. The raw table is
57
+ # authoritative; type 6 carries mark_licensing.
58
+ #
59
+ # X for row V d) is conditioned by the standard itself: "granting the
60
+ # right to use marks of conformity (licensing) is based on surveillance
61
+ # (VI) or certification of a batch" — type 1a (no surveillance, no batch)
62
+ # carries no mark licensing, matching the table.
63
+ #
64
+ # Cross-references (the per-type determination/attestation/surveillance
65
+ # ids against the activity-kind menus; a scheme manifest's scheme_type
66
+ # against this register when composed) are checked package-side by the
67
+ # kernel's C122 scheme-type-resolves (per-register gated).
68
+ #
69
+ # This file is the single source of truth; the consumer's
70
+ # data/iso-iec-17067/specification/scheme-types.yaml is its GENERATED YAML
71
+ # twin (cd browser && npm run gen:data; schema data/schemas/scheme-types.yaml).
72
+ scheme_activity_kind selection {
73
+ family common
74
+ row "I"
75
+ label "Selection, including planning and preparation activities, specification of requirements, e.g. normative documents, and sampling, as applicable"
76
+ }
77
+
78
+ scheme_activity_kind determination {
79
+ family common
80
+ row "II"
81
+ label "Determination of characteristics, as applicable, by: a) testing; b) inspection; c) design appraisal; d) assessment of services or processes; e) other determination activities, e.g. verification"
82
+ }
83
+
84
+ scheme_activity_kind review {
85
+ family common
86
+ row "III"
87
+ label "Review — Examining the evidence of conformity obtained during the determination stage to establish whether the specified requirements have been met"
88
+ }
89
+
90
+ scheme_activity_kind decision {
91
+ family common
92
+ row "IV"
93
+ label "Decision on certification — Granting, maintaining, extending, reducing, suspending, withdrawing certification"
94
+ }
95
+
96
+ scheme_activity_kind testing {
97
+ family determination
98
+ row "II a)"
99
+ label "testing"
100
+ }
101
+
102
+ scheme_activity_kind inspection {
103
+ family determination
104
+ row "II b)"
105
+ label "inspection"
106
+ }
107
+
108
+ scheme_activity_kind design_appraisal {
109
+ family determination
110
+ row "II c)"
111
+ label "design appraisal"
112
+ }
113
+
114
+ scheme_activity_kind service_process_assessment {
115
+ family determination
116
+ row "II d)"
117
+ label "assessment of services or processes"
118
+ }
119
+
120
+ scheme_activity_kind other_determination {
121
+ family determination
122
+ row "II e)"
123
+ label "other determination activities, e.g. verification"
124
+ }
125
+
126
+ scheme_activity_kind issue_statement {
127
+ family attestation
128
+ row "V a)"
129
+ label "issuing a certificate of conformity or other statement of conformity (attestation)"
130
+ }
131
+
132
+ scheme_activity_kind grant_use_of_statement {
133
+ family attestation
134
+ row "V b)"
135
+ label "granting the right to use certificates or other statements of conformity"
136
+ }
137
+
138
+ scheme_activity_kind batch_certificate {
139
+ family attestation
140
+ row "V c)"
141
+ label "issuing a certificate of conformity for a batch of products"
142
+ }
143
+
144
+ scheme_activity_kind mark_licensing {
145
+ family attestation
146
+ row "V d)"
147
+ label "granting the right to use marks of conformity (licensing) — based on surveillance (VI) or certification of a batch"
148
+ }
149
+
150
+ scheme_activity_kind market_sampling {
151
+ family surveillance
152
+ row "VI a)"
153
+ label "testing or inspection of samples from the open market"
154
+ }
155
+
156
+ scheme_activity_kind factory_sampling {
157
+ family surveillance
158
+ row "VI b)"
159
+ label "testing or inspection of samples from the factory"
160
+ }
161
+
162
+ scheme_activity_kind production_assessment {
163
+ family surveillance
164
+ row "VI c)"
165
+ label "assessment of the production, the delivery of the service or the operation of the process"
166
+ }
167
+
168
+ scheme_activity_kind management_system_audit {
169
+ family surveillance
170
+ row "VI d)"
171
+ label "management system audits combined with random tests or inspections"
172
+ }
173
+
174
+ scheme_type type_1a {
175
+ label "scheme type 1a"
176
+ clause "5.3.2"
177
+ description "In this scheme, one or more samples of the product are subjected to the determination activities. A certificate of conformity or other statement of conformity (e.g. a letter) is issued for the product type, the characteristics of which are detailed in the certificate or a document referred to in the certificate. Subsequent production items are not covered by the certification body's attestation of conformity. The samples are representative of subsequent production items which could be referred to by the manufacturer as being manufactured in accordance with the certified type. The certification body may grant to the manufacturer the right to use the type certificate or other statement of conformity (e.g. letter) as a basis for the manufacturer to declare that subsequent production items conform to the specified requirements."
178
+ sampling "One or more samples of the product are subjected to the determination activities; the samples are representative of subsequent production items which could be referred to by the manufacturer as being manufactured in accordance with the certified type (5.3.2)."
179
+ attestation_object product_type
180
+ determination { testing inspection design_appraisal service_process_assessment other_determination }
181
+ attestation { issue_statement grant_use_of_statement }
182
+ surveillance {
183
+ required false
184
+ }
185
+ notes {
186
+ "No surveillance is required (5.3.1): the attestation relates only to the product items which have been subjected to the determination activities. Subsequent production items are NOT covered by the certification body's attestation of conformity."
187
+ "The OIML-CS case (B 18:2025 §1.3): the type certificate attests the TYPE — which is precisely why metrological verification exists as a separate pathway for production items, outside the product-certification frame."
188
+ }
189
+ }
190
+
191
+ scheme_type type_1b {
192
+ label "scheme type 1b"
193
+ clause "5.3.3"
194
+ description "This scheme type involves the certification of a whole batch of products, following selection and determination as specified in the scheme. The proportion to be tested, which can include testing of all the units in the batch (100 % testing), would be based, for example, on the homogeneity of the items in the batch and the application of a sampling plan, where appropriate. If the outcome of the determination, review and decision is positive, all items in the batch may be described as certified and may have a mark of conformity affixed, if that is included in the scheme."
195
+ sampling "The proportion of the batch to be tested — which can include testing of all the units in the batch (100 % testing) — is based, for example, on the homogeneity of the items in the batch and the application of a sampling plan, where appropriate (5.3.3)."
196
+ attestation_object batch
197
+ determination { testing inspection design_appraisal service_process_assessment other_determination }
198
+ attestation { issue_statement grant_use_of_statement batch_certificate mark_licensing }
199
+ surveillance {
200
+ required false
201
+ }
202
+ notes {
203
+ "No surveillance is required (5.3.1): the attestation relates only to the product items which have been subjected to the determination activities — here the whole batch."
204
+ }
205
+ }
206
+
207
+ scheme_type type_2 {
208
+ label "scheme type 2"
209
+ clause "5.3.4"
210
+ description "The surveillance part of this scheme involves periodically taking samples of the product from the market and subjecting them to determination activities to check that items produced subsequent to the initial attestation fulfil the specified requirements. While this scheme may identify the impact of the distribution channel on conformity, the resources it requires can be extensive. Also, when significant nonconformities are found, effective corrective measures may be limited since the product has already been distributed to the market."
211
+ sampling "Surveillance samples are taken periodically from the market (5.3.4; Table 1, VI a)."
212
+ attestation_object ongoing_production
213
+ determination { testing inspection design_appraisal service_process_assessment other_determination }
214
+ attestation { issue_statement grant_use_of_statement mark_licensing }
215
+ surveillance {
216
+ required true
217
+ activities { market_sampling }
218
+ }
219
+ notes {
220
+ "May identify the impact of the distribution channel on conformity, but corrective measures can be limited once nonconforming product has already been distributed (5.3.4)."
221
+ }
222
+ }
223
+
224
+ scheme_type type_3 {
225
+ label "scheme type 3"
226
+ clause "5.3.5"
227
+ description "The surveillance part of this scheme involves periodically taking samples of the product from the point of production and subjecting them to determination activities to check that items produced subsequent to the initial attestation fulfil the specified requirements. The surveillance includes periodic assessment of the production process. This scheme does not provide any indication of the impact the distribution channel plays on conformity. When serious nonconformities are found, the opportunity may exist to resolve them before widespread market distribution occurs."
228
+ sampling "Surveillance samples are taken periodically from the point of production (5.3.5; Table 1, VI b)."
229
+ attestation_object ongoing_production
230
+ determination { testing inspection design_appraisal service_process_assessment other_determination }
231
+ attestation { issue_statement grant_use_of_statement mark_licensing }
232
+ surveillance {
233
+ required true
234
+ activities { factory_sampling production_assessment }
235
+ }
236
+ notes {
237
+ "Provides no indication of the distribution channel's impact on conformity, but serious nonconformities may be resolved before widespread market distribution occurs (5.3.5)."
238
+ }
239
+ }
240
+
241
+ scheme_type type_4 {
242
+ label "scheme type 4"
243
+ clause "5.3.6"
244
+ description "The surveillance part of this scheme allows for the choice between periodically taking samples of the product from the point of production, or from the market, or from both, and subjecting them to determination activities to check that items produced subsequent to the initial attestation fulfil the specified requirements. The surveillance includes periodic assessment of the production process. This scheme can both indicate the impact the distribution channel plays on conformity and provide a premarket mechanism to identify and resolve serious nonconformities. Significant duplication of effort may take place for those products whose conformity is not affected during the distribution process."
245
+ sampling "Surveillance samples are taken periodically from the point of production, or from the market, or from both — the choice is defined within the scheme (5.3.6; Table 1, VI a + b)."
246
+ attestation_object ongoing_production
247
+ determination { testing inspection design_appraisal service_process_assessment other_determination }
248
+ attestation { issue_statement grant_use_of_statement mark_licensing }
249
+ surveillance {
250
+ required true
251
+ activities { market_sampling factory_sampling production_assessment }
252
+ }
253
+ notes {
254
+ "Combines the type-2 and type-3 indications (distribution-channel impact AND a premarket mechanism), at the price of possible duplicated effort for products whose conformity is not affected during distribution (5.3.6)."
255
+ }
256
+ }
257
+
258
+ scheme_type type_5 {
259
+ label "scheme type 5"
260
+ clause "5.3.7"
261
+ description "The surveillance part of this scheme allows for the choice between periodically taking samples of the product either from the point of production, or from the market, or from both, and subjecting them to determination activities to check that items produced subsequent to the initial attestation fulfil the specified requirements. The surveillance includes periodic assessment of the production process, or audit of the management system, or both. The extent to which the four surveillance activities are conducted may be varied for a given situation, as defined in the scheme. If the surveillance includes audit of the management system, an initial audit of the management system will be needed."
262
+ sampling "Surveillance samples are taken periodically from the point of production, or from the market, or from both — the extent of the four surveillance activities may be varied for a given situation, as defined in the scheme (5.3.7; Table 1, VI a–d)."
263
+ attestation_object ongoing_production
264
+ determination { testing inspection design_appraisal service_process_assessment other_determination }
265
+ attestation { issue_statement grant_use_of_statement mark_licensing }
266
+ surveillance {
267
+ required true
268
+ activities { market_sampling factory_sampling production_assessment management_system_audit }
269
+ }
270
+ notes {
271
+ "If the surveillance includes audit of the management system, an initial audit of the management system will be needed (5.3.7)."
272
+ "ISO/IEC Guide 28 is the often-used and well-tried model for a product certification scheme corresponding to scheme type 5 (Table 1, Note b)."
273
+ }
274
+ }
275
+
276
+ scheme_type type_6 {
277
+ label "scheme type 6"
278
+ clause "5.3.8"
279
+ description "This scheme is mainly applicable to certification of services and processes. Although services are considered as being generally intangible, the determination activities are not limited to the evaluation of intangible elements (e.g. effectiveness of an organization's procedures, delays and responsiveness of the management). In some situations, the tangible elements of a service can support the evidence of conformity indicated by the assessment of processes, resources and controls involved. For both services and processes, the surveillance part of this scheme should include periodic audits of the management system and periodic assessment of the service or process."
280
+ sampling "Determination activities are not limited to the evaluation of intangible elements — the tangible elements of a service can support the evidence of conformity (e.g. inspection of the cleanliness of vehicles for the quality of public transportation); for processes, determination can include testing and inspection of samples of the resultant product (e.g. welds), if applicable (5.3.8)."
281
+ attestation_object service_or_process
282
+ determination { testing inspection design_appraisal service_process_assessment other_determination }
283
+ attestation { issue_statement grant_use_of_statement mark_licensing }
284
+ surveillance {
285
+ required true
286
+ activities { production_assessment management_system_audit }
287
+ }
288
+ notes {
289
+ "Mainly applicable to certification of services and processes (5.3.8). Table 1's V d) row marks X for type 6 (mark licensing based on the VI surveillance) — the corpus audit's summary table omits this mark; the raw table is authoritative."
290
+ }
291
+ }
292
+
@@ -0,0 +1,145 @@
1
+ # OIML-CS FRAMEWORK — THE DECLARATION MODEL (B 18:2025 §5.5–5.6; PD-08)
2
+ # -----------------------------------------------------------------------------
3
+ # The OIML-CS Declaration as a first-class model (TODO.roadmap/40): the
4
+ # participation register of the scheme (PD-08 clause 4 — every IA, Utilizer
5
+ # and Associate shall sign a Declaration; the Executive Secretary records
6
+ # them). Three declaration kinds, their content slots, the status model
7
+ # (PD-08 cl. 5: a Declaration is initiated, signed, kept current through
8
+ # scope extensions/reductions and periodic-review changes, and recorded by
9
+ # the Executive Secretary), and the SIGNING-GATE invariant (PD-08 clause 5):
10
+ # an OIML Issuing Authority must have signed its Declaration before issuing
11
+ # any OIML certificate or OIML type evaluation report.
12
+ #
13
+ # This file closes the §4.6.7 documented exclusion of
14
+ # specification/requirements/cs.prl: the scheme-governance constraint
15
+ # (who may certify what, and only after a signed Declaration) now has its
16
+ # model home here — the gate references the abstract processes it blocks
17
+ # (the consumer's evaluation/abstract-processes.yaml, still YAML-only).
18
+ #
19
+ # Declaration semantics (PD-08, verified against the corpus audit
20
+ # analysis/oiml-cs-corpus-audit-2026-07.md, corpus C):
21
+ # - IA Declaration scope = instrument categories × Schemes (certificates
22
+ # and type evaluation reports under Scheme A and/or B — PD-08 cl. 4 a);
23
+ # - Utilizer/Associate Declaration scope = acceptance per Scheme PLUS any
24
+ # additional national requirements (3.2) deviating from the
25
+ # Recommendation (PD-08 cl. 4 b; B 18:2025 §5.6.1–5.6.2);
26
+ # - Utilizers/Associates specify from which IAs and TLs they accept
27
+ # reports/test data and whether they accept MTL-based reports
28
+ # (§5.6.3 — MTL acceptance is voluntary and need not be justified);
29
+ # - acceptance of legacy MAA certificates + conditions SHALL be detailed
30
+ # in the Declaration (PD-08 cl. 6; B 18:2025 §15.10), Basic-certificate
31
+ # acceptance is voluntary (§15.11).
32
+ #
33
+ # Numbering: official published PDF (reference-docs/cs/docs/b018-e25.pdf).
34
+ #
35
+ # This file is the single source of truth; the consumer's
36
+ # data/oiml-cs/framework/declarations.yaml is its GENERATED YAML twin
37
+ # (cd browser && npm run gen:data; schema data/schemas/framework-declarations.yaml).
38
+ # Cross-references (holder kinds, the gate's declaration edge) are checked
39
+ # package-side by the kernel's C120 framework-references-resolve; the
40
+ # consumer's linker R25 still guards the regenerated YAML (incl. the
41
+ # signing-gate's blocks against the abstract-process ids). The gate
42
+ # calculus lives in browser/src/data/framework.ts; the seeded rejection
43
+ # proof in browser/src/__tests__/cs-framework.test.ts.
44
+ declaration_kind issuing_authority_declaration {
45
+ label "OIML Issuing Authority Declaration"
46
+ holder issuing_authority
47
+ clause "5.5.1"
48
+ procedure "PD-08"
49
+ definition "Declaration signed by an OIML Issuing Authority accepted for participation in the OIML-CS, indicating its scope for issuing OIML certificates and OIML type evaluation reports under Scheme A and/or Scheme B (§5.5.1)."
50
+ scope_model categories_x_schemes
51
+ scheme_a_obligation "When an OIML Issuing Authority is accepted under Scheme A, the OIML Member State shall designate at least one Utilizer for each instrument category concerned, unless the category is not regulated in that Member State (§5.5.1; PD-08 cl. 4 Note 2 — a written explanation to the Executive Secretary)."
52
+ source {
53
+ doc "urn:oiml:pub:b:18:2025"
54
+ clause "5.5.1"
55
+ }
56
+ }
57
+
58
+ declaration_kind utilizer_declaration {
59
+ label "Utilizer Declaration"
60
+ holder utilizer
61
+ clause "5.6.1"
62
+ procedure "PD-08"
63
+ definition "Declaration signed by a Utilizer indicating its scope of acceptance of OIML certificates and/or OIML type evaluation reports issued under Scheme A and/or Scheme B (§5.6.1)."
64
+ scope_model categories_x_schemes
65
+ content additional_national_requirements {
66
+ clause "5.6.1"
67
+ description "Additional national requirements (3.2) deviating from the Recommendation — the Utilizer may specify them; acceptance of additional-national-requirement test data is at the Utilizer's discretion and must be stated in the Declaration (PD-09, 4.1)."
68
+ }
69
+ content accepted_participants {
70
+ clause "5.6.3"
71
+ description "The OIML Issuing Authorities and Test Laboratories from which the Utilizer accepts evaluation reports, test reports and test data for additional national requirements (§5.6.3)."
72
+ }
73
+ content mtl_acceptance_policy {
74
+ clause "5.6.3"
75
+ description "Whether the Utilizer accepts OIML certificates and/or type evaluation reports issued on the basis of test reports from a Manufacturer's Test Laboratory (§5.6.3) — acceptance is voluntary and requires no justification (PD-08 cl. 6)."
76
+ }
77
+ content maa_certificate_acceptance {
78
+ clause "15.10"
79
+ description "Conditions for the acceptance of legacy OIML MAA certificates — SHALL be detailed in the Declaration when accepted (PD-08 cl. 6; §15.10). Legacy OIML Basic certificates remain valid and their acceptance is voluntary (§15.11)."
80
+ }
81
+ source {
82
+ doc "urn:oiml:pub:b:18:2025"
83
+ clause "5.6.1"
84
+ }
85
+ }
86
+
87
+ declaration_kind associate_declaration {
88
+ label "Associate Declaration"
89
+ holder associate
90
+ clause "5.6.2"
91
+ procedure "PD-08"
92
+ definition "Declaration signed by an Associate indicating its scope of acceptance of OIML certificates and/or OIML type evaluation reports issued under Scheme A and/or Scheme B (§5.6.2) — the same content slots as the Utilizer Declaration."
93
+ scope_model categories_x_schemes
94
+ content additional_national_requirements {
95
+ clause "5.6.2"
96
+ description "Additional national requirements (3.2), as for the Utilizer Declaration."
97
+ }
98
+ content accepted_participants {
99
+ clause "5.6.3"
100
+ description "The OIML Issuing Authorities and Test Laboratories from which the Associate accepts reports and test data (§5.6.3)."
101
+ }
102
+ content mtl_acceptance_policy {
103
+ clause "5.6.3"
104
+ description "Whether the Associate accepts MTL-based certificates/reports (§5.6.3) — voluntary, no justification needed (PD-08 cl. 6)."
105
+ }
106
+ content maa_certificate_acceptance {
107
+ clause "15.10"
108
+ description "Conditions for the acceptance of legacy OIML MAA certificates (PD-08 cl. 6; §15.10); Basic-certificate acceptance is voluntary (§15.11)."
109
+ }
110
+ source {
111
+ doc "urn:oiml:pub:b:18:2025"
112
+ clause "5.6.2"
113
+ }
114
+ }
115
+
116
+ declaration_status draft {
117
+ description "Initiated, not yet signed by the participant."
118
+ }
119
+
120
+ declaration_status signed {
121
+ description "Signed by the participant and recorded by the Executive Secretary — the only status that discharges the signing gate."
122
+ }
123
+
124
+ declaration_status suspended {
125
+ description "The participant is suspended by the Management Committee (§11.4) — no new applications (PD-03 cl. 8)."
126
+ }
127
+
128
+ declaration_status withdrawn {
129
+ description "Participation withdrawn; the Declaration no longer grounds issuance or acceptance."
130
+ }
131
+
132
+ declaration_gate declaration-signed-before-issuance {
133
+ clause "PD-08 cl. 5"
134
+ statement "An OIML Issuing Authority shall not issue any OIML certificate or OIML type evaluation report before its Declaration covering the instrument category and Scheme is signed (PD-08 clause 5; B 18:2025 §5.5.1). Evaluation and testing for an application received beforehand may proceed only after the Review Committee has made a positive, unconditional recommendation to the Management Committee — but the certificate/report still cannot be issued until the Declaration is signed or updated (PD-08 clause 5)."
135
+ holder issuing_authority
136
+ declaration issuing_authority_declaration
137
+ blocks { issue evaluation }
138
+ blocks_note "The gated abstract processes of the scheme process model (evaluation/abstract-processes.yaml): issue (certificate issuance) and evaluation (the OIML type evaluation report — its compilation and release are part of the evaluation step)."
139
+ scope_checked { category scheme }
140
+ source {
141
+ doc "urn:oiml:pub:b:18:2025"
142
+ clause "5.5.1"
143
+ }
144
+ }
145
+
@@ -0,0 +1,118 @@
1
+ # OIML-CS FRAMEWORK — GOVERNING-DOCUMENT HIERARCHY + AUTO-INCLUSION
2
+ # -----------------------------------------------------------------------------
3
+ # The governing-document hierarchy of the OIML-CS (B 18:2025, clause 6)
4
+ # with its precedence rule, and the automatic-inclusion conditions of
5
+ # clause 4 (§4.2): when a category of measuring instrument enters the
6
+ # OIML-CS — the precondition the scheme lifecycle's automatic Scheme B
7
+ # entry keys on (framework/schemes.prl, §15.1).
8
+ #
9
+ # The per-document models of the corpus (PD-01…PD-09, CID-01, OD-01/02)
10
+ # are tasks 42–43; this file models the HIERARCHY and the entry conditions
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).
14
+ #
15
+ # Numbering: official published PDF (reference-docs/cs/docs/b018-e25.pdf).
16
+ #
17
+ # This file is the single source of truth; the consumer's
18
+ # data/oiml-cs/framework/documents.yaml is its GENERATED YAML twin
19
+ # (cd browser && npm run gen:data; schema data/schemas/framework-documents.yaml).
20
+ # The approved_by organ edges are checked package-side by the kernel's
21
+ # C120 framework-references-resolve; the consumer's linker R25 still
22
+ # guards the regenerated YAML.
23
+ framework_document b18 {
24
+ rank 1
25
+ doc "OIML B 18"
26
+ title "Framework for the OIML Certification System (OIML-CS)"
27
+ approved_by ciml
28
+ clause "6 a)"
29
+ source {
30
+ doc "urn:oiml:pub:b:18:2025"
31
+ clause "6"
32
+ }
33
+ }
34
+
35
+ framework_document cid-01 {
36
+ rank 2
37
+ doc "OIML-CS CID-01"
38
+ title "Clarification and Interpretation Document"
39
+ approved_by management_committee
40
+ clause "6 b)"
41
+ note "Clarifications and interpretations of OIML-CS documents intended as guidance and additional information; they do not supersede the text of the current editions (CID-01, clause 2)."
42
+ source {
43
+ doc "urn:oiml:pub:b:18:2025"
44
+ clause "6"
45
+ }
46
+ }
47
+
48
+ framework_document od {
49
+ rank 3
50
+ doc "OIML-CS OD-xx"
51
+ title "Operational Documents"
52
+ approved_by management_committee
53
+ clause "6 c)"
54
+ source {
55
+ doc "urn:oiml:pub:b:18:2025"
56
+ clause "6"
57
+ }
58
+ }
59
+
60
+ framework_document pd {
61
+ rank 4
62
+ doc "OIML-CS PD-xx"
63
+ title "Procedural Documents"
64
+ approved_by management_committee
65
+ clause "6 d)"
66
+ source {
67
+ doc "urn:oiml:pub:b:18:2025"
68
+ clause "6"
69
+ }
70
+ }
71
+
72
+ framework_document guidance {
73
+ rank 5
74
+ doc "OIML-CS Guidance, Forms and Templates"
75
+ title "Guidance, Forms and Templates"
76
+ approved_by management_committee
77
+ clause "6 e)"
78
+ source {
79
+ doc "urn:oiml:pub:b:18:2025"
80
+ clause "6"
81
+ }
82
+ }
83
+
84
+ document_precedence higher_position_prevails {
85
+ clause "6"
86
+ statement "In the event of a conflict, contradiction or inconsistency between the provisions of one of the governing documents and the provisions of another, the provisions of the document listed in a higher position take precedence over the provisions of the document listed in a lower position (clause 6)."
87
+ source {
88
+ doc "urn:oiml:pub:b:18:2025"
89
+ clause "6"
90
+ }
91
+ }
92
+
93
+ auto_inclusion auto_inclusion {
94
+ clause "4.2"
95
+ statement "Categories of measuring instruments (including families of instruments, modules, or families of modules) are automatically included in the OIML-CS when the relevant OIML Recommendation specifies all of the following (§4.2); the initial placement is Scheme B (§4.3, §15.1)."
96
+ condition metrological-technical-requirements {
97
+ clause "4.2 a)"
98
+ description "The Recommendation specifies the metrological and technical requirements for the category."
99
+ }
100
+ condition test-procedures {
101
+ clause "4.2 b)"
102
+ description "The Recommendation specifies the test procedures, including (where applicable) the selection of the instrument(s) or module(s) to be tested from the family (§4.4 — what counts as a family/module and the applicable requirements/test procedures for them)."
103
+ }
104
+ condition test-report-format {
105
+ clause "4.2 c)"
106
+ description "The Recommendation specifies the OIML test report format."
107
+ }
108
+ condition evaluation-report-format {
109
+ clause "4.2 d)"
110
+ description "The Recommendation specifies the OIML type evaluation report format."
111
+ }
112
+ note "The two report formats (conditions c and d) may be specified in separate Parts of a Recommendation or combined in one Part (§4.2 Note). The BIML maintains the list of the categories in the OIML-CS with references to the relevant Recommendations on the OIML website (§4.5)."
113
+ source {
114
+ doc "urn:oiml:pub:b:18:2025"
115
+ clause "4.2"
116
+ }
117
+ }
118
+