{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mainframe-modernization/refs/heads/main/json-structure/amazon-mainframe-modernization-batch-job-definition-structure.json",
  "name": "BatchJobDefinition",
  "description": "Defines the details of a batch job.",
  "type": "object",
  "properties": {
    "fileBatchJobDefinition": {
      "allOf": [
        {
          "$ref": "#/components/schemas/FileBatchJobDefinition"
        },
        {
          "description": "Specifies a file containing a batch job definition."
        }
      ]
    },
    "scriptBatchJobDefinition": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ScriptBatchJobDefinition"
        },
        {
          "description": "A script containing a batch job definition."
        }
      ]
    }
  }
}