@instruments/taxonomy 2.15.0 → 4.0.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.
package/dist/match.d.ts CHANGED
@@ -44,7 +44,7 @@ export interface BundleMatch {
44
44
  score: number;
45
45
  }
46
46
  /**
47
- * Match without penalising extra candidate annotations. Richer annotation should not make an
47
+ * Match without penalizing extra candidate annotations. Richer annotation should not make an
48
48
  * otherwise identical subject rank lower.
49
49
  */
50
50
  export declare const matchBundle: (bundle: CanonicalBundle, candidateAssertions: Iterable<string>) => BundleMatch;
@@ -80,7 +80,7 @@ export interface BundleSearch {
80
80
  blocking: readonly string[];
81
81
  }
82
82
  export interface SearchOptions {
83
- /** Refuse the relaxed tier: return nothing rather than a labelled partial answer. */
83
+ /** Refuse the relaxed tier: return nothing rather than a labeled partial answer. */
84
84
  strict?: boolean;
85
85
  /** Truncate the ranked list. Applied after ordering, so it never changes which result is first. */
86
86
  limit?: number;
@@ -34,7 +34,7 @@ export interface AssertionProvenance {
34
34
  observationId?: string;
35
35
  }
36
36
  interface SourceMeaning {
37
- /** Source vocabulary field, before canonicalisation. */
37
+ /** Source vocabulary field, before canonicalization. */
38
38
  sourceField: string;
39
39
  /** Verbatim source value; never replaced by the canonical label. */
40
40
  sourceValue: string;
@@ -107,6 +107,6 @@ export interface PortableAssertionTestVector {
107
107
  meaningKind: AssertionMeaning["kind"];
108
108
  };
109
109
  }
110
- /** Executable fixtures for consumers serialising the portable envelope in another repository. */
110
+ /** Executable fixtures for consumers serializing the portable envelope in another repository. */
111
111
  export declare const PORTABLE_ASSERTION_TEST_VECTORS: readonly PortableAssertionTestVector[];
112
112
  export {};
package/dist/taste.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { assertionMeaningFrom, type AmbiguousCanonicalisation, type CanonicalisationInput, type CanonicalisationVerdict, type DeclinedCanonicalisation, type ResolvedCanonicalisation, type UnresolvedCanonicalisation, } from "./canonicalisation.js";
1
+ export { assertionMeaningFrom, type AmbiguousCanonicalization, type CanonicalizationInput, type CanonicalizationVerdict, type DeclinedCanonicalization, type ResolvedCanonicalization, type UnresolvedCanonicalization, } from "./canonicalization.js";
2
2
  export { type AmbiguousAssertionMeaning, type AssertionAuthority, type AssertionMeaning, type AssertionPolarity, type AssertionProvenance, type AssertionRole, type AssertionScope, type PortableAssertionTestVector, type PortableTasteAssertion, PORTABLE_ASSERTION_TEST_VECTORS, type ProjectContextAssertion, type RequirementAssertion, type RequirementConstraint, type RequirementOperator, type ResolvedAssertionMeaning, TAXONOMY_SNAPSHOT_VERSION, TASTE_ASSERTION_CONTRACT_VERSION, type TasteAssertion, type UnresolvedAssertionMeaning, } from "./taste-assertion.js";
package/dist/term.d.ts CHANGED
@@ -8,24 +8,24 @@ export type ExternalScheme =
8
8
  | "wikidata"
9
9
  /** CAS Registry Numbers. Referenced by number; CAS Common Chemistry data is CC BY-NC 4.0. */
10
10
  | "cas"
11
- /** ISO 2076 generic names of man-made fibres. Referenced by name, never adapted. */
11
+ /** ISO 2076 generic names of man-made fibers. Referenced by name, never adapted. */
12
12
  | "iso-2076"
13
13
  /** ISO 1043-1 symbols for plastics. Referenced by symbol. */
14
14
  | "iso-1043-1"
15
15
  /** ISO 1629 symbols for rubbers and latices. Referenced by symbol. */
16
16
  | "iso-1629"
17
17
  /**
18
- * ISO 1874-1 designations for polyamide moulding materials, a standard withdrawn and replaced
18
+ * ISO 1874-1 designations for polyamide molding materials, a standard withdrawn and replaced
19
19
  * by ISO 16396-1:2015. Referenced by designation.
20
20
  */
21
21
  | "iso-1874-1"
22
- /** Regulation (EU) No 1007/2011 textile fibre names (Annex I). Public law. */
22
+ /** Regulation (EU) No 1007/2011 textile fiber names (Annex I). Public law. */
23
23
  | "eu-1007-2011"
24
- /** US FTC 16 CFR 303 generic fibre names. Public law. */
24
+ /** US FTC 16 CFR 303 generic fiber names. Public law. */
25
25
  | "ftc-16cfr303"
26
26
  /** Unified Numbering System for metals and alloys. Referenced by number. */
27
27
  | "uns"
28
- /** EN 10027-2 steel numbers and EN 573-3 aluminium designations. Referenced by designation. */
28
+ /** EN 10027-2 steel numbers and EN 573-3 aluminum designations. Referenced by designation. */
29
29
  | "en";
30
30
  /**
31
31
  * SKOS mapping strength, using SKOS's own vocabulary so the published RDF is a direct rendering
@@ -131,7 +131,7 @@ export type TermStatus = "active" | "deprecated";
131
131
  * never uses. Set `usage` only where the named corpus can actually speak to the term: omitting it
132
132
  * says "not measured here", which is honest, whereas `unattested` against an unrelated corpus
133
133
  * would read as a claim about the term rather than about the corpus. The usage figures behind these
134
- * derive from a materials-marketplace catalogue and a furnishings retailer's room schemes; publishing a raw
134
+ * derive from a materials-marketplace catalog and a furnishings retailer's room schemes; publishing a raw
135
135
  * number would publish a figure from someone else's business. The band carries the signal a reader actually needs - is this term common or rare -
136
136
  * and nothing more.
137
137
  */
@@ -225,7 +225,7 @@ export type StyleKind = "movement" | "tradition" | "market-idiom";
225
225
  * handled as one body with its own color. `trim` is the run of profile and opening frame a
226
226
  * decorator cuts in by hand. `overhead` and `underfoot` are the two planes a room is bounded by
227
227
  * above and below, each with its own conventions. `unpainted` is an element a decorator masks or
228
- * works around rather than coats - glass, light fittings, sanitaryware and electrical accessories.
228
+ * works around rather than coats - glass, light fittings, plumbing fixtures and electrical accessories.
229
229
  *
230
230
  * `feature` is RESERVED and no element carries it. A feature wall is a scheme's decision about one
231
231
  * room, not a fact about walls, so assigning it here would be authoring taste as canon. The value
@@ -239,7 +239,7 @@ export interface Term {
239
239
  label: string;
240
240
  /** Present when another package, currently ColorScope, owns this term's canonical identity. */
241
241
  canonicalAuthority?: ColorScopeAuthority;
242
- /** A representative sRGB colour, copied from the owning authority. Present on some ColorScope terms only. */
242
+ /** A representative sRGB color, copied from the owning authority. Present on some ColorScope terms only. */
243
243
  hex?: string;
244
244
  /**
245
245
  * Parent term id. Carries TAXONOMIC SUBSUMPTION ONLY - every instance of this term must be an
@@ -347,7 +347,7 @@ export type RelationPredicate =
347
347
  * term that is neither. A reviewed absence and an unreviewed one cannot be confused - the same
348
348
  * move `searchedWithout` and `usageWithheld` make.
349
349
  *
350
- * Authored on SPACE only, and pinned there by test. The claim's shape would generalise, but
350
+ * Authored on SPACE only, and pinned there by test. The claim's shape would generalize, but
351
351
  * TYPOLOGY must never carry it: sector moves when the tenant moves and typology does not, so a
352
352
  * typology-to-sector edge dies on conversion - ADR 0001's converted warehouse full of flats is
353
353
  * the standing counterexample.
package/dist/v1.d.ts CHANGED
@@ -3,7 +3,7 @@ import type { ElementPlacement, ExternalMapping, ExternalScheme, PeriodSpan, Rel
3
3
  export type { FacetHolds } from "./axes/index.js";
4
4
  export declare const TAXONOMY_BASE_URI: "https://taxonomy.materialinstruments.com";
5
5
  export declare const TAXONOMY_SNAPSHOT: "2026-10-02";
6
- export declare const TAXONOMY_VERSION: "2.15.0";
6
+ export declare const TAXONOMY_VERSION: "4.0.0";
7
7
  export declare const COLORSCOPE_BASE_URI: "https://colorscope.materialinstruments.com";
8
8
  export type CanonicalConceptUri = `${typeof TAXONOMY_BASE_URI}/id/${string}`;
9
9
  /** ColorScope's permanent URI for a concept it owns. */
@@ -21,7 +21,7 @@ export interface Governance {
21
21
  explanation: string;
22
22
  lifecycle: Lifecycle;
23
23
  provenance: TermProvenance;
24
- /** Who owns the thing described: Taxonomy, or ColorScope for the colour concepts it lists. */
24
+ /** Who owns the thing described: Taxonomy, or ColorScope for the color concepts it lists. */
25
25
  steward: "@instruments/taxonomy" | "@materialinstruments/colorscope";
26
26
  }
27
27
  export interface AxisNode {
@@ -65,11 +65,11 @@ export interface ConceptNode {
65
65
  facet: string;
66
66
  governance: Governance;
67
67
  /**
68
- * Who owns the concept. `colorscope` marks a colour concept Taxonomy lists but does not define:
68
+ * Who owns the concept. `colorscope` marks a color concept Taxonomy lists but does not define:
69
69
  * its `uri` is ColorScope's own permanent URI, and its meaning is ColorScope's.
70
70
  */
71
71
  governedBy: "taxonomy" | "colorscope";
72
- /** A representative sRGB colour, copied from ColorScope. Present on colour families only. */
72
+ /** A representative sRGB color, copied from ColorScope. Present on color families only. */
73
73
  hex?: string;
74
74
  kind: "concept";
75
75
  label: string;
@@ -122,7 +122,7 @@ export interface ColorScopeTarget {
122
122
  meaningPriority?: MeaningPriority;
123
123
  /**
124
124
  * ColorScope's permanent URI for the concept. For a family, temperature level, basic tone or
125
- * palette composition this is also the URI of a node in this graph; a named colour has no node
125
+ * palette composition this is also the URI of a node in this graph; a named color has no node
126
126
  * here and is read at ColorScope.
127
127
  */
128
128
  uri: ColorScopeConceptUri;
@@ -150,7 +150,7 @@ export type PhraseEntry = (PhraseBase & {
150
150
  outcome: "declined";
151
151
  reason: string;
152
152
  });
153
- /** Declarative meanings only. Consumers choose indexing and application behaviour. */
153
+ /** Declarative meanings only. Consumers choose indexing and application behavior. */
154
154
  export declare const PHRASE_ENTRIES: readonly PhraseEntry[];
155
155
  /** Content address for CI drift checks; changes whenever the public corpus representation changes. */
156
156
  export declare const TAXONOMY_CORPUS_REVISION: string;
@@ -160,5 +160,5 @@ export declare const TAXONOMY_CORPUS_METADATA: {
160
160
  readonly phraseEntryCount: number;
161
161
  readonly revision: string;
162
162
  readonly snapshot: "2026-10-02";
163
- readonly version: "2.15.0";
163
+ readonly version: "4.0.0";
164
164
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instruments/taxonomy",
3
- "version": "2.15.0",
3
+ "version": "4.0.0",
4
4
  "description": "Canonical data-only interiors and architecture knowledge graph and lexical corpus.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "scripts": {
36
36
  "build": "tsup && tsc -p tsconfig.build.json && node ../../scripts/finalize-declarations.mjs dist",
37
- "generate:colour-layer": "node scripts/generate-colour-layer.mjs",
37
+ "generate:color-layer": "node scripts/generate-color-layer.mjs",
38
38
  "lint": "node node_modules/@howells/lint/bin/howells-check.mjs .",
39
39
  "lint:fix": "node node_modules/@howells/lint/bin/howells-fix.mjs .",
40
40
  "test": "vitest run",