Skip to content

Interface: UpdateTermRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / UpdateTermRequest

Defined in: src/types/terms.ts:279

Request to update an existing term.

Features use the tagged ValueDto format. Only the provided features are updated; omitted features are left unchanged.

features: Record<string, ValueDto>

Defined in: src/types/terms.ts:291

Updated features with tagged values.

A feature whose declared range is an entity sort takes a Reference (Value.reference(termId), {"type": "Reference", "value": "<uuid>"}), not a string holding the id: the engine refuses a scalar literal there with 422 (Feature '<f>' holds a <kind> literal, which is incompatible with the declared range …). A range at or below real_type admits an integer literal.