apps.json
An app is a template that a backend offers: a set of tabs of widgets, with their layout and their starting values, which a user can open as a dashboard. A backend lists its apps in a file named apps.json, at the same address as its widgets.json. The file is an array, and each element describes one app. The widgets that an app places are the ones that widgets.json defines. App behavior explains what FINOS Workspace does with an app.
Schema
The web app's Zod schema templateSpecificationSchema in frontend/src/lib/types/app.ts defines the file, and the description of every field is part of that schema. The page below is generated from the JSON Schema (draft-07) that the web app's reference test writes to frontend/reference-data/apps-schema.json, as Regenerate the reference data describes. A test fails when a field has no description.
App
One element of the file.
Properties
templateIdstringThe id of the app, which roles use to grant access to it; without it the web app falls back to the generated id
idstringpattern ^custom-.+Another way to give the app's id when templateId is missing; it starts with custom-
namestringrequiredThe name on the app's card, which is also the name of the dashboards that users create from it
descriptionstringThe text under the name on the app's card
selected_agentstringThe id or the name of an agent that the user has connected: when a user opens the app, the Copilot selects this agent and its panel opens
imgstringThe address of the picture on the app's card, which may be relative to the backend; the card shows it in both themes unless img_dark or img_light overrides it
img_darkstringThe address of the picture that the card shows in the dark theme instead of img
img_lightstringThe address of the picture that the card shows in the light theme instead of img
authenticationstringAccepted for compatibility; the web app does not read it
The tabs of the app by tab id. A dashboard that a user creates from the app has one tab for each entry, and it shows a Navigation Bar widget when the app has more than one
The groups that link a parameter across the widgets of the app
5 nested properties
namestringrequiredThe name that the groups lists of the layout items use to put a widget in the group
paramNamestringThe name of the parameter that the group links, for a group of the type param or endpointParam
type"param" | "endpointParam"requiredThe kind of the group: param or endpointParam
widgetIdsstring[]The widgets that belong to the group, by their key in widgets.json, as an alternative to naming the group in each layout item
defaultValueany | nullThe value that the group starts with; for a date, the text $currentDate, optionally with a modifier, stands for today
promptsstring[]The questions that the Copilot suggests when somebody uses a dashboard that was created from the app
mcpServersobject[]The MCP servers that the app uses. When a user connects the backend, Workspace adds each server to the user's MCP servers
4 nested properties
namestringrequiredThe name of the MCP server, which a widget's mcp_tool names in mcp_server; apps of one backend may repeat a name only for the same url
descriptionstringWhat the server offers
urlstring (uri)requiredThe address of the server's MCP endpoint
authType"oauth" | "token"How the server signs a user in: oauth, or token for a server that needs the Authorization header of the backend's connection
allowCustomizationbooleanWhether users can change the widgets of a dashboard created from the app; when false, the dashboard is locked: users cannot add, remove, duplicate or move its widgets, but can still change parameters and resize widgets
Group
A set of widgets that share the value of one parameter
Properties
namestringrequiredThe name that the groups lists of the layout items use to put a widget in the group
paramNamestringThe name of the parameter that the group links, for a group of the type param or endpointParam
type"param" | "endpointParam"requiredThe kind of the group: param or endpointParam
widgetIdsstring[]The widgets that belong to the group, by their key in widgets.json, as an alternative to naming the group in each layout item
defaultValueany | nullThe value that the group starts with; for a date, the text $currentDate, optionally with a modifier, stands for today
Layout
One widget of a tab: where it sits, how big it is and what it starts with
Properties
istringrequiredThe widget that this item places: its key in the backend's widgets.json. The id navigation_bar places no widget and makes the dashboard show its tabs in a Navigation Bar widget
xnumberrequiredThe column of the widget's left edge, counted from 0 on a grid of 40 columns
ynumberrequiredThe row of the widget's top edge, counted from 0
wnumberrequiredThe widget's width in columns
hnumberrequiredThe widget's height in rows; a height of 1 shows the widget minimized
minWnumberThe smallest width in columns that a user can resize the widget to
minHnumberThe smallest height in rows that a user can resize the widget to
maxWnumberThe largest width in columns that a user can resize the widget to
maxHnumberThe largest height in rows that a user can resize the widget to
movedbooleanA flag of the grid library that places the widgets: the item has moved
staticbooleanA flag of the grid library: a static item cannot be moved or resized
isDraggablebooleanA flag of the grid library: false stops a user from dragging the widget
stateWidgetStateWhat a widget starts with: the values of its parameters and its content
groupsstring[]The names of the groups, from the app's groups, that the widget belongs to
Tabs
The tabs of the app by tab id. A dashboard that a user creates from the app has one tab for each entry, and it shows a Navigation Bar widget when the app has more than one
Widget state
What a widget starts with: the values of its parameters and its content
Properties
paramOrderstring[]The names of the widget's parameters in the order in which the widget's header shows them
paramsmap<string, any>The values of the widget's parameters by parameter name; a parameter that is missing keeps the value from widgets.json
storagemap<string, any>The content that the widget keeps: text, a page or a plugin's configuration
3 nested properties
textstringThe text of a markdown widget
htmlstringThe page of an HTML widget
pluginobjectno other propertiesThe state of a plugin widget
1 nested property
configmap<string, any>The configuration of a plugin widget, which has to satisfy the settings that the plugin declares
Example
This file offers one app. It places two widgets of the backend side by side, starts the first one with the year 2024, and suggests one question to the Agent.
[
{
"name": "Sales overview",
"description": "Revenue by region next to the notes of the sales team.",
"templateId": "sales-overview",
"prompts": ["Which region has the highest revenue?"],
"tabs": {
"overview": {
"id": "overview",
"name": "Overview",
"layout": [
{ "i": "revenue_by_region", "x": 0, "y": 0, "w": 20, "h": 12, "state": { "params": { "year": 2024 } } },
{ "i": "sales_notes", "x": 20, "y": 0, "w": 20, "h": 12 }
]
}
}
}
]