{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Host.ExportBom Request",
  "type": "object",
  "properties": {
    "projectPath": {
      "type": "string",
      "description": "Project path. If omitted, uses the currently open project."
    },
    "format": {
      "type": "string",
      "description": "Must be `\"pdf\"`. Other values raise `INVALID_ARGUMENT`."
    },
    "outputPath": {
      "type": "string",
      "description": "Full destination file path. If the path has no extension it is treated as a directory and the project base name with -BOM.pdf is used. If omitted, writes next to the project file. Missing folders are created."
    }
  },
  "required": [
    "format"
  ]
}