Skip to content

Interface: CompareSourceInventoriesRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CompareSourceInventoriesRequest

Interface: CompareSourceInventoriesRequest

Section titled “Interface: CompareSourceInventoriesRequest”

Defined in: src/types/source-observations.ts:138

Compare two inventories under declared bounds.

deadlineMs: number

Defined in: src/types/source-observations.ts:149

The whole comparison’s deadline, 1 to 120 000 ms. When it passes, the answer is source_comparison_resource_stop naming the deadline.


optional includePrivateChanges?: boolean

Defined in: src/types/source-observations.ts:167

CQ1b only: also return the private changed parts (ORCID-derived content). Needs read_source_observation_content on every member file.


leftInventoryId: string

Defined in: src/types/source-observations.ts:142

The base freeze (CQ1, CQ1b) or the REST inventory (CQ4).


maxRows: number

Defined in: src/types/source-observations.ts:151

The row bound of each native materialisation, 1 to 1 000 000.


maxSnapshotBytes: number

Defined in: src/types/source-observations.ts:155

The per-read byte bound of the held read snapshot, 1 to 1 GiB.


maxSnapshotTerms: number

Defined in: src/types/source-observations.ts:153

The per-read term bound of the held read snapshot, 1 to 1 000 000.


optional populationInventoryId?: string | null

Defined in: src/types/source-observations.ts:162

CQ1b only: the listing-complete DataCite REST inventory of the later freeze, whose distinct ORCID iDs are the population. Without it CQ1b answers source_observation_incomplete; on another question it is an invalid request.


question: SourceComparisonQuestion

Defined in: src/types/source-observations.ts:140

The governed question.


rightInventoryId: string

Defined in: src/types/source-observations.ts:144

The later freeze (CQ1, CQ1b) or the OAI inventory (CQ4).