diff --git a/types.go b/types.go index 1c688d3..53ea9af 100644 --- a/types.go +++ b/types.go @@ -76,13 +76,13 @@ type YggdrasilInfo struct { ImplVersion string `json:"Implementation-Version"` AppOwner string `json:"Application-Owner"` SkinDomains []string `json:"skinDomains"` - PublicKey *string `json:"signaturePublickey"` + PublicKey *string `json:"signaturePublickey,omitempty"` } type Property struct { Name string `json:"name"` Value string `json:"value"` - Signature *string `json:"signature"` + Signature *string `json:"signature,omitempty"` } type ProfileResponse struct { @@ -113,7 +113,7 @@ type SkinMetadata struct { type ProfileTextures struct { Skin SkinTexture `json:"SKIN"` - Cape *Texture `json:"CAPE"` + Cape *Texture `json:"CAPE,omitempty"` } type Empty struct{}