package com.fabledsword.minstrel.models.wire

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

/**
 * Wire shape for `GET /api/artists/{id}` — server returns ArtistRef
 * fields PLUS an embedded `albums` array.
 */
@Serializable
data class ArtistDetailWire(
    val id: String,
    val name: String,
    @SerialName("sort_name") val sortName: String = "",
    @SerialName("album_count") val albumCount: Int = 0,
    @SerialName("cover_url") val coverUrl: String = "",
    val albums: List<AlbumWire> = emptyList(),
)
