Skip to content

Interface: ConformanceCheckResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ConformanceCheckResponse

Defined in: src/types/conformance.ts:211

Response from a read-only conformance check.

conformant is true when no domain/range violation was found — which includes the vacuous case where the supplied ontology declares no domain/range axioms at all. violations is reported in the detector’s deterministic order.

const result = await client.conformance.check({ format: 'turtle', ontology });
if (!result.conformant) {
console.log(result.totalViolations, 'violations');
console.log(result.byKind.v1Inversion, 'are inversions');
}

byKind: ViolationCountsDto

Defined in: src/types/conformance.ts:220

Violations grouped by kind.


conformant: boolean

Defined in: src/types/conformance.ts:216

true when no domain/range violation was found (or no domain/range axioms were declared) — the KB conforms to the supplied ontology.


totalViolations: number

Defined in: src/types/conformance.ts:218

Total number of violations.


violations: ConformanceViolationDto[]

Defined in: src/types/conformance.ts:222

Every detected violation, in the detector’s deterministic order.