{
  "$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-response-schema.json",
  "title": "UpdateLinkedinAccountSmartLimitResponse",
  "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/UpdateLinkedinAccountSmartLimitResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "enum": [
        true
      ]
    },
    "operation": {
      "type": "string",
      "enum": [
        "update"
      ]
    },
    "item": {
      "type": "object",
      "properties": {
        "sid": {
          "type": "string"
        },
        "team_sid": {
          "type": "string"
        },
        "linkedin_account_sid": {
          "type": "string"
        },
        "limit_type": {
          "type": "string",
          "enum": [
            "send_connection_requests",
            "networking_general",
            "send_messages",
            "send_inmails",
            "messaging_general",
            "comment_posts",
            "react_posts",
            "endorse_skills",
            "visit_profiles",
            "edit_profile",
            "self_account_sync",
            "scraping",
            "enrichment",
            "posting",
            "custom_request",
            "data_requests"
          ]
        },
        "daily_limit": {
          "type": "number"
        },
        "smart_limit": {
          "type": [
            "number",
            "null"
          ]
        },
        "target_limit": {
          "type": [
            "number",
            "null"
          ]
        },
        "delay_in_seconds": {
          "type": "number"
        },
        "done_today_count": {
          "type": "number"
        },
        "done_7d_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "last_reset_at": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "held",
            "linkedin_blocked"
          ]
        },
        "hold_till": {
          "type": [
            "string",
            "null"
          ]
        },
        "linkedin_quota_hit_till": {
          "type": [
            "string",
            "null"
          ]
        },
        "created_at": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        }
      },
      "required": [
        "sid",
        "team_sid",
        "linkedin_account_sid",
        "limit_type",
        "daily_limit",
        "smart_limit",
        "target_limit",
        "delay_in_seconds",
        "done_today_count",
        "last_reset_at",
        "status",
        "hold_till",
        "linkedin_quota_hit_till",
        "created_at",
        "updated_at"
      ]
    },
    "updated_fields": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "previous_values": {
      "type": "object",
      "additionalProperties": {}
    },
    "meta": {
      "type": "object",
      "properties": {
        "trace_id": {
          "type": "string",
          "description": "UUID v7; same 128-bit value as the X-Trace-Id header."
        },
        "span_id": {
          "type": "string",
          "pattern": "^[0-9a-f]{16}$",
          "description": "16 hex chars, root span of this request."
        },
        "timestamp": {
          "type": "string",
          "description": "ISO 8601 UTC (Y-m-dTH:i:sZ), response time."
        },
        "duration_ms": {
          "type": "integer",
          "minimum": 0,
          "description": "Server-side wall clock."
        },
        "team_sid": {
          "type": [
            "string",
            "null"
          ],
          "description": "The team this call ran in (the token team, or the team_sid override). Null when unauthenticated; absent from pre-2026-08-20 backends."
        },
        "actor_type": {
          "type": [
            "string",
            "null"
          ],
          "description": "user | agent | api_key | system. Null when unauthenticated; absent from pre-2026-08-20 backends."
        }
      },
      "required": [
        "trace_id",
        "span_id",
        "timestamp",
        "duration_ms"
      ]
    }
  },
  "required": [
    "success",
    "operation",
    "item",
    "updated_fields",
    "previous_values",
    "meta"
  ]
}