RuleMetadata

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

Represents structured metadata associated with an architectural rule definition.

Constructors

Link copied to clipboard
constructor(id: String, description: String? = null, severity: Severity = Severity.ERROR, tags: Set<String> = emptySet())

Properties

Link copied to clipboard

Human-readable explanation of the architectural rule.

Link copied to clipboard
val id: String

Stable identifier for the rule (e.g. domain.repositories.must-be-interfaces).

Link copied to clipboard

Severity level of violations produced by this rule (defaults to Severity.ERROR).

Link copied to clipboard

Arbitrary tag labels associated with this rule for filtering and taxonomy.