blob: 3b650f645411601c756bc81bb95a27f2d0c7cac6 [file] [log] [blame]
// NOLINTBEGIN
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace software_inventory
{
// clang-format off
enum class VersionScheme : std::uint8_t{
Invalid,
SemVer,
DotIntegerNotation,
OEM,
};
NLOHMANN_JSON_SERIALIZE_ENUM(VersionScheme, {
{VersionScheme::Invalid, "Invalid"},
{VersionScheme::SemVer, "SemVer"},
{VersionScheme::DotIntegerNotation, "DotIntegerNotation"},
{VersionScheme::OEM, "OEM"},
});
} // namespace software_inventory
// clang-format on
// NOLINTEND