diff --git a/Character.go b/Character.go index a50a7c1..7bacd87 100644 --- a/Character.go +++ b/Character.go @@ -9,11 +9,11 @@ import ( // Character ... type Character struct { ID string `json:"id"` - Name CharacterName `json:"name"` + Name CharacterName `json:"name" editable:"true"` Image CharacterImage `json:"image"` - Description string `json:"description"` - Attributes []*CharacterAttribute `json:"attributes"` - MainQuoteID string `json:"mainQuoteId"` + Description string `json:"description" editable:"true" type:"textarea"` + MainQuoteID string `json:"mainQuoteId" editable:"true"` + Attributes []*CharacterAttribute `json:"attributes" editable:"true"` HasMappings } diff --git a/CharacterAttribute.go b/CharacterAttribute.go index 8535e5f..ac14de7 100644 --- a/CharacterAttribute.go +++ b/CharacterAttribute.go @@ -2,6 +2,6 @@ package arn // CharacterAttribute describes one attribute of a character, e.g. height or age. type CharacterAttribute struct { - Name string `json:"name"` - Value string `json:"value"` + Name string `json:"name" editable:"true"` + Value string `json:"value" editable:"true"` } diff --git a/CharacterName.go b/CharacterName.go index dfe0dfd..dd3587e 100644 --- a/CharacterName.go +++ b/CharacterName.go @@ -2,8 +2,8 @@ package arn // CharacterName ... type CharacterName struct { - Canonical string `json:"canonical"` - English string `json:"english"` - Japanese string `json:"japanese"` - Synonyms []string `json:"synonyms"` + Canonical string `json:"canonical" editable:"true"` + English string `json:"english" editable:"true"` + Japanese string `json:"japanese" editable:"true"` + Synonyms []string `json:"synonyms" editable:"true"` }