{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/octoprint/json-schema/octoprint-post-api-files-local-whistle-v2-gcode-request-schema.json",
  "title": "PostApiFilesLocalWhistleV2GcodeRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/octoprint-openapi-generated.yml#/components/schemas/PostApiFilesLocalWhistleV2GcodeRequest",
  "type": "object",
  "properties": {
    "command": {
      "type": "string",
      "description": "The command to issue for the file, currently select, unselect, slice, copy, and move are supported."
    },
    "print": {
      "type": "boolean",
      "description": "select and slice command: Optional, whether to start printing the file directly after selection or slicing, defaults to false."
    },
    "slicer": {
      "type": "string",
      "description": "slice command: The slicer to use, defaults to the default slicer."
    },
    "gcode": {
      "type": "string",
      "description": "slice command: The name of the gcode file to create, defaults to the targeted stl's file name with its extension changed to .gco."
    },
    "profile": {
      "type": "string",
      "description": "slice command: The slicing profile to use, defaults to the selected slicer's default profile."
    },
    "printerProfile": {
      "type": "string",
      "description": "slice command: The printer profile to use, defaults to the default printer profile."
    },
    "select": {
      "type": "boolean",
      "description": "slice command: Optional, whether to select the file for printing directly after slicing, defaults to false."
    },
    "destination": {
      "type": "string",
      "description": "copy and move command: The path of the parent folder to which to copy or move the file or folder."
    }
  },
  "required": [
    "command"
  ]
}