{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateSimulationDTO",
  "title": "UpdateSimulationDTO",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "This is an optional friendly name for the simulation.",
      "maxLength": 80
    },
    "scenarioId": {
      "type": "string",
      "description": "This is the ID of the scenario to use for this simulation.",
      "format": "uuid"
    },
    "personalityId": {
      "type": "string",
      "description": "This is the ID of the personality to use for this simulation.",
      "format": "uuid"
    },
    "path": {
      "type": "string",
      "nullable": true,
      "description": "Optional folder path for organizing simulations.\nSupports up to 3 levels (e.g., \"dept/feature/variant\").\nSet to null to remove from folder.",
      "maxLength": 255,
      "pattern": "/^[a-zA-Z0-9][a-zA-Z0-9._-]*(?:\\/[a-zA-Z0-9][a-zA-Z0-9._-]*){0,2}$/"
    }
  }
}