@instruments/taxonomy 2.2.1 → 2.5.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/application-children-rest.d.ts +2 -0
- package/dist/application-children.d.ts +2 -0
- package/dist/application-shared.d.ts +20 -0
- package/dist/application-terms.d.ts +2 -0
- package/dist/assertions.d.ts +1 -1
- package/dist/authoring.d.ts +1 -1
- package/dist/axes/element-shared.d.ts +1 -0
- package/dist/axes/external-search.d.ts +12 -0
- package/dist/axes/finish-shared.d.ts +8 -0
- package/dist/axes/finish-texture.d.ts +3 -0
- package/dist/axes/finish.d.ts +1 -2
- package/dist/axes/material-composition.d.ts +7 -1
- package/dist/axes/material-everyday-natural.d.ts +2 -0
- package/dist/axes/material-everyday-shared.d.ts +7 -0
- package/dist/axes/material-polymers-shared.d.ts +15 -0
- package/dist/axes/material-polymers-variants.d.ts +2 -0
- package/dist/axes/pattern-animal.d.ts +4 -0
- package/dist/axes/pattern-grades.d.ts +9 -0
- package/dist/axes/pattern-tax57.d.ts +7 -1
- package/dist/axes/pattern.d.ts +1 -8
- package/dist/axes/space/shared.d.ts +8 -0
- package/dist/axes/style-architectural.d.ts +2 -0
- package/dist/axes/style-shared.d.ts +8 -0
- package/dist/axes/typology-commercial.d.ts +2 -0
- package/dist/axes/typology-shared.d.ts +3 -0
- package/dist/dictionaries.d.ts +2 -2
- package/dist/index.js +12599 -4826
- package/dist/sector-mappings.d.ts +4 -0
- package/dist/sector-terms.d.ts +2 -0
- package/dist/term.d.ts +19 -1
- package/dist/v1.d.ts +3 -3
- package/package.json +2 -2
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ExternalMapping, MatchStrength, SearchedWithout, TermRelation } from "./term.js";
|
|
2
|
+
/**
|
|
3
|
+
* "This term is a material-suitability claim about that space." The edge runs FROM the claim TO the
|
|
4
|
+
* space, so it sits here and not on the SPACE axis (see the comment on `space.bathroom`).
|
|
5
|
+
*/
|
|
6
|
+
export declare const suitableFor: (...spaces: readonly string[]) => TermRelation[];
|
|
7
|
+
/** "Typically found in that space": a claim of habit, never of exclusivity. */
|
|
8
|
+
export declare const typicallyIn: (...spaces: readonly string[]) => TermRelation[];
|
|
9
|
+
/**
|
|
10
|
+
* Association with no stronger claim available, to a fully qualified target. Authored from the
|
|
11
|
+
* APPLICATION side only where the other term comes later in the direction order.
|
|
12
|
+
*/
|
|
13
|
+
export declare const relatedTo: (...targets: readonly string[]) => TermRelation[];
|
|
14
|
+
export declare const uniclass: (identifier: string, label: string, match: MatchStrength) => ExternalMapping;
|
|
15
|
+
export declare const aat: (identifier: string, label: string, match: MatchStrength) => ExternalMapping;
|
|
16
|
+
export declare const wikidata: (identifier: string, label: string, match: MatchStrength) => ExternalMapping;
|
|
17
|
+
type SearchedScheme = "aat" | "uniclass" | "wikidata";
|
|
18
|
+
/** Dated negatives for one term: the same query, run against each scheme that had nothing for it. */
|
|
19
|
+
export declare const searched: (query: string, ...schemes: readonly SearchedScheme[]) => SearchedWithout[];
|
|
20
|
+
export {};
|
package/dist/assertions.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RelationPredicate, Term } from "./term.js";
|
|
2
2
|
/** The relation predicates, at runtime. TypeScript cannot enumerate a union, so this is by hand. */
|
|
3
|
-
export declare const RELATION_PREDICATES: readonly ["blend-of", "evokes", "influenced-by", "part-of", "reads-as", "related-to", "serves", "suitable-for", "typically-in"];
|
|
3
|
+
export declare const RELATION_PREDICATES: readonly ["blend-of", "evokes", "filed-under", "influenced-by", "part-of", "reads-as", "related-to", "serves", "suitable-for", "typically-in"];
|
|
4
4
|
type AssertNever<T extends never> = T;
|
|
5
5
|
/**
|
|
6
6
|
* The totality guard, and it is load-bearing rather than decorative: a predicate added to `term.ts`
|
package/dist/authoring.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export { KNOWLEDGE_GRAPH, PHRASE_ENTRIES, TAXONOMY_BASE_URI, type AxisNode, type
|
|
|
23
23
|
export declare const MATERIAL_FAMILIES: readonly ["paint", "wall-finish", "wallcovering", "textile", "upholstery", "carpet", "wood", "stone", "tile", "terrazzo", "metal", "glass", "resilient-flooring", "composite", "concrete", "leather", "other"];
|
|
24
24
|
export type MaterialFamily = (typeof MATERIAL_FAMILIES)[number];
|
|
25
25
|
export declare const isMaterialFamily: (value: string) => value is MaterialFamily;
|
|
26
|
-
export declare const SECTORS: readonly ["hospitality", "healthcare", "workplace", "residential", "retail", "education", "civic", "mixed-use", "transportation", "other", "commercial", "industrial", "senior-living", "government", "science-technology", "cultural", "sports-recreation", "marine", "urban-design-planning", "energy-utilities", "mission-critical-data-centres"];
|
|
26
|
+
export declare const SECTORS: readonly ["hospitality", "healthcare", "workplace", "residential", "retail", "education", "civic", "mixed-use", "transportation", "other", "commercial", "industrial", "senior-living", "government", "science-technology", "cultural", "sports-recreation", "marine", "urban-design-planning", "energy-utilities", "mission-critical-data-centres", "aviation"];
|
|
27
27
|
export type Sector = (typeof SECTORS)[number];
|
|
28
28
|
export declare const isSector: (value: string) => value is Sector;
|
|
29
29
|
export declare const APPLICATIONS: readonly ["wall", "flooring", "ceiling", "bath", "kitchen", "furniture", "lighting", "door", "window", "facade", "countertop", "fireplace", "stair-elevator", "bedding", "decor", "vertically-hanging", "transportation", "pool-fountain", "paving-deck", "partition", "millwork", "cabinetry", "masonry", "roof", "garage", "bar", "awning-umbrella", "recreation-sport", "ornamentation", "aquatic-environments", "upholstery", "trim", "wall-backsplash", "wall-upholstered", "wall-wet-shower", "flooring-wet-area", "flooring-entrance", "flooring-radiant-heat", "flooring-or-lab", "flooring-anti-fatigue", "flooring-esd", "flooring-safety-slip", "flooring-raised-access", "flooring-rigid-core", "flooring-dining-area", "flooring-subject-oil", "flooring-walk-in-freezer", "flooring-ramps-inclines", "furniture-seating", "furniture-headboard", "furniture-slipcover", "furniture-systems", "furniture-tackboard", "furniture-throw-pillow", "fireplace-firebox", "fireplace-hearth", "fireplace-mantel", "fireplace-surround", "bedding-bed-scarf", "bedding-sheets", "bedding-skirt", "bedding-bedspread", "bedding-box-spring-cover", "stair-riser", "stair-tread", "stair-railing", "stair-elevator-cladding", "vh-drapery", "vh-privacy-curtain", "vh-shower-curtain", "vh-theatrical-curtain", "vh-window-shade", "transportation-automotive", "transportation-aviation", "transportation-marine", "pool-coping", "pool-decking", "pool-lining", "paving-covered-areas", "paving-patio", "partition-toilet", "masonry-structural", "masonry-veneer", "recreation-gymnasium", "recreation-playground", "recreation-weightlifting", "awning", "tensile-structure", "umbrella", "countertop-chemical-resistant"];
|
|
@@ -11,3 +11,4 @@ export declare const WINDOW = "window";
|
|
|
11
11
|
export declare const EF_EXTERNAL_WALLS = "External walls";
|
|
12
12
|
export declare const EF_FRAMED_STRUCTURES = "Framed structures";
|
|
13
13
|
export declare const partOf: (elementId: string) => TermRelation;
|
|
14
|
+
export declare const typicallyIn: (spaceId: string) => TermRelation;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** The day the Uniclass and Getty AAT searches behind the `searchedWithout` records were run. */
|
|
2
|
+
export declare const SEARCHED_ON = "2026-10-21";
|
|
3
|
+
/** The day the TAX-66 searches ran: the terms TAX-65 left unsearched, and its AAT and Wikidata retries. */
|
|
4
|
+
export declare const SEARCHED_ON_TAX66 = "2026-10-22";
|
|
5
|
+
/** The Wikidata entity search API, paced at one request a second. */
|
|
6
|
+
export declare const WIKIDATA_SEARCH = "https://www.wikidata.org/w/api.php?action=wbsearchentities";
|
|
7
|
+
/** Getty's SPARQL endpoint, queried for AAT preferred labels and scope notes. */
|
|
8
|
+
export declare const GETTY_SPARQL = "https://vocab.getty.edu/sparql";
|
|
9
|
+
/** The NBS Uniclass site search. */
|
|
10
|
+
export declare const UNICLASS_SEARCH = "https://uniclass.thenbs.com/search";
|
|
11
|
+
/** The published NBS Uniclass tables, searched by title. */
|
|
12
|
+
export declare const UNICLASS_DOWNLOAD = "https://uniclass.thenbs.com/download";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Term, UsageBand } from "../term.js";
|
|
2
|
+
export declare const reviewed: (slug: string, label: string, definition: string, source: string, extra?: Partial<Term>) => Term;
|
|
3
|
+
export declare const authored: (slug: string, label: string, definition: string, extra?: Partial<Term>) => Term;
|
|
4
|
+
export declare const term: (slug: string, label: string, definition: string) => Term;
|
|
5
|
+
/** Vendored verbatim from a materials-retrieval dictionary; `rank` carries the ladder's order. */
|
|
6
|
+
export declare const vendored: (source: string, slug: string, label: string, definition: string, rank?: number) => Term;
|
|
7
|
+
/** Restored from the source column a normalisation dropped it from; `usage` carries the band. */
|
|
8
|
+
export declare const repaired: (slug: string, label: string, definition: string, band: UsageBand, note: string) => Term;
|
package/dist/axes/finish.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { Term } from "../term.js";
|
|
2
|
+
export { FINISH_TEXTURE_TERMS } from "./finish-texture.js";
|
|
2
3
|
/** How the exposed surface was produced. Unordered. */
|
|
3
4
|
export declare const FINISH_TREATMENT_TERMS: readonly Term[];
|
|
4
5
|
/** Ordered sheen grades plus unranked broader descriptions; see the header. */
|
|
5
6
|
export declare const FINISH_SHEEN_TERMS: readonly Term[];
|
|
6
|
-
/** What the surface feels like, or reads as under a raking light. Unordered. */
|
|
7
|
-
export declare const FINISH_TEXTURE_TERMS: readonly Term[];
|
|
8
7
|
/** Kept for consumers importing the axis as one list; prefer the facets. */
|
|
9
8
|
export declare const FINISH_TERMS: readonly Term[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExternalMapping, ExternalScheme, MatchStrength, SourceBasis, Term } from "../term.js";
|
|
1
|
+
import type { ExternalMapping, ExternalScheme, MatchStrength, SearchedWithout, SourceBasis, Term, TermRelation } from "../term.js";
|
|
2
2
|
export declare const COMPOSITION_REVIEW_DATE = "2026-09-22";
|
|
3
3
|
/** The standard argument of a term no public reference defines; it is `authored`, not referenced. */
|
|
4
4
|
export declare const IN_HOUSE_DEFINITION = "in-house definition";
|
|
@@ -16,4 +16,10 @@ export declare const authoredTerm: (slug: string, label: string, definition: str
|
|
|
16
16
|
* carries its term's lifecycle, so the review date is what marks the re-parenting.
|
|
17
17
|
*/
|
|
18
18
|
export declare const reparented: (term: Term) => Term;
|
|
19
|
+
/** Shelves a material under a material family for retrieval. Read down the material hierarchy. */
|
|
20
|
+
export declare const filedUnder: (family: string) => TermRelation;
|
|
21
|
+
/** Places a material in a space the trade expects to meet it: a habit, never an exclusivity. */
|
|
22
|
+
export declare const typicallyIn: (space: string) => TermRelation;
|
|
19
23
|
export declare const externalMapping: (scheme: ExternalScheme, identifier: string, label: string, match?: MatchStrength) => ExternalMapping;
|
|
24
|
+
export declare const searchedAat: (query: string) => SearchedWithout;
|
|
25
|
+
export declare const searchedWikidata: (query: string) => SearchedWithout;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Term } from "../term.js";
|
|
2
|
+
export declare const REVIEW_DATE = "2026-09-11";
|
|
3
|
+
export declare const REVIEW_SOURCE = "everyday-interiors vocabulary review";
|
|
4
|
+
export declare const STONE_TARGET = "material.stone";
|
|
5
|
+
export declare const wikidata: (id: string, label: string) => string;
|
|
6
|
+
export declare const reviewed: (slug: string, label: string, definition: string, source: string, extra?: Partial<Term>) => Term;
|
|
7
|
+
export declare const authored: (slug: string, label: string, definition: string, extra?: Partial<Term>) => Term;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ExternalScheme, SearchedWithout } from "../term.js";
|
|
2
|
+
export declare const searchedUniclass: (query: string) => readonly SearchedWithout[];
|
|
3
|
+
export declare const EU_1007_2011: ExternalScheme;
|
|
4
|
+
export declare const FTC_16CFR303: ExternalScheme;
|
|
5
|
+
export declare const ISO_1043_1: ExternalScheme;
|
|
6
|
+
export declare const ISO_1629: ExternalScheme;
|
|
7
|
+
export declare const ISO_2076: ExternalScheme;
|
|
8
|
+
export declare const STANDARD_ISO_1043_1 = "ISO 1043-1:2011+Amd 1:2016";
|
|
9
|
+
export declare const STANDARD_ISO_1629_RUBBER = "ISO 1629:2025";
|
|
10
|
+
export declare const STANDARD_FTC = "US FTC 16 CFR 303.7";
|
|
11
|
+
export declare const NARROW = "narrow";
|
|
12
|
+
export declare const BROAD = "broad";
|
|
13
|
+
export declare const POLYMER_SLUG = "polymer";
|
|
14
|
+
export declare const PLASTIC_SLUG = "plastic";
|
|
15
|
+
export declare const PLASTIC_DATE = "2026-10-14";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Term } from "../term.js";
|
|
2
|
+
export declare const ANIMAL_PRINT_SLUG = "animal-print";
|
|
3
|
+
/** The skin and hide motifs beneath `animal-print`, split out of pattern.ts so that file stays under the line budget. */
|
|
4
|
+
export declare const PATTERN_ANIMAL_TERMS: readonly Term[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Term } from "../term.js";
|
|
2
|
+
/** How big the repeat is. Ordered, micro to oversized. */
|
|
3
|
+
export declare const PATTERN_SCALE_TERMS: readonly Term[];
|
|
4
|
+
/** How much of the field the motif occupies. Ordered, none to dense. */
|
|
5
|
+
export declare const PATTERN_DENSITY_TERMS: readonly Term[];
|
|
6
|
+
/** How strictly the repeat is governed. Ordered, uniform to organic. */
|
|
7
|
+
export declare const PATTERN_REGULARITY_TERMS: readonly Term[];
|
|
8
|
+
/** Which way the pattern runs. Unordered: see the header on why this is not a ladder. */
|
|
9
|
+
export declare const PATTERN_DIRECTIONALITY_TERMS: readonly Term[];
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import type { Term } from "../term.js";
|
|
1
|
+
import type { SearchedWithout, Term, TermRelation } from "../term.js";
|
|
2
|
+
/** An association with no stronger predicate, read the same on every pattern and finish term. */
|
|
3
|
+
export declare const relatedTo: (target: string) => TermRelation;
|
|
4
|
+
/** A surface that reads as a material it is not made of. */
|
|
5
|
+
export declare const readsAs: (target: string) => TermRelation;
|
|
2
6
|
export declare const TAX57_DATE = "2026-09-26";
|
|
3
7
|
export declare const TAX57_SOURCE = "Linear TAX-57 visual-vocabulary review";
|
|
4
8
|
export declare const PIM_MOTIF_SOURCE = "the pattern-motif column in a materials-marketplace catalogue (src-04), non-Samplize SKUs";
|
|
@@ -8,3 +12,5 @@ export declare const pimTerm: (slug: string, label: string, definition: string,
|
|
|
8
12
|
/** Written for TAX-57 with no public authority or catalogue column behind it. */
|
|
9
13
|
export declare const authoredTax57: (slug: string, label: string, definition: string, extra?: Partial<Term>) => Term;
|
|
10
14
|
export declare const wikidata: (id: string, label: string) => string;
|
|
15
|
+
/** Completed NBS searches from the TAX-65 external-vocabulary review. */
|
|
16
|
+
export declare const searchedUniclass: (query: string) => SearchedWithout;
|
package/dist/axes/pattern.d.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import type { Term } from "../term.js";
|
|
2
2
|
export { PATTERN_FIGURE_TERMS } from "./pattern-figure.js";
|
|
3
|
+
export { PATTERN_DENSITY_TERMS, PATTERN_DIRECTIONALITY_TERMS, PATTERN_REGULARITY_TERMS, PATTERN_SCALE_TERMS, } from "./pattern-grades.js";
|
|
3
4
|
/** The motif itself. Unordered: a damask is not more than a stripe. */
|
|
4
5
|
export declare const PATTERN_TYPE_TERMS: readonly Term[];
|
|
5
|
-
/** How big the repeat is. Ordered, micro to oversized. */
|
|
6
|
-
export declare const PATTERN_SCALE_TERMS: readonly Term[];
|
|
7
|
-
/** How much of the field the motif occupies. Ordered, none to dense. */
|
|
8
|
-
export declare const PATTERN_DENSITY_TERMS: readonly Term[];
|
|
9
|
-
/** How strictly the repeat is governed. Ordered, uniform to organic. */
|
|
10
|
-
export declare const PATTERN_REGULARITY_TERMS: readonly Term[];
|
|
11
|
-
/** Which way the pattern runs. Unordered: see the header on why this is not a ladder. */
|
|
12
|
-
export declare const PATTERN_DIRECTIONALITY_TERMS: readonly Term[];
|
|
13
6
|
/** Kept for consumers importing the axis as one list; prefer the facets. */
|
|
14
7
|
export declare const PATTERN_TERMS: readonly Term[];
|
|
@@ -18,6 +18,12 @@ export declare const PROGRAM_SPACES: TermProvenance;
|
|
|
18
18
|
* predicate has to read the same on all of them.
|
|
19
19
|
*/
|
|
20
20
|
export declare const relatedTo: (target: string) => TermRelation;
|
|
21
|
+
/**
|
|
22
|
+
* A room that sits in a kind of building as a matter of habit: a classroom in a school, a ballroom
|
|
23
|
+
* in a hotel. A claim of occurrence, never of identity (that is `serves`) and never of
|
|
24
|
+
* exclusivity. The argument is a TYPOLOGY slug.
|
|
25
|
+
*/
|
|
26
|
+
export declare const typicallyIn: (typology: string) => TermRelation;
|
|
21
27
|
/**
|
|
22
28
|
* The market this space exists to serve, wherever the building that contains it stands.
|
|
23
29
|
*
|
|
@@ -28,3 +34,5 @@ export declare const relatedTo: (target: string) => TermRelation;
|
|
|
28
34
|
* fails to compile rather than dangling at test time.
|
|
29
35
|
*/
|
|
30
36
|
export declare const serves: (market: Sector) => TermRelation;
|
|
37
|
+
/** Current NBS titles are referenced verbatim, without adapting the classification. */
|
|
38
|
+
export declare const uniclass: (identifier: string, label: string, match: MatchStrength) => ExternalMapping;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ExternalMapping, MatchStrength, StyleKind, TermRelation } from "../term.js";
|
|
2
|
+
export declare const PLATFORM_STYLES_SOURCE = "STYLES in an architecture-projects platform (src-01)";
|
|
3
|
+
export declare const SNAPSHOT = "2026-08-21";
|
|
4
|
+
export declare const MOVEMENT: StyleKind;
|
|
5
|
+
export declare const aat: (slug: string, label: string, match: MatchStrength) => ExternalMapping;
|
|
6
|
+
export declare const evokes: (target: string) => TermRelation;
|
|
7
|
+
export declare const influencedBy: (target: string) => TermRelation;
|
|
8
|
+
export declare const relatedTo: (target: string) => TermRelation;
|
package/dist/dictionaries.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Term } from "./term.js";
|
|
2
2
|
export declare const MATERIAL_FAMILY_TERMS: readonly Term[];
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export { SECTOR_TERMS } from "./sector-terms.js";
|
|
4
|
+
export { APPLICATION_TERMS } from "./application-terms.js";
|