{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adcritter-com/json-schema/adcritter-com-plan-create-request-schema.json",
  "title": "PlanCreateRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adcritter-com-openapi.json#/components/schemas/PlanCreateRequest",
  "type": "object",
  "properties": {
    "blueprintId": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "monthlyBudget": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "channels": {
      "$ref": "#/$defs/PlanChannelsRequest"
    },
    "personas": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "durationInMonths": {
      "type": "integer",
      "format": "int32"
    },
    "startDate": {
      "type": "string",
      "format": "date-time"
    },
    "insights": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "PlanChannelsRequest": {
      "type": "object",
      "properties": {
        "include": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "exclude": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    }
  }
}