Skip to content

Interface: DiscoverSchemaResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Sources / DiscoverSchemaResponse

Interface: DiscoverSchemaResponse

Defined in: src/types/sources.ts:369

Response from schema discovery.

Properties

relations

relations: DiscoveredSourceRelationDto[]

Defined in: src/types/sources.ts:375

Discovered relations between sorts.


sorts

sorts: DiscoveredSortDto[]

Defined in: src/types/sources.ts:373

Discovered sorts/types.


sourceId

sourceId: string

Defined in: src/types/sources.ts:371

Source identifier.


totalColumns

totalColumns: number

Defined in: src/types/sources.ts:377

Total number of columns/features discovered.


totalDiscovered?

optional totalDiscovered: number

Defined in: src/types/sources.ts:386

Total number of sorts/tables discovered and returned.

Redundant with sorts.length on the happy path, but surfaced explicitly so a client can distinguish “the source has exactly N tables” from a silently truncated list. Discovery hard-refuses (400) rather than truncate, so a successful response always carries the complete set.


warnings?

optional warnings: string[]

Defined in: src/types/sources.ts:388

Warnings during discovery.