AeroDataBox · JSON Structure

Aerodatabox Subscription Balance Contract Structure

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.

Type: object Properties: 3 Required: 3
AviationFlightsAerospaceFlight DataAirport Data

SubscriptionBalanceContract is a JSON Structure definition published by AeroDataBox, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

creditsRemaining lastRefilledUtc lastDeductedUtc

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aerodatabox/refs/heads/main/json-structure/aerodatabox-subscription-balance-contract-structure.json",
  "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.",
  "type": "object",
  "properties": {
    "creditsRemaining": {
      "type": "int64",
      "description": "Alert credits remaining for the account."
    },
    "lastRefilledUtc": {
      "type": "datetime",
      "description": "The datetime when the balance was last re-filled, in UTC."
    },
    "lastDeductedUtc": {
      "type": "datetime",
      "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."
    }
  },
  "required": [
    "creditsRemaining",
    "lastDeductedUtc",
    "lastRefilledUtc"
  ],
  "additionalProperties": false,
  "name": "SubscriptionBalanceContract"
}