namespace BrikInstaller.Schemas;

public class GenericArtifact {
    public string Path { get; set; } = string.Empty;
    public string Sha1 { get; set; } = string.Empty;
    public long Size { get; set; }
    public string Url { get; set; } = string.Empty;
}

public class BrikFilesIndex {
    public List<ArtifactEntry> Root { get; set; } = new();
}

public class ArtifactEntry {
    public ArtifactContainer Downloads { get; set; } = null!;
}

public class ArtifactContainer {
    public GenericArtifact Artifact { get; set; } = null!;
}