{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/linkedin/refs/heads/main/json-schema/linkedin-marketing-campaigns-ad-account-create-request-schema.json",
  "title": "AdAccountCreateRequest",
  "description": "AdAccountCreateRequest from LinkedIn API",
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "example": "USD"
    },
    "name": {
      "type": "string",
      "example": "XYZ Company"
    },
    "notifiedOnCampaignOptimization": {
      "type": "boolean",
      "example": true
    },
    "notifiedOnCreativeApproval": {
      "type": "boolean",
      "example": true
    },
    "notifiedOnCreativeRejection": {
      "type": "boolean",
      "example": true
    },
    "notifiedOnEndOfCampaign": {
      "type": "boolean",
      "example": true
    },
    "reference": {
      "type": "string",
      "example": "urn:li:organization:12345678"
    },
    "type": {
      "type": "string",
      "enum": [
        "BUSINESS",
        "ENTERPRISE"
      ],
      "example": "BUSINESS"
    },
    "test": {
      "type": "boolean",
      "example": true
    }
  },
  "required": [
    "currency",
    "name",
    "reference",
    "type"
  ]
}