namespace ZB.MOM.WW.Health;

/// <summary>
/// Canonical health-check tag constants for the ZB.MOM.WW three-tier health pattern.
/// Use these when registering checks, e.g.
/// <c>AddCheck("db", check, tags: [ZbHealthTags.Ready])</c>, so that
/// <see cref="ZbHealthEndpointExtensions.MapZbHealth"/> routes each check to the right tier.
/// </summary>
public static class ZbHealthTags
{
    /// <summary>Readiness checks (dependencies needed before the node can serve traffic).</summary>
    public const string Ready = "ready";

    /// <summary>Active-node checks (leader / active-singleton gating).</summary>
    public const string Active = "active";

    /// <summary>Liveness — process is up. Reserved tag; the liveness endpoint runs no checks.</summary>
    public const string Live = "live";
}
