{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/intely/main/json-schema/intely-data-processor-job-schema.json",
  "title": "DataProcessorJob",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intely-api-openapi.yml#/components/schemas/DataProcessorJob",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "intelyStorageDirectoryId": {
      "type": "string"
    },
    "intelyStorageMainFileId": {
      "type": "string"
    },
    "mainClassName": {
      "type": "string"
    },
    "arguments": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "commandLineName": {
          "type": "string"
        },
        "form": {
          "type": "string"
        }
      }
    },
    "inputFiles": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "required": {
          "type": "boolean"
        },
        "referenceFileName": {
          "type": "string"
        }
      }
    },
    "outputFiles": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "required": {
          "type": "boolean"
        },
        "matchExpression": {
          "type": "string"
        }
      }
    },
    "organizationId": {
      "type": "string"
    },
    "sparkOptions": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        }
      }
    },
    "version": {
      "type": "object"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "createdBy": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "deletedAt": {
      "type": "string",
      "format": "date-time"
    },
    "deletedBy": {
      "type": "string"
    }
  },
  "required": [
    "_id",
    "name",
    "type",
    "intelyStorageDirectoryId",
    "intelyStorageMainFileId",
    "organizationId",
    "createdAt",
    "createdBy",
    "updatedAt",
    "updatedBy"
  ]
}