diff --git a/models/models.go b/models/models.go index a90be57252f6336659b20f4e37e815b4e4aa5a8e..c1b4077c44ab41503ef8933085d9944e5d630382 100644 --- a/models/models.go +++ b/models/models.go @@ -37,8 +37,12 @@ type LanguageCountriesResponse struct { // CountryInfo represents country information in the LanguageCountriesResponse. type CountryInfo struct { - Name string `json:"name"` - ISOCode string `json:"isoCode"` + ISO3166_1_Alpha_3 string `json:"ISO3166_1_Alpha_3"` + ISO3166_1_Alpha_2 string `json:"ISO3166_1_Alpha_2"` + Official_Name string `json:"Official_Name"` + Region_Name string `json:"Region_Name"` + Sub_Region_Name string `json:"Sub_Region_Name"` + Language string `json:"Language"` } // CountryResponse represents the structure of a country response from the REST Countries API. @@ -62,4 +66,4 @@ type ServiceStatus struct { CountriesAPI string `json:"countriesapi"` Version string `json:"version"` Uptime int64 `json:"uptime"` -} \ No newline at end of file +}