Skip to content

Interface: VocabularyTaxonomyPolicy

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyTaxonomyPolicy

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

GET /api/v1/vocabulary/schemes/{scheme_id}/policy: the scheme’s taxonomy policy record, or the taxonomy-policy/v1 defaults with declared: false.

acyclic: boolean

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

Whether a hierarchy cycle blocks (default true).


optional changeReason?: string

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

Why the record’s revision was made, when declared.


optional context?: VocabularyContextRef

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

The stored context of the view.


declared: boolean

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

Whether the view holds a policy record for the scheme.


optional maxDepth?: number

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

The deepest allowed depth; absent: no depth finding (the default).


optional partitiveTransitive?: boolean

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

Whether a partitive path may be read transitively; absent: unstated (the default), so a partitive path of two or more links is reported, never derived.


policy: string

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

The policy id, taxonomy-policy/v1.


optional recordId?: string

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

The policy record (UUID), when declared.


requirePlacement: boolean

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

Whether every accepted member must be placed (default false).


optional revision?: number

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

Its record revision, when declared.


schemeId: string

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

The scheme (UUID).


topConcepts: VocabularyTopConceptPolicy

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

The top-concept obligation (default explicit_optional).


view: VocabularyViewRef

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

The view.