Skip to content

Commit

Permalink
Merge pull request #233 from ably/change-account-stats-unit-schema
Browse files Browse the repository at this point in the history
Change unit property in account stats json schema to accept values in enum
  • Loading branch information
JoaoDiasAbly authored Feb 28, 2024
2 parents fc1017d + b2f272b commit a3904b9
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 a3904b9

Please sign in to comment.