{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-job-schedule-create-parameters-schema.json",
  "title": "JobScheduleCreateParameters",
  "description": "The parameters supplied to the create job schedule operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-jobschedule-api-openapi.yml#/components/schemas/JobScheduleCreateParameters",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/JobScheduleCreateProperties",
      "description": "Gets or sets the list of job schedule properties.",
      "x-ms-client-flatten": true
    }
  },
  "required": [
    "properties"
  ],
  "$defs": {
    "JobScheduleCreateProperties": {
      "type": "object",
      "description": "The parameters supplied to the create job schedule operation.",
      "properties": {
        "schedule": {
          "$ref": "#/$defs/ScheduleAssociationProperty",
          "description": "Gets or sets the schedule."
        },
        "runbook": {
          "$ref": "#/$defs/RunbookAssociationProperty",
          "description": "Gets or sets the runbook."
        },
        "runOn": {
          "type": "string",
          "description": "Gets or sets the hybrid worker group that the scheduled job should run on."
        },
        "parameters": {
          "type": "object",
          "description": "Gets or sets a list of job properties.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "required": [
        "schedule",
        "runbook"
      ]
    },
    "RunbookAssociationProperty": {
      "type": "object",
      "description": "The runbook property associated with the entity.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Gets or sets the name of the runbook."
        }
      }
    },
    "ScheduleAssociationProperty": {
      "type": "object",
      "description": "The schedule property associated with the entity.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Gets or sets the name of the Schedule."
        }
      }
    }
  }
}