Skip to content

Type Alias: ValueDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ValueDto

ValueDto = StringValue | IntegerValue | RealValue | BooleanValue | UninstantiatedValue | StatedAbsenceValue | ReferenceValue | SortIdValue | ListValue | DomainValue | ChoiceValue | FuzzyScalarValue | FuzzyNumberValue | SetValue | PsiTermValue | BigIntegerValue | BytesValue | DateTimeValue | ExternalRefValue | GeometryValue | MeasurementValue

Defined in: src/types/values.ts:365

Tagged discriminated union for all value types in the ReasoningLayer.

Discriminated by the "type" field. Nineteen variants covering primitives, references, nested terms, collections, fuzzy values, time, precision integers, external references, geometry and dimensioned quantities — the whole of the engine’s ValueDto.

Serialization format: Tagged ({"type": "...", "value": ...}).

Used by term CRUD, query, and fuzzy endpoints. The untagged equivalent for homoiconic inference is FeatureValueDto.