Commit 42b9140f authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Support 'index' xml-attribute on Attribute tags in credential type xml

parent 7508e351
......@@ -65,7 +65,8 @@ type CredentialType struct {
// AttributeDescription is a description of an attribute within a credential type.
type AttributeDescription struct {
ID string `xml:"id,attr"`
Optional string `xml:"optional,attr"`
Optional string `xml:"optional,attr" json:",omitempty"`
Index *int `xml:"index,attr" json:",omitempty"`
Name TranslatedString
Description TranslatedString
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment