struct RangeInterval { let min: Double let max: Double } extension RangeInterval: Codable { }