Skip to content

Commit

Permalink
Change unit property in account stats json schema to accept values in…
Browse files Browse the repository at this point in the history
… enum
  • Loading branch information
JoaoDiasAbly committed Feb 26, 2024
1 parent fc1017d commit b2f272b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json-schemas/src/account-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"unit": {
"type": "string",
"description": "Unit of time for these statistics from the intervalId forwards.",
"pattern": "^minute$"
"enum": ["minute", "hour", "day", "month"]
},
"schema": {
"type": "string",
Expand Down

0 comments on commit b2f272b

Please sign in to comment.