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

import Foundation

public struct MiniPersonaSchema: Codable, Equatable, Identifiable {
    public var id: UUID
    public var imageUrl: String?
    public var name: String
    public var type: `Type`?

    /// Type
    public struct `Type`: RawRepresentable, Codable, Equatable {
        public let rawValue: String

        public init(rawValue: String) {
            self.rawValue = rawValue
        }

        public static let persona = Self(rawValue: "persona")
    }

    public init(id: UUID, imageUrl: String? = nil, name: String, type: `Type`? = nil) {
        self.id = id
        self.imageUrl = imageUrl
        self.name = name
        self.type = type
    }
}
