1 #pragma once
2 #include <nlohmann/json.hpp>
3 
4 namespace trusted_component
5 {
6 // clang-format off
7 
8 enum class TrustedComponentType{
9     Invalid,
10     Discrete,
11     Integrated,
12 };
13 
14 NLOHMANN_JSON_SERIALIZE_ENUM(TrustedComponentType, {
15     {TrustedComponentType::Invalid, "Invalid"},
16     {TrustedComponentType::Discrete, "Discrete"},
17     {TrustedComponentType::Integrated, "Integrated"},
18 });
19 
20 }
21 // clang-format on
22