{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-create-scan-schedule-request-schema.json",
  "title": "CreateScanScheduleRequest",
  "description": "Request to create a scan schedule",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-scan-schedules-api-openapi.yml#/components/schemas/CreateScanScheduleRequest",
  "type": "object",
  "required": [
    "name",
    "scanSettingsId",
    "scheduleType",
    "startDateTime"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Schedule name"
    },
    "scanSettingsId": {
      "type": "string",
      "format": "uuid",
      "description": "Scan settings to use"
    },
    "scheduleType": {
      "type": "string",
      "enum": [
        "Once",
        "Daily",
        "Weekly",
        "Monthly"
      ]
    },
    "startDateTime": {
      "type": "string",
      "format": "date-time"
    },
    "enabled": {
      "type": "boolean",
      "default": true
    },
    "timeZone": {
      "type": "string"
    }
  }
}