@instruments/taxonomy
v6.3.0
Published
Canonical data-only interiors and architecture knowledge graph and lexical corpus.
Readme
@instruments/taxonomy
The canonical, data-only interiors and architecture terminology corpus.
6.3.0 release notes
New concepts: Synthetic turf (3uoy7nl) and Green wall (008ye2h) as product categories; Cast glass (rfcem67), Switchable glass (6jcqo0f) and Electrochromic glass (b8t4tgi) as materials; Color block (j3n09jj) as a pattern type; and an Effect facet on Finish (5brel73) with Pearlescent (f847dgt) and Iridescent (rsgpd52). Descriptions read in plainer words. Nothing breaks; the corpus revision changes.
6.2.0 release notes
New alternate labels: Monochromatic on Monochrome (yhmf2sf), Polychromatic on Polychrome (m4n78pc) and PU on Polyurethane (jaysth9). spellingWords(phrase) gives the words a spelling key closes up. Nothing breaks; the corpus revision changes.
6.1.0 release notes
Breaking: spellingKey keeps only letters and digits, so every spelling key is one path segment (herringbone / chevron is herringbonechevron). Recompute any stored spelling key. Two reviewed phrases that now share a key were merged: herringbone / chevron resolves to Zigzag (btpa8p5), the parent of Herringbone and Chevron, like herringbone-chevron already did. Taxonomy figures are counted from their data.
6.0.0 release notes
Removes CONCEPT_ASSESSMENT_POLICIES, ASSESSMENT_POLICY_REVISION, ASSESSMENT_AUTHORITY_REFERENCES and their types (AssessmentEvidenceRoute, ConceptAssessmentPolicy, MaterialApplicability). How a concept can be evidenced is structure, not words: import them from @instruments/criteria, their only home. The corpus is unchanged.
5.4.0 release notes
Adds a LEED credit facet (ryu4iqq) to the certification axis with ten credit areas a product can contribute to, each part-of LEED: environmental product declarations (hb09aso), sourcing of raw materials (tj2rcfg), material ingredients (1lbj2p4), low-emitting materials (a8r7404), heat island reduction (2ly7ccs), indoor water use reduction (3hybp03), building and materials reuse (uf9dg1d), acoustic performance (ml7ayt3), interior lighting (neiq7mq) and rainwater management (038br37). Credit codes are external mappings under four new schemes, leed-2009, leed-v4, leed-v4.1 and leed-v5, never labels.
Adds a LEED criteria area facet (apy36oa) with the five areas MRc4 scores a product in, each part-of LEED: climate health (3hirbe1), human health (2s8q3c0), ecosystem health (raju677), social health and equity (g7ryse2) and circular economy (qq1hit1). Achievement levels are attribute values, not concepts. LEED now also evidences recycled content.
Adds three schemes to the certification facet, SFI (f0num18), Green Seal (jg2ruuj) and BIFMA LEVEL (t2g3fn2), and fifteen labels, each broader its scheme: FSC 100% (p4n7im3), FSC Mix (n2eogmt), FSC Recycled (cmyanyb), PEFC Certified (igra566), PEFC Recycled (078qffu), SFI's four chain-of-custody labels (49od9gp, t3lc1fr, 84bcdmi, mrficqb), Declare's LBC Red List Free (je32iq1), LBC Red List Approved (ict07c6) and Declared (adjoj1q), C2C Certified Material Health (8tu5f01), C2C Certified Circularity (5durdni) and Green Seal GS-11 (0egghrp). Levels, tiers, versions and thresholds are attribute values, not concepts.
Adds LEED v5 MRc3 and MRc4 and LEED v4.1 Low-Emitting Materials product categories as leed-v5 and leed-v4.1 mappings on coating, paint, sealant, tile adhesive, flooring, wallcovering, wall panel, ceiling system, furniture and plumbing fixtures, and adds the product category insulation (mr5uadl). Composite wood names a substance and is not a product category. No concept ID changes.
5.3.0 release notes
Adds three tile body concepts to the construction facet beside through body and red clay body: color body (936nub9), double loaded (jgt7y9p) and white body (dfyjc1b). Removes the internal taste assertion code, which was never exported; taste is not part of the open standard. No concept ID changes.
5.2.0 release notes
This is a breaking change shipped as a minor release. Concept identity moves from addresses to permanent 7-character IDs, and ColorScope colors become Taxonomy concepts with IDs and exact-match source links.
Consumers must migrate stored addresses and source references using migrations/taxonomy-address-to-id.json. The mapping file is deleted once every consumer has migrated. There is no runtime address resolver. The matching client release is 4.1.0 and Criteria is 0.2.0.
Data contract
The package root exports the corpus and its release metadata:
KNOWLEDGE_GRAPH- normalized axis, facet, and concept nodes plus typed, bidirectional edges.PHRASE_ENTRIES- exhaustive declarativeequivalent,ambiguous, anddeclinedrecords for every canonical or observed authored spelling.TAXONOMY_CORPUS_METADATA- deterministic node, edge, and lexical counts with the corpus revision, snapshot, and package version.TAXONOMY_CORPUS_REVISION,TAXONOMY_SNAPSHOT, andTAXONOMY_VERSION- the exact content fingerprint, source snapshot, and package release identifiers.
It also exports the TypeScript types for those values. It does not export a resolver, matcher, ranker, search route, address constructors or aliases. Consumers build policy on top of the same data; the repository's private HTTP adapter is one such consumer.
Taxonomy concepts, axes and facets carry permanent 7-character opaque IDs. The graph's id, axis, facet, edge endpoints and lexical targets use these IDs. Labels and slugs can change without changing identity. IDs are never reused or changed. A linked-data address will be derived from the ID at the first RDF, SKOS or bSDD export.
Palette imports ColorScope's families, temperature levels, basic tones and palette compositions once from data/colorscope-2026-11-18.json (ColorScope 10.4.0, captured November 18, 2026). Each is an ordinary Taxonomy concept with a permanent opaque ID, an exactMatch source address and the unchanged authority-sourced hex where one exists. COLORSCOPE_SNAPSHOT exports the import's source, version and date. pnpm generate:color-layer reads only the committed snapshot; future ColorScope releases cannot change the corpus. Named colors are not graph nodes: lexical records still reference them externally without merging them into Taxonomy hierarchy. For example, walnut has a primary material meaning and a secondary external color meaning. Two more phrases carry an ordered meaning between two material concepts: quartz (engineered quartz before the mineral) and melamine (melamine-faced board before the resin).
Install and consume
pnpm add @instruments/taxonomyimport {
KNOWLEDGE_GRAPH,
PHRASE_ENTRIES,
TAXONOMY_CORPUS_METADATA,
} from "@instruments/taxonomy";
const walnut = KNOWLEDGE_GRAPH.nodes.find(
(node) => node.kind === "concept" && node.id === "p3n9fdp"
);
const walnutReadings = PHRASE_ENTRIES.find(
(entry) => entry.phrase === "walnut"
);A change to what a concept means is a corpus change. Consumers migrate stored addresses once to IDs; there is no compatibility lookup. Authors mint a new ID with pnpm --filter @instruments/taxonomy mint:id and put the literal in source. boubakikid is a development dependency used only by the minting and one-time assignment tools.
Pin the exact package version and compare TAXONOMY_CORPUS_REVISION when a deployment needs to detect content drift. The revision is computed from the normalized graph and lexical entries, so it changes when corpus content changes even if the V1 API shape does not.
In ordered facets, rank describes a grade. Broad parents such as finish/sheen/glossy have no rank and add no rung to the scale. Glossy is broader than Semi-gloss and High gloss; Satin remains separate. Retain all concepts in vocabulary listings, and count only ranked concepts when displaying scale length. A source stating only gloss or glossy does not establish a narrower grade, a measured gloss value, or a polishing process. Consumers retain source-field context and qualified spellings when interpreting finish words.
