Skip to content

Interface: VocabularyCrosswalkRuleInput

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyCrosswalkRuleInput

Defined in: src/types/vocabulary.ts:6922

One rule of a crosswalk (one per crosswalk and ordinal). Only the operator’s own parameters may be present; the filter (match_prefix alone, match_value alone, or match_field with match_value) applies to every operator.

optional clientRef?: string

Defined in: src/types/vocabulary.ts:6926

The client’s name for the rule, bound to its derived id.


crosswalk: VocabularyRecordRef

Defined in: src/types/vocabulary.ts:6928

The crosswalk.


optional dimension?: string

Defined in: src/types/vocabulary.ts:6930

unit: the dimension.


optional factorDenominator?: number

Defined in: src/types/vocabulary.ts:6932

unit: the factor’s denominator (greater than zero).


optional factorNumerator?: number

Defined in: src/types/vocabulary.ts:6934

unit: the factor’s numerator.


optional identifierScheme?: string

Defined in: src/types/vocabulary.ts:6936

identifier: the identifier scheme.


optional iriPrefix?: string

Defined in: src/types/vocabulary.ts:6938

concept_lookup through an external mapping: the IRI prefix.


kind: "crosswalk_rule"

Defined in: src/types/vocabulary.ts:6924

The record discriminator.


optional lookupScheme?: VocabularyRecordRef

Defined in: src/types/vocabulary.ts:6940

The lookup_scheme.


optional lookupVia?: VocabularyLookupVia

Defined in: src/types/vocabulary.ts:6942

The lookup_via.


optional matchField?: VocabularyRecordRef

Defined in: src/types/vocabulary.ts:6944

The match_field.


optional matchPrefix?: string

Defined in: src/types/vocabulary.ts:6946

Filter: the value starts with this text.


optional matchValue?: string

Defined in: src/types/vocabulary.ts:6948

Filter: the value (or the match_field sibling) equals this text.


operator: VocabularyCrosswalkOperator

Defined in: src/types/vocabulary.ts:6950

The operator.


ordinal: number

Defined in: src/types/vocabulary.ts:6952

Order among the crosswalk’s rules (zero or more).


optional rationale?: string

Defined in: src/types/vocabulary.ts:6954

Why.


optional roundingDigits?: number

Defined in: src/types/vocabulary.ts:6956

unit: decimal digits kept (zero or more).


optional separator?: string

Defined in: src/types/vocabulary.ts:6958

split, join: the separator.


optional sourceUnit?: string

Defined in: src/types/vocabulary.ts:6960

unit: the source unit.


optional targetUnit?: string

Defined in: src/types/vocabulary.ts:6962

unit: the target unit.


targetUse: VocabularyRecordRef

Defined in: src/types/vocabulary.ts:6964

The element use it fills.


optional temporalKind?: VocabularyTemporalKind

Defined in: src/types/vocabulary.ts:6966

The temporal_kind.


optional textSteps?: string[]

Defined in: src/types/vocabulary.ts:6969

text: the steps, each one of nfc, collapse_whitespace, decode_html_entities, trim.