using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;

namespace SessionZero.Data;

public class DatapackMetadata
{
    public required string Name { get; set; } 
    public required string Id  { get; set; }
    public required string Description { get; set; }
    public required string Version { get; set; }
    public required string[] CompatibleSystems { get; set; }
    public string Uuid { get; set; } =  string.Empty;


    public override string ToString()
    {
        return JsonSerializer.Serialize(this, new JsonSerializerOptions { WriteIndented = true });
    }
}