{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipavia-com/json-schema/pipavia-com-credits-topup-request-schema.json",
  "title": "CreditsTopupRequest",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/router-pipavia-openapi.json#/components/schemas/CreditsTopupRequest",
  "type": "object",
  "required": [
    "enabled"
  ],
  "properties": {
    "enabled": {
      "type": "boolean"
    },
    "threshold": {
      "type": "integer",
      "minimum": 0
    },
    "bundle": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "starter",
        "builder",
        "fleet",
        null
      ]
    },
    "daily_cap": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    }
  }
}