AeroDataBox · Schema

SubscriptionBalanceContract

Represents the balance for all alert subscriptions associated with the user acount, including remaining credits and timestamps for the most recent refill and deduction operations.

AviationFlightsAerospaceFlight DataAirport Data

Properties

Name Type Description
creditsRemaining integer Alert credits remaining for the account.
lastRefilledUtc string The datetime when the balance was last re-filled, in UTC.
lastDeductedUtc string The datetime when the balance was last deducated, in UTC. Deduction typically occurs when an alert notification was dispatched for one of the alert subscriptions associated with the user account.
View JSON Schema on GitHub

JSON Schema

aerodatabox-subscriptionbalancecontract-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SubscriptionBalanceContract",
  "title": "SubscriptionBalanceContract",
  "required": [
    "creditsRemaining",
    "lastDeductedUtc",
    "lastRefilledUtc"
  ],
  "type": "object",
  "properties": {
    "creditsRemaining": {
      "type": "integer",
      "description": "Alert credits remaining for the account.",
      "format": "int64"
    },
    "lastRefilledUtc": {
      "type": "string",
      "description": "The datetime when the balance was last re-filled, in UTC.",
      "format": "date-time"
    },
    "lastDeductedUtc": {
      "type": "string",
      "description": "The datetime when the balance was last deducated, in UTC.\r\nDeduction typically occurs when an alert notification was dispatched\r\nfor one of the alert subscriptions associated with the user account.",
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "description": "Represents the balance for all alert subscriptions associated with the user acount, including remaining credits and timestamps\r\nfor the most recent refill and deduction operations."
}