CCF
Loading...
Searching...
No Matches
uvm_endorsements.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5#include "ccf/service/map.h"
6
7#include <string>
8
9namespace ccf
10{
12 {
13 std::string svn;
14
15 bool operator==(const UVMEndorsementsData&) const = default;
16 };
19
20 using DID = std::string;
21 using Feed = std::string;
22 using FeedToEndorsementsDataMap = std::map<Feed, UVMEndorsementsData>;
23
25
26 namespace Tables
27 {
28 static constexpr auto NODE_SNP_UVM_ENDORSEMENTS =
29 "public:ccf.gov.nodes.snp.uvm_endorsements";
30 }
31}
Definition map.h:30
#define DECLARE_JSON_REQUIRED_FIELDS(TYPE,...)
Definition json.h:714
#define DECLARE_JSON_TYPE(TYPE)
Definition json.h:663
Definition app_interface.h:14
std::map< Feed, UVMEndorsementsData > FeedToEndorsementsDataMap
Definition uvm_endorsements.h:22
std::string DID
Definition uvm_endorsements.h:20
std::string Feed
Definition uvm_endorsements.h:21
Definition uvm_endorsements.h:12
std::string svn
Definition uvm_endorsements.h:13
bool operator==(const UVMEndorsementsData &) const =default