Interface: VocabularyTaxonomyPolicy
@kortexya/reasoninglayer / VocabularyTaxonomyPolicy
Interface: VocabularyTaxonomyPolicy
Section titled “Interface: 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.
Properties
Section titled “Properties”acyclic
Section titled “acyclic”acyclic:
boolean
Defined in: src/types/vocabulary.ts:5359
Whether a hierarchy cycle blocks (default true).
changeReason?
Section titled “changeReason?”
optionalchangeReason?:string
Defined in: src/types/vocabulary.ts:5355
Why the record’s revision was made, when declared.
context?
Section titled “context?”
optionalcontext?:VocabularyContextRef
Defined in: src/types/vocabulary.ts:5345
The stored context of the view.
declared
Section titled “declared”declared:
boolean
Defined in: src/types/vocabulary.ts:5349
Whether the view holds a policy record for the scheme.
maxDepth?
Section titled “maxDepth?”
optionalmaxDepth?:number
Defined in: src/types/vocabulary.ts:5361
The deepest allowed depth; absent: no depth finding (the default).
partitiveTransitive?
Section titled “partitiveTransitive?”
optionalpartitiveTransitive?: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
Section titled “policy”policy:
string
Defined in: src/types/vocabulary.ts:5357
The policy id, taxonomy-policy/v1.
recordId?
Section titled “recordId?”
optionalrecordId?:string
Defined in: src/types/vocabulary.ts:5351
The policy record (UUID), when declared.
requirePlacement
Section titled “requirePlacement”requirePlacement:
boolean
Defined in: src/types/vocabulary.ts:5369
Whether every accepted member must be placed (default false).
revision?
Section titled “revision?”
optionalrevision?:number
Defined in: src/types/vocabulary.ts:5353
Its record revision, when declared.
schemeId
Section titled “schemeId”schemeId:
string
Defined in: src/types/vocabulary.ts:5347
The scheme (UUID).
topConcepts
Section titled “topConcepts”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.