@instruments/taxonomy 2.5.0 → 2.6.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.
@@ -1,5 +1,5 @@
1
1
  import type { Term } from "../term.js";
2
- export declare const AXIS_SLUGS: readonly ["material-family", "product-category", "material", "pattern", "finish", "format", "unit-shape", "installation-layout", "construction", "requirement", "sector", "application", "space", "element", "typology", "style", "period", "mood", "palette", "place", "daylight", "season", "tier", "procurement", "strategy", "form", "density"];
2
+ export declare const AXIS_SLUGS: readonly ["material-family", "product-category", "material", "pattern", "finish", "format", "unit-shape", "installation-layout", "construction", "requirement", "certification", "intervention", "sector", "application", "space", "element", "typology", "style", "period", "mood", "palette", "place", "daylight", "season", "time-of-day", "tier", "procurement", "strategy", "form", "density"];
3
3
  export type AxisSlug = (typeof AXIS_SLUGS)[number];
4
4
  export interface AxisGovernance {
5
5
  introducedAt: string;
@@ -0,0 +1,3 @@
1
+ import type { Term } from "../term.js";
2
+ /** The schemes and declarations a project or product can be certified under. Unordered. */
3
+ export declare const CERTIFICATION_TERMS: readonly Term[];
@@ -0,0 +1,15 @@
1
+ import type { ExternalMapping, MatchStrength, SearchedWithout, Term } from "../term.js";
2
+ /** Written here by the review, from the references named in its mappings, not adopted from one. */
3
+ export declare const coverageTerm: (slug: string, label: string, definition: string, extra?: Partial<Term>) => Term;
4
+ /**
5
+ * Re-bases a term on the Getty AAT and Wikidata entries it maps to. A definition written with
6
+ * those entries' scope notes open is `referenced`, as `curtain` and `window-blind` are, and cites
7
+ * them by identifier. A term with neither mapping stays `authored`: Uniclass codes alone name a
8
+ * product table, not a concept the definition was written from.
9
+ */
10
+ export declare const grounded: (entry: Term) => Term;
11
+ /** A Wikidata Q-item, its label read verbatim from the entity on the review date. */
12
+ export declare const wikidataMapping: (identifier: string, label: string, match: MatchStrength) => ExternalMapping;
13
+ export declare const searchedAat: (query: string) => SearchedWithout;
14
+ export declare const searchedWikidata: (query: string) => SearchedWithout;
15
+ export declare const searchedUniclass: (query: string) => SearchedWithout;
@@ -2,6 +2,10 @@
2
2
  export declare const SEARCHED_ON = "2026-10-21";
3
3
  /** The day the TAX-66 searches ran: the terms TAX-65 left unsearched, and its AAT and Wikidata retries. */
4
4
  export declare const SEARCHED_ON_TAX66 = "2026-10-22";
5
+ /** The day the TAX-66 coverage searches ran: furniture types and pattern motifs the canon lacked. */
6
+ export declare const SEARCHED_ON_TAX66_COVERAGE = "2026-10-23";
7
+ /** The day the TAX-66 vocabulary-gap searches ran: materials, certifications, interventions and time of day. */
8
+ export declare const SEARCHED_ON_TAX66_GAPS = "2026-10-23";
5
9
  /** The Wikidata entity search API, paced at one request a second. */
6
10
  export declare const WIKIDATA_SEARCH = "https://www.wikidata.org/w/api.php?action=wbsearchentities";
7
11
  /** Getty's SPARQL endpoint, queried for AAT preferred labels and scope notes. */
@@ -0,0 +1,4 @@
1
+ import type { Axis } from "./axis.js";
2
+ /** The two project-facing axes, which sit beside Requirement and Sector in the brief. */
3
+ export declare const BRIEF_AXES: readonly Axis[];
4
+ export declare const TIME_OF_DAY_AXIS: Axis;
@@ -0,0 +1,15 @@
1
+ import type { ExternalMapping, ExternalScheme, MatchStrength, SearchedWithout, Term, TermProvenance } from "../term.js";
2
+ import type { AxisGovernance } from "./axis.js";
3
+ export declare const GAPS_DATE = "2026-10-23";
4
+ /** Written here for TAX-66 with no single public definition adopted; the mappings carry the outside view. */
5
+ export declare const GAPS_PROVENANCE: TermProvenance;
6
+ /**
7
+ * The lifecycle and provenance every gap term carries, for spreading into a term written elsewhere
8
+ * and for the governance of the axes TAX-66 added.
9
+ */
10
+ export declare const GAPS_LIFECYCLE: AxisGovernance;
11
+ export declare const gapsTerm: (slug: string, label: string, definition: string, extra?: Partial<Term>) => Term;
12
+ export declare const mapping: (scheme: ExternalScheme, identifier: string, label: string, match: MatchStrength) => ExternalMapping;
13
+ export declare const gapsSearchedUniclass: (query: string) => SearchedWithout;
14
+ export declare const gapsSearchedAat: (query: string) => SearchedWithout;
15
+ export declare const gapsSearchedWikidata: (query: string) => SearchedWithout;
@@ -0,0 +1,3 @@
1
+ import type { Term } from "../term.js";
2
+ /** The kind of work a project does to a building. Unordered, and a project may carry several. */
3
+ export declare const INTERVENTION_TERMS: readonly Term[];
@@ -0,0 +1,2 @@
1
+ import type { Term } from "../term.js";
2
+ export declare const PATTERN_MOTIF_TERMS: readonly Term[];
@@ -0,0 +1,2 @@
1
+ import type { Term } from "../term.js";
2
+ export declare const FURNITURE_TERMS: readonly Term[];
@@ -0,0 +1,5 @@
1
+ import type { ExternalMapping, MatchStrength, TermRelation } from "../term.js";
2
+ export declare const uniclass: (slug: string, label: string, match: MatchStrength) => ExternalMapping;
3
+ export declare const aat: (identifier: string, label: string, match: MatchStrength) => ExternalMapping;
4
+ export declare const typicallyIn: (spaceId: string) => TermRelation;
5
+ export declare const relatedTo: (...targets: readonly string[]) => TermRelation[];
@@ -0,0 +1,5 @@
1
+ import type { Term } from "../term.js";
2
+ /** Which part of the day a scheme is meant for. Unordered; the spans overlap. */
3
+ export declare const TIME_OF_DAY_HOUR_TERMS: readonly Term[];
4
+ /** The kind of light source a scheme is seen by after dark. Unordered. */
5
+ export declare const TIME_OF_DAY_LIT_BY_TERMS: readonly Term[];