{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/0bull-net/json-schema/0bull-net-post-api-v1-billing-response-schema.json",
  "title": "PostApiV1BillingResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/0bull-net-openapi-generated.yml#/components/schemas/PostApiV1BillingResponse",
  "type": "object",
  "properties": {
    "subscribed": {
      "type": "boolean"
    },
    "phones": {
      "type": "integer"
    },
    "price_per_phone": {
      "type": "integer"
    },
    "monthly": {
      "type": "integer"
    },
    "on_grace_period": {
      "type": "boolean"
    },
    "pending_orders": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "country": {
            "type": "string"
          },
          "phones": {
            "type": "integer"
          },
          "availability": {
            "type": "string"
          },
          "placed_at": {
            "type": "string"
          }
        }
      }
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "cancelling": {
            "type": "boolean"
          },
          "renews_at": {
            "type": "string"
          }
        }
      }
    },
    "hint": {
      "type": "string"
    }
  }
}