Interface: ConformanceCheckResponse
@kortexya/reasoninglayer / ConformanceCheckResponse
Interface: ConformanceCheckResponse
Section titled “Interface: ConformanceCheckResponse”Defined in: src/types/conformance.ts:211
Response from a read-only conformance check.
Remarks
Section titled “Remarks”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.
Example
Section titled “Example”const result = await client.conformance.check({ format: 'turtle', ontology });if (!result.conformant) { console.log(result.totalViolations, 'violations'); console.log(result.byKind.v1Inversion, 'are inversions');}Properties
Section titled “Properties”byKind
Section titled “byKind”byKind:
ViolationCountsDto
Defined in: src/types/conformance.ts:220
Violations grouped by kind.
conformant
Section titled “conformant”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
Section titled “totalViolations”totalViolations:
number
Defined in: src/types/conformance.ts:218
Total number of violations.
violations
Section titled “violations”violations:
ConformanceViolationDto[]
Defined in: src/types/conformance.ts:222
Every detected violation, in the detector’s deterministic order.