{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reachmcp-com/json-schema/reachmcp-com-job-create-in-schema.json",
  "title": "JobCreateIn",
  "description": "A batch of LinkedIn actions Reach executes over time (see app/services/jobs.py).",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reachmcp-com-openapi.json#/components/schemas/JobCreateIn",
  "properties": {
    "account_id": {
      "type": "integer",
      "title": "Account Id"
    },
    "action": {
      "type": "string",
      "title": "Action",
      "description": "send_message | connect | visit_profile | comment_post"
    },
    "items": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "maxItems": 500,
      "minItems": 1,
      "title": "Items",
      "description": "One object per action; fields depend on the action (GET /api/jobs/actions)."
    },
    "label": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Label",
      "description": "Free text shown in the dashboard and in webhook events."
    },
    "window_start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Window Start",
      "description": "HH:MM in the job's timezone; default 09:00."
    },
    "window_end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Window End",
      "description": "HH:MM in the job's timezone; default 18:00."
    },
    "days": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Days",
      "description": "Weekdays the job may run, e.g. [\"mon\", \"tue\"]; default Monday to Friday."
    },
    "timezone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Timezone",
      "description": "IANA zone; default derived from the account's proxy country."
    }
  },
  "type": "object",
  "required": [
    "account_id",
    "action",
    "items"
  ]
}