{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trajectory/json-schema/trajectory-billing-preferences-patch-schema.json",
  "title": "BillingPreferencesPatch",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trajectory-billing-api-openapi.yml#/components/schemas/BillingPreferencesPatch",
  "properties": {
    "auto_reload": {
      "type": "boolean",
      "title": "Auto Reload",
      "default": false
    },
    "reload_mode": {
      "type": "string",
      "enum": [
        "target",
        "fixed"
      ],
      "title": "Reload Mode",
      "default": "target"
    },
    "threshold_cents": {
      "type": "integer",
      "maximum": 100000000.0,
      "minimum": 500.0,
      "title": "Threshold Cents",
      "default": 1000
    },
    "reload_cents": {
      "type": "integer",
      "maximum": 100000000.0,
      "minimum": 2500.0,
      "title": "Reload Cents",
      "default": 2500
    },
    "monthly_limit_cents": {
      "type": "integer",
      "maximum": 100000000.0,
      "minimum": 2500.0,
      "title": "Monthly Limit Cents",
      "default": 10000
    },
    "spend_alert_cents": {
      "type": "integer",
      "maximum": 100000000.0,
      "minimum": 1.0,
      "title": "Spend Alert Cents",
      "default": 10000
    }
  },
  "type": "object"
}