diff --git a/Libraries/Core/Models/Spt/Mod/PackageJsonData.cs b/Libraries/Core/Models/Spt/Mod/PackageJsonData.cs index 96d22f90..eec92195 100644 --- a/Libraries/Core/Models/Spt/Mod/PackageJsonData.cs +++ b/Libraries/Core/Models/Spt/Mod/PackageJsonData.cs @@ -2,49 +2,19 @@ public record PackageJsonData { - public List? Incompatibilities - { - get; - set; - } - - public List? LoadBefore - { - get; - set; - } - - public List? LoadAfter - { - get; - set; - } - - public Dictionary? Dependencies - { - get; - set; - } - - public Dictionary? ModDependencies - { - get; - set; - } - public string? Name { get; set; } - public string? Url + public string? Author { get; set; } - public string? Author + public List? Contributors { get; set; @@ -62,13 +32,31 @@ public record PackageJsonData set; } - public string? Licence + public List? LoadBefore { get; set; } - public string? Main + public List? LoadAfter + { + get; + set; + } + + public List? IncompatibleMods + { + get; + set; + } + + public Dictionary? Dependencies + { + get; + set; + } + + public string? Url { get; set; @@ -80,7 +68,7 @@ public record PackageJsonData set; } - public List? Contributors + public string? Licence { get; set; diff --git a/ModExamples/1Logging/package.json b/ModExamples/1Logging/package.json index 1c1b5ea5..1dd61d15 100644 --- a/ModExamples/1Logging/package.json +++ b/ModExamples/1Logging/package.json @@ -1,13 +1,14 @@ { "Name": "1Logging", + "Author": "SPT", + "Contributors": [], "Version": "1.0.0", "SptVersion": "~4.0", "LoadBefore": [], "LoadAfter": [], - "IncompatibileMods": [], + "IncompatibleMods": [], + "Dependencies": [], "Url": "https://github.com/sp-tarkov/server-csharp/tree/develop/ExampleMods/Mods", "IsBundleMod": false, - "Author": "SPT", - "Contributors": [], "Licence": "MIT" }