diff --git a/GDWeave/Loader/ModManifest.cs b/GDWeave/Loader/ModManifest.cs index 4b6238a..e8aba7d 100644 --- a/GDWeave/Loader/ModManifest.cs +++ b/GDWeave/Loader/ModManifest.cs @@ -6,6 +6,7 @@ internal class ModManifest { public string? PackPath { get; set; } public List Dependencies { get; set; } = new(); public ModMetadata? Metadata { get; set; } + public Dictionary? ConfigSchema { get; set; } internal class ModMetadata { public string? Name { get; set; } @@ -14,4 +15,22 @@ internal class ModMetadata { public string? Description { get; set; } public string? Homepage { get; set; } } + + internal class ModConfigProperty { + public string? Title { get; set; } + public string? Description { get; set; } + public string? Type { get; set; } + public int? MinLength { get; set; } + public int? MaxLength { get; set; } + public string? Pattern { get; set; } + public List? Enum { get; set; } + public List? SuggestedEnum { get; set; } + public float? Minimum { get; set; } + public float? Maximum { get; set; } + public float? MultipleOf { get; set; } + public Dictionary? Properties { get; set; } + public ModConfigProperty? Items { get; set; } + public int? MinItems { get; set; } + public int? MaxItems { get; set; } + } }