diff --git a/Dictify/DictionaryWord.cs b/Dictify/DictionaryWord.cs index 677b241..2400636 100644 --- a/Dictify/DictionaryWord.cs +++ b/Dictify/DictionaryWord.cs @@ -48,13 +48,13 @@ public partial class DefinitionType /// List of synonyms based on the definition /// [JsonProperty("synonyms")] - public List Synonyms { get; set; } + public string[] Synonyms { get; set; } /// /// List of antonyms based on the definition /// [JsonProperty("antonyms")] - public List Antonyms { get; set; } + public string[] Antonyms { get; set; } /// /// Example in sentence @@ -96,19 +96,19 @@ public partial class Meaning /// List of word definitions. Words usually come with one or more definitions. /// [JsonProperty("definitions")] - public List Definitions { get; set; } + public DefinitionType[] Definitions { get; set; } /// /// List of synonyms based on the word meaning /// [JsonProperty("synonyms")] - public List Synonyms { get; set; } + public string[] Synonyms { get; set; } /// /// List of antonyms based on the word meaning /// [JsonProperty("antonyms")] - public List Antonyms { get; set; } + public string[] Antonyms { get; set; } } /// @@ -157,13 +157,13 @@ public partial class Phonetic /// The alternative phonetic representations /// [JsonProperty("phonetics")] - public List Phonetics { get; set; } + public Phonetic[] Phonetics { get; set; } /// /// Word meanings /// [JsonProperty("meanings")] - public List Meanings { get; set; } + public Meaning[] Meanings { get; set; } /// /// License information @@ -175,6 +175,6 @@ public partial class Phonetic /// List of where we got the word information from /// [JsonProperty("sourceUrls")] - public List SourceUrls { get; set; } + public string[] SourceUrls { get; set; } } }