Skip to content

Commit

Permalink
fix regex and add properties false option
Browse files Browse the repository at this point in the history
  • Loading branch information
JSHan94 committed Feb 29, 2024
1 parent c711c80 commit 5204a37
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions chain.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,8 @@
"url": {
"type": "string"
}
}
},
"additionalProperties": false
},
"fee_token": {
"type": "object",
Expand Down Expand Up @@ -808,11 +809,11 @@
},
"denom": {
"type": "string",
"pattern": "[a-zA-Z][a-zA-Z0-9/:._-]{2,127}"
"pattern": "^[a-zA-Z][a-zA-Z0-9/:._-]{2,127}$"
},
"amount": {
"type": "string",
"pattern": "[0-9]+"
"pattern": "^[0-9]+$"
},
"coin": {
"type": "object",
Expand Down

0 comments on commit 5204a37

Please sign in to comment.