rule.h 430 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#ifndef AIRMAP_RULE_H_
#define AIRMAP_RULE_H_

#include <string>

namespace airmap {

struct Rule {
  // TODO(tvoss): Fill in values once schema is known.
  enum class Type {};
  Type type;
  std::string id;
  std::string name;
  std::string description;
  std::string jurisdiction;
  // TODO(tvoss): Add requirements here.
};

bool operator==(const Rule& lhs, const Rule& rhs);

}  // namespace airmap

#endif  // AIRMAP_RULE_H_