9 #ifndef DAQ_STARTDAQV2_HPP
10 #define DAQ_STARTDAQV2_HPP
16 #include <nlohmann/json.hpp>
24 using SchemaError::SchemaError;
44 std::variant<PrimaryDataSource, MetadataSource, FitsKeywordsSource, FitsFileSource>;
std::optional< MergeTarget > merge_target
std::vector< KeywordRuleTypes > KeywordRules
std::optional< std::chrono::milliseconds > await_completion_interval
bool operator==(KeywordFilter const &lhs, KeywordFilter const &rhs) noexcept
std::variant< PrimaryDataSource, MetadataSource, FitsKeywordsSource, FitsFileSource > DataSourceTypes
StartDaqV2Spec ParseStartDaqV2Spec(nlohmann::json const &json)
Parse StartDaqSpec.
void to_json(nlohmann::json &out, KeywordFilter const &s)
std::vector< DataSourceTypes > sources
Structure with a close mapping from JSON representation in the StartDaqV2 MAL request.
KeywordRules keyword_rules
std::optional< InitialKeywords > initial_keywords