{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/slideforge-dev/json-schema/slideforge-dev-auto-topup-settings-schema.json",
  "title": "AutoTopupSettings",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/slideforge-dev-billing-api-openapi.yml#/components/schemas/AutoTopupSettings",
  "properties": {
    "enabled": {
      "type": "boolean",
      "title": "Enabled",
      "default": true
    },
    "threshold": {
      "type": "number",
      "title": "Threshold"
    },
    "amount": {
      "type": "number",
      "title": "Amount"
    },
    "payment_method_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment Method Id"
    }
  },
  "type": "object",
  "required": [
    "threshold",
    "amount"
  ]
}