{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gtm-api/json-schema/gtm-api-update-linkedin-account-smart-limit-request-schema.json",
  "title": "UpdateLinkedinAccountSmartLimitRequest",
  "description": "Request body of `update_linkedin_account_smart_limit`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gtm-api-linkedin-account-smart-limits-api-openapi.yml#/components/schemas/UpdateLinkedinAccountSmartLimitRequest",
  "type": "object",
  "properties": {
    "daily_limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000,
      "description": "Active cap (1..1000)."
    },
    "target_limit": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 1000,
      "description": "Warm-up ceiling; null clears it."
    },
    "learning_enabled": {
      "type": "boolean",
      "description": "Whether the adaptive ceiling keeps moving. false pins learned_ceiling where it stands; the quota-hit block clock still arms either way, so this is a tuning knob, not a safety switch."
    },
    "delay_in_seconds": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600,
      "description": "The flat delay in seconds between any two calls of the bucket (1..3600), varied by up to 20% per call; nothing fires back-to-back. An undo verb (unreact, delete a comment or post, unendorse, unfollow, withdraw) waits 2 s instead."
    },
    "reset_hold": {
      "type": "boolean",
      "description": "Clear the daily-saturation hold in the same call (the atomic \"raise the limit AND resume now\"). Only resumes if the new daily_limit > done_today_count; otherwise the row re-holds. Never touches a LinkedIn-side lock."
    }
  }
}