Skip to content

Type Alias: GovernanceAcquisitionTransport

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GovernanceAcquisitionTransport

Type Alias: GovernanceAcquisitionTransport

Section titled “Type Alias: GovernanceAcquisitionTransport”

GovernanceAcquisitionTransport = { live: { endpoint: string; }; } | { replay: { sourceFileIds: string[]; }; }

Defined in: src/types/governance.ts:61

How a source_acquisition job reaches its provider.

{ live: { endpoint: string; }; }

live: object

The provider over the network: an absolute https URL (the OAI-PMH base URL, the REST records URL or the ORCID API base URL). A private or link-local address is refused when the capture connects, and the job ends provider_failed.

endpoint: string

The endpoint.


{ replay: { sourceFileIds: string[]; }; }

replay: object

Uploaded files read in this order as the provider’s pages: a frozen, reproducible acquisition without a network call. Each capture’s activity names its request replay:source-file:<id>.

sourceFileIds: string[]

The uploaded files, 1 to max_pages, each once.

SDK schema keys are camelCase; native wire keys are snake_case.