{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-schedule-definition-post-request-schema.json",
  "title": "SchedulePostRequest ...",
  "description": "Either ViewSchemaID or Type or both can be provided to create a Schedule.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-xdr-schedules-api-openapi.yml#/components/schemas/ScheduleDefinitionPostRequest",
  "required": [
    "name"
  ],
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of Schedule",
      "x-go-name": "Name"
    },
    "properties": {
      "$ref": "#/$defs/ScheduleProperties"
    },
    "schema_id": {
      "type": "string",
      "description": "ViewSchemaID of Schedule",
      "x-go-name": "ViewSchemaID"
    },
    "type": {
      "type": "string",
      "description": "Type",
      "x-go-name": "Type"
    },
    "unique_name": {
      "type": "string",
      "description": "Uniquename",
      "x-go-name": "UniqueName"
    }
  },
  "x-go-name": "SchedulePostRequest",
  "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models",
  "$defs": {
    "ScheduleProperties": {
      "type": "object",
      "properties": {
        "calendar": {
          "type": "string",
          "x-go-name": "CalendarID"
        },
        "description": {
          "type": "string",
          "x-go-name": "Description"
        },
        "display_name": {
          "type": "string",
          "x-go-name": "Name"
        },
        "interval_hours": {
          "type": "integer",
          "format": "uint32",
          "x-go-name": "IntervalHours"
        },
        "interval_minutes": {
          "type": "integer",
          "format": "uint32",
          "x-go-name": "IntervalMinutes"
        },
        "number_of_times": {
          "type": "integer",
          "format": "uint32",
          "x-go-name": "NumberOfTimes"
        },
        "starttime": {
          "type": "string",
          "x-go-name": "Starttime"
        },
        "timezone": {
          "type": "string",
          "x-go-name": "Timezone"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models"
    }
  }
}