{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lambdatest/json-schema/lambdatest-upload-prerun-payload-schema.json",
  "title": "UploadPrerunPayload",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lambdatest-prerun-api-openapi.yml#/components/schemas/UploadPrerunPayload",
  "type": "object",
  "required": [
    "pre_run_file",
    "name",
    "post_run_file"
  ],
  "properties": {
    "pre_run_file": {
      "type": "string",
      "format": "binary",
      "description": "If your script requires some reference to other file that needs to be present in our machines then you can upload multiple pre_run_file and download those files in your script using download API"
    },
    "name": {
      "type": "string",
      "description": "Name of your pre run executable"
    },
    "post_run_file": {
      "type": "string",
      "format": "binary",
      "description": "script file that will revert the actions performed by pre run file. If there is no post action that needs to performed then you can upload an empty file"
    }
  }
}