Skip to content

Commit

Permalink
allow comma in tag description
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed Aug 25, 2020
1 parent 6262a56 commit ac0ee80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tokenlist.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"description": {
"type": "string",
"description": "A user-friendly description of the tag",
"pattern": "^[ \\w\\.]+$",
"pattern": "^[ \\w\\.,]+$",
"minLength": 1,
"maxLength": 200
}
Expand Down
2 changes: 1 addition & 1 deletion test/schema/example.tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"tags": {
"stablecoin": {
"name": "Stablecoin",
"description": "Tokens that are fixed to an external asset"
"description": "Tokens that are fixed to an external asset, e.g. the US dollar"
},
"compound": {
"name": "Compound Finance",
Expand Down

0 comments on commit ac0ee80

Please sign in to comment.