{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cronpulser-com/json-schema/cronpulser-com-post-jobs-request-schema.json",
  "title": "PostJobsRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/cronpulser-com-openapi-generated.yml#/components/schemas/PostJobsRequest",
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project UUID."
    },
    "name": {
      "type": "string",
      "description": "Job name."
    },
    "cron_schedule": {
      "type": "string",
      "description": "Cron expression (five fields)."
    },
    "url": {
      "type": "string",
      "description": "Target URL (or hostname for TLS jobs)."
    },
    "method": {
      "type": "string",
      "description": "HTTP method, default POST."
    },
    "headers": {
      "type": "object",
      "description": "Up to 20 header name/value pairs; values are write‑only."
    },
    "retry_enabled": {
      "type": "boolean",
      "description": "Enable retry (default depends on method)."
    },
    "response_log_mode": {
      "type": "string",
      "description": "on_failure, always, or never."
    }
  },
  "required": [
    "project_id",
    "name",
    "cron_schedule",
    "url"
  ]
}