Package-level declarations

Types

Link copied to clipboard
@Serializable
data class KontureJsonReport(val schemaVersion: String = "1.0.0", val tool: ToolMetadata = ToolMetadata(), val timestamp: String, val summary: ReportSummary, val rules: List<ReportRule> = emptyList(), val violations: List<ReportViolation> = emptyList())

Root data structure for Konture's native JSON architecture verification report.

Link copied to clipboard
@Serializable
data class ReportRule(val id: String, val description: String? = null, val severity: Severity = Severity.ERROR, val tags: Set<String> = emptySet())

Description of an evaluated architectural rule.

Link copied to clipboard
@Serializable
data class ReportSummary(val totalRules: Int, val passedRules: Int, val failedRules: Int, val totalViolations: Int, val suppressedCount: Int = 0, val errorCount: Int, val warningCount: Int, val infoCount: Int, val resolvedCount: Int = 0, val activeBaselineCount: Int = 0, val newViolationsCount: Int = 0)

Aggregated summary statistics for a Konture execution run.

Link copied to clipboard
@Serializable
data class ReportViolation(val ruleId: String, val severity: Severity, val message: String, val subject: Subject, val target: Subject? = null, val sourceLocation: SourceLocation? = null, val dependencyPath: List<Subject> = emptyList(), val isSuppressed: Boolean = false, val suppressionReason: String? = null, val suppressionKind: String? = null)

Detailed representation of an individual architectural violation for JSON reports.

Link copied to clipboard
@Serializable
data class ToolMetadata(val name: String = "Konture", val version: String = KontureConstants.VERSION, val informationUri: String = "https://github.com/baole/konture")

Metadata identifying the Konture tool and runtime.