IF Commons GitHub

audit/packaging

The basis of every term of the packaging ontology (commons 0018-standards-first FR-003 to FR-005, 0012-ontology FR-014): which standard each class and property rests on, or that none is adopted yet. It is the first audit of an ontology as data, the baseline of its drift: five classes specialize schema.org, five properties map to a schema.org property, and the rest are unaligned, each with the candidates still to examine and the day the audit was made, from which its decision is due within 90 days.

The packaging ontology itself is unchanged: this file describes its terms, and the check (commons/libraries/src/check.ts) fails where a term of the ontology has no record here. The standards a term maps to are terms of the pinned schema.org import (../supply-chain/packaging/schema.auto.ts), so a mapping to a term that import does not hold does not compile.

Source: commons/ontology/src/audit/packaging.ts

3 of 6 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

audit.AUDITED_ONconstno test imports it
const AUDITED_ON: "2026-11-17"

The day the audit was made, from which the decision of each unaligned term is due (0018-standards-first FR-005).

audit.packagingTermsconstno test imports it
const packagingTerms: Individual<"mz:OntologyTerm", ValuesOf<{ readonly label: Field<LangString, "one">; readonly termIr… (684 characters)
const packagingTerms: Individual<"mz:OntologyTerm", ValuesOf<{ readonly label: Field<LangString, "one">; readonly termIri: Field<string, "one">; readonly basis: Field<Named<"mz:Basis">, "one">; readonly standardTerm: Field<string, "optional">; readonly mappingRelation: Field<"broadMatch" | "closeMatch" | "exactMatch" | "narrowMatch" | "subClassOf" | "subPropertyOf", "optional">; readonly deprecatedOn: Field<string, "optional">; readonly replacedBy: Field<string, "optional">; readonly justification: Field<string, "optional">; readonly decision: Field<Named<"mz:Decision">, "optional">; readonly addedOn: Field<string, "optional">; readonly definedBy: Field<string, "many">; }>>[]

One record for every class and property of the packaging ontology, in the order of its vocabulary.

AUDITED_ONconst
const AUDITED_ON: "2026-11-17"

The day the audit was made, from which the decision of each unaligned term is due (0018-standards-first FR-005).

Imported by 7 tests of the run (6 passed, 0 failed): the library's results

packagingTermsconstno test imports it
const packagingTerms: Individual<"mz:OntologyTerm", ValuesOf<{ readonly label: Field<LangString, "one">; readonly termIr… (684 characters)
const packagingTerms: Individual<"mz:OntologyTerm", ValuesOf<{ readonly label: Field<LangString, "one">; readonly termIri: Field<string, "one">; readonly basis: Field<Named<"mz:Basis">, "one">; readonly standardTerm: Field<string, "optional">; readonly mappingRelation: Field<"broadMatch" | "closeMatch" | "exactMatch" | "narrowMatch" | "subClassOf" | "subPropertyOf", "optional">; readonly deprecatedOn: Field<string, "optional">; readonly replacedBy: Field<string, "optional">; readonly justification: Field<string, "optional">; readonly decision: Field<Named<"mz:Decision">, "optional">; readonly addedOn: Field<string, "optional">; readonly definedBy: Field<string, "many">; }>>[]

One record for every class and property of the packaging ontology, in the order of its vocabulary.

termsconst
const terms: Individual<"mz:OntologyTerm", ValuesOf<{ readonly label: Field<LangString, "one">; readonly termIri: Field<… (675 characters)
const terms: Individual<"mz:OntologyTerm", ValuesOf<{ readonly label: Field<LangString, "one">; readonly termIri: Field<string, "one">; readonly basis: Field<Named<"mz:Basis">, "one">; readonly standardTerm: Field<string, "optional">; readonly mappingRelation: Field<"broadMatch" | "closeMatch" | "exactMatch" | "narrowMatch" | "subClassOf" | "subPropertyOf", "optional">; readonly deprecatedOn: Field<string, "optional">; readonly replacedBy: Field<string, "optional">; readonly justification: Field<string, "optional">; readonly decision: Field<Named<"mz:Decision">, "optional">; readonly addedOn: Field<string, "optional">; readonly definedBy: Field<string, "many">; }>>[]

One record for every class and property of the packaging ontology, in the order of its vocabulary.

Imported by 48 tests of the run (47 passed, 0 failed): the library's results

fileconst
const file: OntologyFile

The file this module states: its name, its prefixes and its individuals.

Imported by 48 tests of the run (47 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.