diff --git a/core/types.go b/core/types.go index f5726981..08aad686 100644 --- a/core/types.go +++ b/core/types.go @@ -86,9 +86,9 @@ func (service *Service) EvaluateConditions() *Result { } type ConditionResult struct { - Condition *Condition - Success bool - Explanation string + Condition *Condition `json:"condition"` + Success bool `json:"success"` + Explanation string `json:"explanation"` } type Condition string