namespace ZB.MOM.WW.OtOpcUa.Driver.Mqtt;

/// <summary>
///     How a Plain-mode MQTT tag's payload is decoded. See
///     <c>docs/plans/2026-07-15-mqtt-sparkplug-driver-design.md</c> §5.3.
/// </summary>
public enum MqttPayloadFormat
{
    /// <summary>The payload is a JSON document; a JSONPath selects the value (<c>jsonPath</c>).</summary>
    Json,

    /// <summary>The payload bytes are used as-is (e.g. binary / opaque).</summary>
    Raw,

    /// <summary>The payload is a bare scalar string (e.g. <c>"23.5"</c>), parsed by <c>dataType</c>.</summary>
    Scalar,
}
