{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkedin/json-schema/linkedin-campaign-group-schema.json",
  "title": "CampaignGroup",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkedin-campaign-group-management-api-openapi.yml#/components/schemas/CampaignGroup",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier"
    },
    "name": {
      "type": "string",
      "description": "Display name"
    },
    "account": {
      "type": "string",
      "description": "Parent account URN"
    },
    "status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "ARCHIVED",
        "CANCELLED",
        "DRAFT",
        "PAUSED",
        "PENDING_DELETION",
        "REMOVED"
      ],
      "description": "Campaign group status"
    },
    "totalBudget": {
      "$ref": "#/$defs/Budget"
    },
    "runSchedule": {
      "$ref": "#/$defs/RunSchedule"
    }
  },
  "$defs": {
    "Budget": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "string",
          "description": "Budget amount"
        },
        "currencyCode": {
          "type": "string",
          "description": "Currency code"
        }
      }
    },
    "RunSchedule": {
      "type": "object",
      "properties": {
        "start": {
          "type": "integer",
          "format": "int64",
          "description": "Start timestamp in milliseconds"
        },
        "end": {
          "type": "integer",
          "format": "int64",
          "description": "End timestamp in milliseconds"
        }
      }
    }
  }
}