Skip to content
Developer Preview

SubscriptionUsageWindow

The current usage window (the provider’s 5-hour-class block): verbatim provider percentages with the reset stamp normalized to epoch milliseconds (ADR 32563 D2).

  • resetsAtMs
  • usedPercent
  • windowDurationMins
Source

schema/msp/experimental/msp.schema.json#/types/SubscriptionUsageWindow

{
"description": "The current usage window (the provider's 5-hour-class block): verbatim\nprovider percentages with the reset stamp normalized to epoch\nmilliseconds (ADR 32563 D2).",
"properties": {
"resetsAtMs": {
"description": "When the window resets, epoch milliseconds.",
"type": "integer"
},
"usedPercent": {
"description": "Percent of the window's budget used: an integer ≥ 0, verbatim from\nthe provider — over-quota values above 100 are valid.",
"type": "integer"
},
"windowDurationMins": {
"description": "The window's length in minutes (> 0).",
"type": "integer"
}
},
"required": [
"resetsAtMs",
"usedPercent",
"windowDurationMins"
],
"type": "object"
}