2025-07-19 19:58:57 +00:00

56 lines
1.9 KiB
Go

package models
type Metadata struct {
Collection string
Launch string
Id string
Game string
Version string
Description string
Players string
ThumbnailPath string `yaml:"thumbnailPath"`
ImagePath string `yaml:"imagePath"`
Release string
Modification string
Files string
PublicRepositoryLink string `yaml:"publicRepositoryLink"`
Genres string
Developers string
}
type Game struct {
Id string `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
Version string `json:"version"`
Players string `json:"players"`
Release string `json:"release"`
Modification string `json:"modification"`
PublicRepositoryLink string `json:"publicRepositoryLink"`
ItchLink string `json:"itchLink"`
Genres string `json:"genres"`
Collections string `json:"collections"`
Executable string `json:"executable"`
ThumbnailPath string `json:"thumbnailPath"`
LogoPath string `json:"logoPath"`
BackgroundImagePath string `json:"backgroundImagePath"`
MediaPaths []string `json:"mediaPaths"`
AudioPath string `json:"audioPath"`
Developers []Developer `json:"developers"`
ColorScheme ColorScheme `json:"colorScheme"`
}
type Developer struct {
Id string `json:"id"`
Name string `json:"name"`
Link string `json:"link"`
Picture string `json:"picture"`
Role string `json:"role"`
}
type ColorScheme struct {
Primary string `json:"primary"`
Secondary string `json:"secondary"`
Ternary string `json:"ternary"`
}