package com.cloudhandson.ddsbackoffice.domain;

import java.time.Instant;

/** Aggregate result of the latest deterministic DDS validation run. */
public record DdsValidationEvidence(
    String path,
    String subjectKey,
    String outcome,
    int fixtureCount,
    int failedCount,
    Instant validatedAt
) {

  public boolean passed() {
    return "PASSED".equals(outcome);
  }
}
