{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sap-commerce-cloud/json-schema/sap-commerce-cloud-cron-job-list-schema.json",
  "title": "CronJobList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sap-commerce-cloud-cron-jobs-api-openapi.yml#/components/schemas/CronJobList",
  "type": "object",
  "properties": {
    "cronJobs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CronJob"
      }
    }
  },
  "$defs": {
    "CronJob": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "CronJob code"
        },
        "jobCode": {
          "type": "string",
          "description": "Associated job code"
        },
        "status": {
          "type": "string",
          "enum": [
            "RUNNING",
            "FINISHED",
            "ABORTED",
            "PAUSED",
            "UNKNOWN"
          ],
          "description": "Current status"
        },
        "result": {
          "type": "string",
          "enum": [
            "SUCCESS",
            "ERROR",
            "FAILURE"
          ],
          "description": "Last execution result"
        },
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "Last execution start time"
        },
        "endTime": {
          "type": "string",
          "format": "date-time",
          "description": "Last execution end time"
        },
        "active": {
          "type": "boolean",
          "description": "Whether the CronJob is active"
        },
        "triggerExpression": {
          "type": "string",
          "description": "Cron trigger expression"
        }
      }
    }
  }
}