DriftCheckDto

data class DriftCheckDto(val schemaName: String, val versionHash: String, val contextId: String?, val capturedAt: String, val driftedEntityTypes: List<String>, val driftedRelationshipTypes: List<String>, val hasDrift: Boolean, val hasAnyChange: Boolean, val declaredDiff: MetamodelDiffDto?, val sweepImpact: MetamodelDiffDto)

Everything one drift check found, including the merged comparison a sweep would evaluate.

A check reports and moves nothing, so this is the whole preview an operator gets before deciding. It carries both halves the check compared — the graph-truth half in driftedEntityTypes and driftedRelationshipTypes, the declaration half in declaredDiff — and sweepImpact, which is those two merged into the single diff a sweep evaluates propositions against. A response missing declaredDiff could read clean while a sweep on the same state quarantined.

Constructors

Link copied to clipboard
constructor(schemaName: String, versionHash: String, contextId: String?, capturedAt: String, driftedEntityTypes: List<String>, driftedRelationshipTypes: List<String>, hasDrift: Boolean, hasAnyChange: Boolean, declaredDiff: MetamodelDiffDto?, sweepImpact: MetamodelDiffDto)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

When the observation was taken, ISO-8601.

Link copied to clipboard

The context the check covered, or null for a whole-graph check.

Link copied to clipboard

How the declaration moved since the last completed sweep, or null when there was no baseline to compare against.

Link copied to clipboard

Entity types the graph held that the declaration never named.

Link copied to clipboard

Relationship types observed with no declaration.

Link copied to clipboard

true when either half found something, so a sweep would have work to do.

Link copied to clipboard

true when the graph held anything undeclared.

Link copied to clipboard

The declared schema's name at check time.

Link copied to clipboard

The merged comparison a sweep evaluates propositions against.

Link copied to clipboard

The stamp the check ran against.