{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "BeforeFileClose Request",
  "type": "object",
  "properties": {
    "projectPath": {
      "type": "string",
      "description": "Full path to the project file being closed."
    },
    "isModified": {
      "type": "boolean",
      "description": "Whether the project has unsaved changes. Use this instead of calling Host.GetCurrentProject."
    },
    "parentWindowHandle": {
      "type": "integer",
      "description": "HWND for modal plugin dialogs."
    }
  },
  "required": [
    "projectPath",
    "isModified",
    "parentWindowHandle"
  ]
}