diff --git a/pkg/html/report-problems.gohtml b/pkg/html/report-problems.gohtml
index 962afd1..eb29740 100644
--- a/pkg/html/report-problems.gohtml
+++ b/pkg/html/report-problems.gohtml
@@ -11,6 +11,9 @@
{{if not .AssemblyVersionSet}}
No version set
{{end}}
+ {{if not .DalamudAPILevelSet}}
+ No Dalamud API level set
+ {{end}}
{{if not .RepoURLSet}}
No repo URL set
{{end}}
diff --git a/pkg/repos/plogons/types.go b/pkg/repos/plogons/types.go
index 59e2e1c..3585bef 100644
--- a/pkg/repos/plogons/types.go
+++ b/pkg/repos/plogons/types.go
@@ -32,7 +32,7 @@ type PlogonMeta struct {
ApplicableVersion string
ImageURLs []string `json:"ImageUrls"`
IconURL string `json:"IconUrl"`
- DalamudApiLevel int
+ DalamudAPILevel int `json:"DalamudApiLevel"`
LoadPriority int
}
@@ -45,6 +45,7 @@ type PlogonMetaValidationResult struct {
InternalNameSet bool
DescriptionSet bool
AssemblyVersionSet bool
+ DalamudAPILevelSet bool
RepoURLSet bool
PunchlineSet bool
MatchesZipped bool
diff --git a/pkg/repos/plogons/validation.go b/pkg/repos/plogons/validation.go
index b54fe31..e525344 100644
--- a/pkg/repos/plogons/validation.go
+++ b/pkg/repos/plogons/validation.go
@@ -67,6 +67,10 @@ func ValidatePullRequest(pr *github.PullRequest) (*PlogonMetaValidationResult, e
res.AssemblyVersionSet = true
}
+ if uncompressedMeta.DalamudAPILevel != 0 {
+ res.DalamudAPILevelSet = true
+ }
+
if uncompressedMeta.RepoURL != "" {
res.RepoURLSet = true
}