{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/balladic-com/json-schema/balladic-com-org-billing-status-response-schema.json",
  "title": "OrgBillingStatusResponse",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/balladic-com-openapi.json#/components/schemas/OrgBillingStatusResponse",
  "properties": {
    "mode": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mode"
    },
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "has_subscription": {
      "type": "boolean",
      "title": "Has Subscription"
    },
    "interval": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Interval"
    },
    "current_period_end": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period End"
    },
    "cancel_at_period_end": {
      "type": "boolean",
      "title": "Cancel At Period End"
    },
    "currency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Currency"
    },
    "current_seats": {
      "type": "integer",
      "title": "Current Seats"
    },
    "current_ballads": {
      "type": "integer",
      "title": "Current Ballads"
    },
    "free_seats": {
      "type": "integer",
      "title": "Free Seats"
    },
    "free_ballads": {
      "type": "integer",
      "title": "Free Ballads"
    },
    "purchased_seats": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Purchased Seats"
    },
    "purchased_ballads": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Purchased Ballads"
    },
    "grant_active": {
      "type": "boolean",
      "title": "Grant Active"
    },
    "grant_seats": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grant Seats"
    },
    "grant_ballads": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grant Ballads"
    },
    "grant_title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grant Title"
    }
  },
  "type": "object",
  "required": [
    "mode",
    "status",
    "has_subscription",
    "interval",
    "current_period_end",
    "cancel_at_period_end",
    "currency",
    "current_seats",
    "current_ballads",
    "free_seats",
    "free_ballads",
    "purchased_seats",
    "purchased_ballads",
    "grant_active",
    "grant_seats",
    "grant_ballads",
    "grant_title"
  ]
}