Skip to content
Developer Preview

SubscriptionUsageWeekly

The rolling weekly block: same semantics as [SubscriptionUsageWindow] without a duration (ADR 32563 D2).

  • resetsAtMs
  • usedPercent
Source

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

{
"description": "The rolling weekly block: same semantics as\n[`SubscriptionUsageWindow`] without a duration (ADR 32563 D2).",
"properties": {
"resetsAtMs": {
"description": "When the weekly window resets, epoch milliseconds.",
"type": "integer"
},
"usedPercent": {
"description": "Percent of the weekly budget used (integer ≥ 0, may exceed 100).",
"type": "integer"
}
},
"required": [
"resetsAtMs",
"usedPercent"
],
"type": "object"
}