{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "BeforeFileOpen Request",
  "type": "object",
  "properties": {
    "projectPath": {
      "type": "string",
      "description": "Full path to the project file that was just loaded."
    },
    "parentWindowHandle": {
      "type": "integer",
      "description": "HWND for modal plugin dialogs."
    },
    "variables": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Current project variables (HydroSym AttributeList / HydroMan UserVarList)."
    }
  },
  "required": [
    "projectPath",
    "parentWindowHandle",
    "variables"
  ]
}