Interface: VocabularyImport
@kortexya/reasoninglayer / VocabularyImport
Interface: VocabularyImport
Section titled “Interface: VocabularyImport”Defined in: src/types/vocabulary.ts:5632
201 of POST /api/v1/vocabulary/imports and 200 of
GET /api/v1/vocabulary/imports/{import_id}: an import proposal.
Remarks
Section titled “Remarks”Nothing is written to the vocabulary until a commit. An incomplete import
(complete: false) can be read, never committed. The keys of counts
(dispositions) and proposedRecordCounts (record kinds) are wire values,
copied verbatim.
Properties
Section titled “Properties”artifact
Section titled “artifact”artifact:
VocabularyImportArtifact
Defined in: src/types/vocabulary.ts:5636
The artefact read.
baselineReleaseId?
Section titled “baselineReleaseId?”
optionalbaselineReleaseId?:string
Defined in: src/types/vocabulary.ts:5650
The release the proposal was reconciled against (UUID).
committedAt?
Section titled “committedAt?”
optionalcommittedAt?:string
Defined in: src/types/vocabulary.ts:5654
When it was committed (ISO 8601).
committedRevisionId?
Section titled “committedRevisionId?”
optionalcommittedRevisionId?:string
Defined in: src/types/vocabulary.ts:5652
The revision that committed the import (UUID).
complete
Section titled “complete”complete:
boolean
Defined in: src/types/vocabulary.ts:5640
Whether the parse read the whole artefact.
counts
Section titled “counts”counts:
Record<string,number>
Defined in: src/types/vocabulary.ts:5644
Items by disposition (disposition → count).
createdAt
Section titled “createdAt”createdAt:
string
Defined in: src/types/vocabulary.ts:5658
When (database clock, ISO 8601).
createdBy
Section titled “createdBy”createdBy:
string
Defined in: src/types/vocabulary.ts:5656
Who created it (user:<uuid>).
dataset
Section titled “dataset”dataset:
string
Defined in: src/types/vocabulary.ts:5638
The declared dataset.
importId
Section titled “importId”importId:
string
Defined in: src/types/vocabulary.ts:5634
The import (UUID).
proposedRecordCounts
Section titled “proposedRecordCounts”proposedRecordCounts:
Record<string,number>
Defined in: src/types/vocabulary.ts:5646
Proposed records by kind (record kind → count).
reconciliation
Section titled “reconciliation”reconciliation:
VocabularyReconciliationEntry[]
Defined in: src/types/vocabulary.ts:5648
One entry per source resource that proposes a record.
replayed
Section titled “replayed”replayed:
boolean
Defined in: src/types/vocabulary.ts:5660
Whether this answer replays an earlier identical request.
stopReason?
Section titled “stopReason?”
optionalstopReason?:string
Defined in: src/types/vocabulary.ts:5642
Why the parse stopped (syntax_error, item_limit, unreadable).