56 lines
1.8 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
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:"public_repository_link"`
ItchLink string `json:"itch_link"`
Genres string `json:"genres"`
Collections string `json:"collections"`
Executable string `json:"executable"`
ThumbnailPath string `json:"thumbnail_path"`
LogoPath string `json:"logo_path"`
BackgroundImagePath string `json:"backgroundImagePath"`
MediaPaths []string `json:"media_paths"`
AudioPath string `json:"audio_path"`
Developers []Developer `json:"developers"`
ColorScheme ColorScheme `json:"color_scheme"`
}
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"`
}