package com.pixelized.shared.lwa.model.item

import kotlinx.serialization.Serializable

@Serializable
data class ItemJsonV1(
    override val id: String,
    val metadata: ItemMetadataJsonV1,
    val options: ItemOptionJsonV1,
    val tags: List<String>,
    val alterations: List<String>,
) : ItemJson {

    @Serializable
    data class ItemMetadataJsonV1(
        val name: String,
        val description: String,
        val thumbnail: String?,
        val image: String?,
    )

    @Serializable
    data class ItemOptionJsonV1(
        val stackable: Boolean,
        val equipable: Boolean,
        val consumable: Boolean,
    )
}