package models type RuleSet struct { Tag string `json:"tag"` Description string `json:"description"` URL string `json:"url"` Format string `json:"format"` // binary, source Type string `json:"type"` // domain, ip Optional bool `json:"optional"` SHA256 string `json:"sha256,omitempty"` } type RuleSetManifest struct { RuleSets []RuleSet `json:"rule_sets"` } type VersionResponse struct { Version string `json:"version"` URL string `json:"url"` SHA256 string `json:"sha256,omitempty"` Changelog string `json:"changelog,omitempty"` }