Interface: VocabularyCandidateRevision
@kortexya/reasoninglayer / VocabularyCandidateRevision
Interface: VocabularyCandidateRevision
Section titled “Interface: VocabularyCandidateRevision”Defined in: src/types/vocabulary.ts:3486
A candidate revision: 201 of create, save and rebase, 200 of
GET /revisions/{id}.
Remarks
Section titled “Remarks”revisionId is also the ETag ("<revision_id>") to send as ifMatch to
save or rebase. advisoryFindings never refuse a save and are not
authoritative (an assessment is); they and mintedIds are empty on reads
and rebases.
Properties
Section titled “Properties”advisoryFindings
Section titled “advisoryFindings”advisoryFindings:
VocabularyFinding[]
Defined in: src/types/vocabulary.ts:3525
Obligation findings over the revision’s view when it was saved.
authors
Section titled “authors”authors:
string[]
Defined in: src/types/vocabulary.ts:3500
Cumulative authors (user:<uuid>), sorted.
baseline
Section titled “baseline”baseline:
VocabularyBaseline
Defined in: src/types/vocabulary.ts:3498
The baseline.
candidateId
Section titled “candidateId”candidateId:
string
Defined in: src/types/vocabulary.ts:3488
The candidate (UUID).
changeReason
Section titled “changeReason”changeReason:
string
Defined in: src/types/vocabulary.ts:3506
Why.
contentHash
Section titled “contentHash”contentHash:
string
Defined in: src/types/vocabulary.ts:3494
The content hash a decision on this revision must cite.
createdAt
Section titled “createdAt”createdAt:
string
Defined in: src/types/vocabulary.ts:3504
When (database clock, ISO 8601).
createdBy
Section titled “createdBy”createdBy:
string
Defined in: src/types/vocabulary.ts:3502
Who saved this revision.
mintedIds
Section titled “mintedIds”mintedIds:
Record<string,string>
Defined in: src/types/vocabulary.ts:3523
Client references this edit bound to newly minted ids (client reference → UUID).
outcome
Section titled “outcome”outcome:
string
Defined in: src/types/vocabulary.ts:3527
committed.
proposalCounts
Section titled “proposalCounts”proposalCounts:
Record<string,number>
Defined in: src/types/vocabulary.ts:3519
The proposals among those records, counted by record kind: the draft
concepts and the proposed memberships, concept relations, concept
mappings and collections that the operation accept_proposals would
accept. Kinds without a proposal are absent.
recordCounts
Section titled “recordCounts”recordCounts:
Record<string,number>
Defined in: src/types/vocabulary.ts:3512
The records the cumulative change set inserts or replaces, counted by record kind (wire kind spelling → count). Read the records themselves page by page with VocabularyClient.listRevisionRecords.
removals
Section titled “removals”removals:
string[]
Defined in: src/types/vocabulary.ts:3521
The baseline records it removes (UUIDs).
replayed
Section titled “replayed”replayed:
boolean
Defined in: src/types/vocabulary.ts:3529
Whether this answer replays an earlier identical request.
revisionId
Section titled “revisionId”revisionId:
string
Defined in: src/types/vocabulary.ts:3490
The revision (UUID).
revisionNumber
Section titled “revisionNumber”revisionNumber:
number
Defined in: src/types/vocabulary.ts:3492
1-based revision number.
state:
VocabularyCandidateState
Defined in: src/types/vocabulary.ts:3496
The candidate’s state (after the edit, for a mutation).