1 /*
2 * SPDX-FileCopyrightText: none
3 * SPDX-License-Identifier: CC0-1.0
4 */
5
6 package dev.metaschema.core.model.constraint;
7
8 /**
9 * Represents the distinct phases of the validation pipeline.
10 * <p>
11 * Used by {@link ValidationEventListener} to report phase-level timing events.
12 */
13 public enum ValidationPhase {
14 /** Schema validation against XML or JSON schema. */
15 SCHEMA_VALIDATION,
16 /** Constraint evaluation against Metaschema constraints. */
17 CONSTRAINT_VALIDATION,
18 /** Post-validation finalization, including cross-document constraints. */
19 FINALIZATION
20 }