// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation

public struct UserJourneySchema: Codable, Equatable {
    public var challenges: [UserJourneyChallenge]
    public var consecutiveCreationStreak: Int
    public var consecutiveDaysActive: Int
    public var creationLast30Days: Int
    /// UserJourneyLevel
    public var currentLevel: UserJourneyLevel
    public var longestCreationStreak: Int
    public var longestLoginStreak: Int
    public var totalPoints: Int

    public init(challenges: [UserJourneyChallenge], consecutiveCreationStreak: Int, consecutiveDaysActive: Int, creationLast30Days: Int, currentLevel: UserJourneyLevel, longestCreationStreak: Int, longestLoginStreak: Int, totalPoints: Int) {
        self.challenges = challenges
        self.consecutiveCreationStreak = consecutiveCreationStreak
        self.consecutiveDaysActive = consecutiveDaysActive
        self.creationLast30Days = creationLast30Days
        self.currentLevel = currentLevel
        self.longestCreationStreak = longestCreationStreak
        self.longestLoginStreak = longestLoginStreak
        self.totalPoints = totalPoints
    }
}
