widgets.json
A backend lists its widgets in a file named widgets.json. The file is an object. Each key is a widget's id, at most 128 characters long, and each value is a widget definition. The file may also have the keys $schema, the address of a schema that editors use to check the file, and $id, an identifier of the file. Both are strings of at most 2048 characters. Widget requests describes the requests that the web app makes from a definition.
The fields below come from the JSON Schema that the backend's exporter writes to backend-api/backend/reference-data/widgets_schema.json for the built-in types markdown, html, newsfeed, pdf and iframe, and for one plugin type, which is shown as <type> and stands for the type of every plugin that an organization has enabled. A note such as for html means that only widgets of that type have the field. The JSON Schema file shows the schema as validators read it.
Widget definition
The value of each key of the file.
Properties
categorystringmaxLength 100The group the catalog lists the widget under
dataobjectno other propertiesHow Workspace reads and shows the data of this type
5 nested properties
dataKeystringmaxLength 256The path of the widget's data in a JSON response, such as
result.itemsrawDataKeystringmaxLength 256for html, <type>The path of the rows in the
raw=trueresponse, such asresults.records; without it,results, or the whole responserawTypestringpattern ^[a-z][a-z0-9_-]{1,31}$for html, <type>A plugin's type that shows the rows when the user switches the widget to them; without it, or when the user may not use that type, an html widget shows them in a table and a plugin's widget with its own plugin
<type>objectno other propertiesfor <type>The object that a backend writes for a widget of this type, which tells the plugin how to read and show the data of the response; its schema is the definition of the plugin
streamEndpointstringminLength 1maxLength 2048pattern ^[^?#]+$for <type>The WebSocket the widget's plugin is fed from, as a path or an absolute URL with no
?and no#:httpandhttpsbecomewsandwss. The widget's params are query values. The browser opens the socket through the FINOS Workspace API, which adds the backend connection's credentials, and passes the JSON messages it receives to the plugin
dataUpdateDisplaystringminLength 1maxLength 100When the data changes, as a 5-field cron expression shown to the user
descriptionstringrequiredmaxLength 4000What the widget shows; the catalog shows it, and the AI Agent finds widgets by it
disableRetrievalForCopilotbooleanKeeps the widget's data from the AI Agent; such a widget has no
mcp_toolendpointstringrequiredminLength 1maxLength 2048pattern ^[^?#]+$a path or an absolute URL with no
?and no#(a static query value is a param with show: false)exportablebooleanfalse removes Export from the widget's menu
gridDataobjectno other propertiesThe default size on a dashboard, in grid units:
wof 40 columns, andhrows2 nested properties
hintegerrequiredminimum 1maximum 100wintegerrequiredminimum 1maximum 40
mcp_toolobjectno other propertiesThe MCP tool of this backend the AI Agent uses to query what the widget shows: a server named in this backend's apps.json mcpServers, and the tool
3 nested properties
argsmap<string, string | number | boolean>maxProperties 32property names: maxLength 128The arguments that the AI Agent passes to the tool, by name
mcp_serverstringrequiredminLength 1maxLength 128The name of a server in this backend's apps.json mcpServers
tool_idstringrequiredminLength 1maxLength 128The name of the tool on that server
method"GET" | "POST"How FINOS Workspace calls the endpoint: GET (the default) or POST, which a param
in: bodyneeds- markdown, html, newsfeed, pdf, <type>"GET" | "POST"
- iframe"GET"How Workspace calls the endpoint: GET
namestringrequiredminLength 1maxLength 200The title the widget shows
The widget's parameters; an item that is a list of params is one row of the parameter bar
refetchIntervalnumber | false | string | nullFetch again every so many milliseconds, or on a 5-field cron schedule; false never
runButtonbooleanThe widget fetches only when the user clicks Run
showTitlebooleanfalse leaves the title off the widget
sourcestring | string[]Where the data comes from: a label, or a list of labels
staleTimenumber | falseMilliseconds a response is reused before it is fetched again; false fetches every time
subCategorystringmaxLength 100The subgroup within the category
typeenumrequiredOne of"markdown""html""newsfeed""pdf""iframe""<type>"rawbooleanfor html, <type>The endpoint also answers
raw=truewith the rows the widget shows, as JSON: the AI Agent and MCP get those rows, and the widget's rows button shows themrequires_authbooleanfor iframeThe page needs the backend connection's credentials. The browser then opens it through the FINOS Workspace API, which adds them, in a sandbox without storage. For trusted pages only: the API checks this declaration itself
storageobjectno other propertiesfor iframemcpUrl: an MCP server of the page's own, connected for the widget without the backend's credentials1 nested property
mcpUrlstringmaxLength 2048pattern ^https?:\/\/\S+$for iframean http or https URL
Rules
- Body params are sent only with "method": "POST"
- A widget kept from the Copilot (disableRetrievalForCopilot) cannot opt in to an MCP tool
- theme: query params the FINOS Workspace adds to this type's requests
- theme and raw: query params the FINOS Workspace adds to this type's requests
- data.rawDataKey and data.rawType describe the rows of raw=true: they need "raw": true
- This type's params go in the query, not the body or header
The data key
The object data describes the response of the endpoint, so that FINOS Workspace knows where the data is in it and what to do with it. The keys dataKey, rawDataKey and rawType are listed under Widget definition. A widget of a plugin type also has the key data.<type>, which is named after the type and whose schema is the definition of the plugin.
FINOS Workspace checks the widget against the plugin's definition. A widget that fails the check is left out of the catalog, and the problem is reported with its JSON pointer. The plugin module receives the checked object as its definition trait, as Plugin module contract describes, and the AI Agent reads the definition when it builds widgets of the type. Plugin package and manifest describes how a plugin writes the definition. When a source refreshes, FINOS Workspace copies data.<type>, together with dataKey, rawDataKey, rawType and streamEndpoint, onto the widgets that are already on dashboards.
A widget of a plugin type can also have data.streamEndpoint, a path or an absolute URL with no ? and no #, like endpoint. For a plugin that has the permission core:data:stream, the browser opens it as a WebSocket and passes the JSON messages to the plugin: the widget's params are query values, and http and https become ws and wss. The browser opens the socket through the route /app/data-connectors/api-source/{id}/stream of the FINOS Workspace API, which adds the credentials of the backend connection and the identity headers, so the browser and the plugin never hold them. The API checks the user's session and roles, as it does for endpoint, and it closes the socket when the session or the access ends. The path resolves against the backend's address when the backend is connected, like endpoint.
Parameter
An item of params. An item of params can also be a list of parameters, which is one row of the parameter bar.
Properties
descriptionstringmaxLength 4000Help shown on hover, which the AI Agent also reads
in"query" | "header" | "body"not for formWhere the value goes:
query(the default),headerorbody(which needs the method POST). A param in a path placeholder declares nonelabelstringmaxLength 200The control's label; the paramName by default
languageenumfor textThe value is code in this language, edited in a code editor
One of"sql""javascript""python""json""html""css""markdown""xml""text"multiSelectbooleannot for formSeveral values can be chosen; sent joined with commas, or as a list in a body
multiplebooleanfor textSeveral values can be entered, sent like multiSelect
optionsobject[]maxItems 1000not for formThe choices of a dropdown, as
{ label, value, extraInfo }3 nested properties
extraInfoobjectno other propertiesnot for formTwo short texts shown at the right of the choice, which the search also matches:
description, thenrightOfDescription. A dropdown of several choices shows them, and so does an endpoint param's list2 nested properties
descriptionstringmaxLength 200not for formrightOfDescriptionstringmaxLength 200not for form
labelstringrequiredmaxLength 200not for formvaluestring | number | boolean | nullnot for form
paramNamestringminLength 1maxLength 128The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a
{paramName}placeholder in the endpoint takes the value instead- text, tabs, date, number, boolean, button, endpointstringrequired
- formstringA name for the form; it is not sent
placeholderstringmaxLength 200not for formShown in the control while it is empty
roles"fileSelector"[]maxItems 1not for formfileSelector: the param picks the file the widget shows, at most one per widgetrowintegerminimum 0maximum 31The row of the parameter bar the control is placed in
showbooleanfalse hides the control; the value is still sent, as when a parameter group or another widget supplies it
styleobjectno other propertiesnot for formpopupWidth: the width of a dropdown's list, in pixels1 nested property
popupWidthnumberminimum 100maximum 1000not for form
typeenumrequiredOne of"text""tabs""date""number""boolean""button""endpoint""form"valuestring | null | number | boolean | (string | number | boolean)[]not for form- text, tabs, datestring | null
- numbernumber | string | null
- booleanboolean | null
- buttonstring | number | boolean | nullThe default value
- endpointstring | number | boolean | null | (string | number | boolean)[]The default: an option's value, or a list of them for multiSelect (or a comma-separated string)
optionsEndpointstringminLength 1maxLength 2048pattern ^[^?#]+$for endpointa path or an absolute URL with no
?and no#, which answers with the choices as a list of strings or{ label, value, extraInfo }optionsMethod"GET" | "POST"for endpointHow the options are requested: GET (the default) or POST
optionsParamsmap<string, string | number | boolean>maxProperties 32property names: maxLength 128for endpointValues for the options request: a
{name}placeholder of optionsEndpoint takes one, the rest go in the query (GET) or a JSON body (POST).$nameis the current value of the paramnameendpointstringrequiredminLength 1maxLength 2048pattern ^[^?#]+$for forma path or an absolute URL with no
?and no#, which receives the form's inputs as a JSON body;{name}takes an input's or a param's valueinputParamsobject[]requiredmaxItems 32for formThe form's fields, each like a param, with no
inmethod"POST" | "PUT"for formHow the form is sent: POST (the default) or PUT
data_args_schema
Returned by get_widget_schema for the data_args of create_widget and update_widget. It is built from the params of the widget definition.
One property for each parameter of the widget, named by its paramName. A form parameter has none
Properties
<paramName>varies by type- textstring
- numbernumber | stringpattern ^-?(\d+\.?\d*|\.\d+)$
- datestringpattern ^(\d{4}-\d{2}-\d{2}|\$currentDate([+-]\d+[bhdwmqyBHDWMQY])?)$
- booleantrue | false | "true" | "false"
- endpoint, buttonstring | number | boolean
- text with options, tabs"value"
- options with numbers1 | "1"
- multiSelect or multiplearray | string
- with a descriptionstring<description>
- with a label onlystring<label>
ui_args_schema
Returned by get_widget_schema for the ui_args of create_widget and update_widget. It is built from the widget definition and from the component that renders the widget.
The keys that a widget accepts in ui_args, which depend on the component that renders it
Properties
namestringminLength 1maxLength 200The title the widget shows
descriptionstringmaxLength 4000What the widget shows
sourcestring | arrayWhere the data comes from: a label, or a list of labels
innerTabstringcreate_widget only: the navigation bar tab, by id or name
gridDataobjectno other propertiescreate_widget only: the position and size; update_widget_layout moves it
8 nested properties
xnumberynumberwnumberhnumberminWnumberminHnumbermaxWnumbermaxHnumber
textstringfor markdownThe text a note shows; a widget with an endpoint shows the endpoint's
htmlstringfor htmlHTML the widget shows instead of its endpoint's
configobjectno other propertiesfor plugin types<description of the settings>
1 nested property
<setting>"value"minimum 1maximum 2maxLength 3for plugin types<description>
Examples
These examples come from the reference backend in docs/examples/reference-backend/widgets.json.
A widget with a parameter
The key newsfeed_widget is the widget's id.
{
"newsfeed_widget": {
"name": "News feed widget",
"description": "Invented articles about invented companies, filtered by category",
"category": "Reference backend",
"subCategory": "Widget types",
"type": "newsfeed",
"endpoint": "newsfeed_widget",
"gridData": {
"w": 20,
"h": 16
},
"source": "Invented sample data",
"params": [
{
"paramName": "category",
"type": "text",
"label": "Category",
"description": "Show the articles of one category",
"value": "all",
"options": [
{
"label": "All",
"value": "all"
},
{
"label": "Business",
"value": "business"
},
{
"label": "Technology",
"value": "tech"
}
]
}
]
}
}
A widget that the Agent can read as rows
The key raw makes the endpoint also answer raw=true with the rows that the widget shows.
{
"html_widget": {
"name": "HTML widget",
"description": "A portfolio summary that the backend renders as HTML, in the app's theme, with its rows for the Agent",
"category": "Reference backend",
"subCategory": "Widget types",
"type": "html",
"endpoint": "html_widget",
"gridData": {
"w": 20,
"h": 12
},
"source": "Invented sample data",
"raw": true
}
}
Parameters
Each block is one item of params.
The type text, with options:
{
"paramName": "region",
"type": "text",
"label": "Region",
"description": "The region to summarize",
"value": "europe",
"options": [
{
"label": "Americas",
"value": "americas"
},
{
"label": "Europe",
"value": "europe"
},
{
"label": "Asia Pacific",
"value": "apac"
}
]
}
The type text, several values chosen from options (multiSelect):
{
"paramName": "regions",
"type": "text",
"label": "Regions",
"description": "The regions to summarize",
"value": "americas,europe",
"multiSelect": true,
"options": [
{
"label": "Americas",
"value": "americas"
},
{
"label": "Europe",
"value": "europe"
},
{
"label": "Asia Pacific",
"value": "apac"
}
]
}
The type text, several values typed (multiple):
{
"paramName": "tags",
"type": "text",
"label": "Tags",
"description": "Tags to list",
"value": "rates,credit",
"multiple": true
}
The type number:
{
"paramName": "count",
"type": "number",
"label": "Count",
"description": "How many holdings to list",
"value": 3
}
The type boolean:
{
"paramName": "include_details",
"type": "boolean",
"label": "Include details",
"description": "Show the sector and headquarters",
"value": false
}
The type date, with a default that is one month before today:
{
"paramName": "as_of",
"type": "date",
"label": "As of",
"description": "The date of the report",
"value": "$currentDate-1M"
}
The type endpoint, whose options the backend serves:
{
"paramName": "company",
"type": "endpoint",
"label": "Company",
"description": "The company to describe",
"value": "alder",
"optionsEndpoint": "company_options"
}
The type endpoint, whose options depend on another parameter:
{
"paramName": "city",
"type": "endpoint",
"label": "City",
"description": "A city of the chosen country",
"value": "harborview",
"optionsEndpoint": "city_options",
"optionsParams": {
"country": "$country"
}
}
The type a header parameter:
{
"paramName": "X-Desk",
"type": "text",
"label": "Desk",
"description": "The desk, sent in the X-Desk header",
"value": "credit",
"in": "header",
"options": [
{
"label": "Credit",
"value": "credit"
},
{
"label": "Rates",
"value": "rates"
}
]
}
The type a body parameter, which needs "method": "POST" on the widget:
{
"paramName": "limit",
"type": "number",
"label": "Limit",
"description": "How many holdings",
"value": 2,
"in": "body"
}
The type form, which adds a record:
{
"paramName": "client_form",
"type": "form",
"label": "Add a client",
"description": "Adds a client record",
"endpoint": "client_form",
"inputParams": [
{
"paramName": "first_name",
"type": "text",
"label": "First name",
"description": "The client's first name",
"value": ""
},
{
"paramName": "last_name",
"type": "text",
"label": "Last name",
"description": "The client's last name",
"value": ""
},
{
"paramName": "investment_types",
"type": "text",
"label": "Investment types",
"description": "What the client invests in",
"multiSelect": true,
"options": [
{
"label": "Equities",
"value": "equities"
},
{
"label": "Bonds",
"value": "bonds"
},
{
"label": "Funds",
"value": "funds"
}
]
},
{
"paramName": "risk_profile",
"type": "text",
"label": "Risk profile",
"description": "The client's risk tolerance",
"value": "balanced",
"options": [
{
"label": "Cautious",
"value": "cautious"
},
{
"label": "Balanced",
"value": "balanced"
},
{
"label": "Adventurous",
"value": "adventurous"
}
]
},
{
"paramName": "add_record",
"type": "button",
"label": "Add client",
"description": "Add the client record",
"value": true
}
]
}
The type button, as an input of a form:
{
"paramName": "add_record",
"type": "button",
"label": "Add client",
"description": "Add the client record",
"value": true
}
Types
The type of a definition decides which component renders the widget and which request methods and parameter locations the widget may use.
type | What renders it | Methods | Where parameters can go |
|---|---|---|---|
markdown, html, newsfeed and pdf | The built-in widgets of the same names. | GET and POST. | The query, a header or the body. |
iframe | A page that the widget embeds from the endpoint's URL. | GET. | The query. |
| A plugin type | The plugin that handles the type. | GET and POST. | The query, a header or the body. |
The data object always accepts dataKey, and some types accept more keys. The types html and every plugin type also accept raw, which Widget rows describes, and iframe accepts storage. The key mcp_tool links the widget to an MCP tool, as The MCP tool link describes.
A plugin type exists for an organization when the organization has enabled a plugin that handles it. When two enabled plugins handle the same type, the organization admin's choice decides which of them renders it, and without a choice the plugin with the lowest id wins. A widget whose type nobody handles for the user does not appear in that user's catalog.
Validation
The schema defines every key at every depth of a definition, and it bounds every string and list. A key that the schema does not define is ignored: the web app loads the widget without the key and lists the key, with its JSON pointer, under the backend's unrecognized fields. Any other problem leaves the widget out of the catalog and is reported together with its JSON pointer.
JSON Schema cannot express every rule of the contract. The function contractProblems checks the remaining rules after the schema check passed, and the web app reports each problem with its JSON pointer. This table comes from running it on a definition that breaks each rule.
| Check | Message |
|---|---|
| Two parameters have the same name | `a` is declared twice |
| A path placeholder names no parameter | `{a}` names no param of this widget |
| A parameter that fills a path placeholder declares `in` | `a` fills a path placeholder, so it is sent nowhere else and declares no `in` |
| A parameter that fills a path placeholder takes several values | `a` fills a path placeholder, which takes one value |
| A form declares an input twice | an input is declared twice |
| A form endpoint has a placeholder that names no input or parameter | `{a}` names no input of this form and no param of this widget |
| An options endpoint has a placeholder that optionsParams does not fill | `{b}` is filled from optionsParams, which has no `b` |
| An optionsParams value names no parameter | `$b` names no param of this widget |
| Two parameters have the role `fileSelector` | only one param can have the role `fileSelector` |
| `refetchInterval` is not a cron expression | `x` is not a cron expression |
| `dataUpdateDisplay` is not a cron expression | `x` is not a cron expression |
| An `mcp_tool` argument names no parameter | `$b` names no param of this widget |
| A header parameter has the name of a credential header of the connection | `X-Key` is a header the backend connection sets for its credentials |
| A query parameter has the name of a credential query value of the connection | `key` is a query value the backend connection sets for its credentials |
The value of mcp_tool.mcp_server must also name a server in the backend's apps.json.
The schema that the API serves
The route GET /app/widget-plugins/widgets-schema answers for the signed-in user's organization, and a superuser may pass ?entity= to ask for another one. The answer carries an ETag, and the route returns 304 for a matching If-None-Match header.
- The schema is the one above plus what the enabled plugins add. Its
x-typesarray lists the types that are available. When the plugin feature is off, the schema contains only the built-in types. - Each
Widget_<type>definition is complete on its own, so the schema works with any draft-07 validator. To produce readable errors, a validator should first check the widget'stypeagainstx-typesand then validate the widget against that single branch. - The schema is closed. Every object has
additionalProperties: falseor a defined value schema, every string has amaxLength, anenum, aconstor apattern, and every array hasmaxItems. The web app reads a failedadditionalProperties: falseas a key to ignore, unless it falls inside aoneOfor ananyOfthat no branch matched. - A plugin's
definitionmust be closed and bounded in the same way. FINOS Workspace checks it when it discovers the plugin, and a definition that is not closed and bounded blocks the version and names the offending node. - The web app fetches the schema together with the plugin list and hands it to the worker that loads backends. A new
$idmakes the worker validate the connected backends again.
The JSON Schema file
The blocks below are the entries of the schema file exactly as the exporter writes them. The exporter composes the file with a sample plugin type named plugin_type, whose definition and settings are empty. The first block is the top level of the file, and each of the others is one entry of its definitions object.
widgets.json
{
"$id": "urn:workspace:widgets-json:offline",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {
"$ref": "#/definitions/Widget"
},
"properties": {
"$id": {
"description": "An identifier of the file",
"maxLength": 2048,
"type": "string"
},
"$schema": {
"description": "The address of a schema that the file follows, which editors use to check it",
"maxLength": 2048,
"type": "string"
}
},
"propertyNames": {
"maxLength": 128,
"type": "string"
},
"title": "widgets.json",
"type": "object",
"x-types": [
"markdown",
"html",
"newsfeed",
"pdf",
"iframe",
"plugin_type"
]
}Data_html
{
"additionalProperties": false,
"description": "`dataKey`, `rawDataKey` and `rawType` where the type has `raw`, and for a plugin's type the configuration its plugin defines",
"properties": {
"dataKey": {
"description": "The path of the widget's data in a JSON response, such as `result.items`",
"maxLength": 256,
"type": "string"
},
"rawDataKey": {
"description": "The path of the rows in the `raw=true` response, such as `results.records`; without it, `results`, or the whole response",
"maxLength": 256,
"type": "string"
},
"rawType": {
"description": "A plugin's type that shows the rows when the user switches the widget to them; without it, or when the user may not use that type, an html widget shows them in a table and a plugin's widget with its own plugin",
"pattern": "^[a-z][a-z0-9_-]{1,31}$",
"type": "string"
}
},
"type": "object"
}Data_iframe
{
"additionalProperties": false,
"description": "`dataKey`, `rawDataKey` and `rawType` where the type has `raw`, and for a plugin's type the configuration its plugin defines",
"properties": {
"dataKey": {
"description": "The path of the widget's data in a JSON response, such as `result.items`",
"maxLength": 256,
"type": "string"
}
},
"type": "object"
}Data_markdown
{
"additionalProperties": false,
"description": "`dataKey`, `rawDataKey` and `rawType` where the type has `raw`, and for a plugin's type the configuration its plugin defines",
"properties": {
"dataKey": {
"description": "The path of the widget's data in a JSON response, such as `result.items`",
"maxLength": 256,
"type": "string"
}
},
"type": "object"
}Data_newsfeed
{
"additionalProperties": false,
"description": "`dataKey`, `rawDataKey` and `rawType` where the type has `raw`, and for a plugin's type the configuration its plugin defines",
"properties": {
"dataKey": {
"description": "The path of the widget's data in a JSON response, such as `result.items`",
"maxLength": 256,
"type": "string"
}
},
"type": "object"
}Data_pdf
{
"additionalProperties": false,
"description": "`dataKey`, `rawDataKey` and `rawType` where the type has `raw`, and for a plugin's type the configuration its plugin defines",
"properties": {
"dataKey": {
"description": "The path of the widget's data in a JSON response, such as `result.items`",
"maxLength": 256,
"type": "string"
}
},
"type": "object"
}Data_<type>
{
"additionalProperties": false,
"description": "`dataKey`, `rawDataKey` and `rawType` where the type has `raw`, and for a plugin's type the configuration its plugin defines",
"properties": {
"dataKey": {
"description": "The path of the widget's data in a JSON response, such as `result.items`",
"maxLength": 256,
"type": "string"
},
"plugin_type": {
"additionalProperties": false,
"description": "The object that a backend writes for a widget of this type, which tells the plugin how to read and show the data of the response; its schema is the definition of the plugin",
"properties": {},
"type": "object"
},
"rawDataKey": {
"description": "The path of the rows in the `raw=true` response, such as `results.records`; without it, `results`, or the whole response",
"maxLength": 256,
"type": "string"
},
"rawType": {
"description": "A plugin's type that shows the rows when the user switches the widget to them; without it, or when the user may not use that type, an html widget shows them in a table and a plugin's widget with its own plugin",
"pattern": "^[a-z][a-z0-9_-]{1,31}$",
"type": "string"
},
"streamEndpoint": {
"description": "The WebSocket the widget's plugin is fed from, as a path or an absolute URL with no `?` and no `#`: `http` and `https` become `ws` and `wss`. The widget's params are query values. The browser opens the socket through the FINOS Workspace API, which adds the backend connection's credentials, and passes the JSON messages it receives to the plugin",
"maxLength": 2048,
"minLength": 1,
"pattern": "^[^?#]+$",
"type": "string"
}
},
"type": "object"
}McpTool
{
"additionalProperties": false,
"description": "The MCP tool of this backend the AI Agent uses to query what the widget shows: a server named in this backend's apps.json mcpServers, and the tool",
"properties": {
"args": {
"additionalProperties": {
"anyOf": [
{
"maxLength": 256,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"description": "The arguments that the AI Agent passes to the tool, by name",
"maxProperties": 32,
"propertyNames": {
"maxLength": 128,
"type": "string"
},
"type": "object"
},
"mcp_server": {
"description": "The name of a server in this backend's apps.json mcpServers",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"tool_id": {
"description": "The name of the tool on that server",
"maxLength": 128,
"minLength": 1,
"type": "string"
}
},
"required": [
"mcp_server",
"tool_id"
],
"type": "object"
}ParamDef
{
"allOf": [
{
"discriminator": {
"propertyName": "type"
},
"oneOf": [
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"in": {
"description": "Where the value goes: `query` (the default), `header` or `body` (which needs the method POST). A param in a path placeholder declares none",
"enum": [
"query",
"header",
"body"
],
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"language": {
"description": "The value is code in this language, edited in a code editor",
"enum": [
"sql",
"javascript",
"python",
"json",
"html",
"css",
"markdown",
"xml",
"text"
],
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"multiple": {
"description": "Several values can be entered, sent like multiSelect",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "text",
"type": "string"
},
"value": {
"anyOf": [
{
"description": "The default value",
"maxLength": 4096,
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"in": {
"description": "Where the value goes: `query` (the default), `header` or `body` (which needs the method POST). A param in a path placeholder declares none",
"enum": [
"query",
"header",
"body"
],
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "tabs",
"type": "string"
},
"value": {
"anyOf": [
{
"description": "The default value",
"maxLength": 4096,
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"in": {
"description": "Where the value goes: `query` (the default), `header` or `body` (which needs the method POST). A param in a path placeholder declares none",
"enum": [
"query",
"header",
"body"
],
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "date",
"type": "string"
},
"value": {
"anyOf": [
{
"description": "The default: a date, `YYYY-MM-DD`, or `$currentDate` with a modifier such as `$currentDate-1M`",
"maxLength": 64,
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"in": {
"description": "Where the value goes: `query` (the default), `header` or `body` (which needs the method POST). A param in a path placeholder declares none",
"enum": [
"query",
"header",
"body"
],
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "number",
"type": "string"
},
"value": {
"anyOf": [
{
"anyOf": [
{
"type": "number"
},
{
"maxLength": 64,
"pattern": "^-?\\d*\\.?\\d*$",
"type": "string"
}
],
"description": "The default: a number, or a string of digits"
},
{
"type": "null"
}
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"in": {
"description": "Where the value goes: `query` (the default), `header` or `body` (which needs the method POST). A param in a path placeholder declares none",
"enum": [
"query",
"header",
"body"
],
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "boolean",
"type": "string"
},
"value": {
"anyOf": [
{
"description": "The default value",
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"in": {
"description": "Where the value goes: `query` (the default), `header` or `body` (which needs the method POST). A param in a path placeholder declares none",
"enum": [
"query",
"header",
"body"
],
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "button",
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "The default value"
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"in": {
"description": "Where the value goes: `query` (the default), `header` or `body` (which needs the method POST). A param in a path placeholder declares none",
"enum": [
"query",
"header",
"body"
],
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"optionsEndpoint": {
"description": "a path or an absolute URL with no `?` and no `#`, which answers with the choices as a list of strings or `{ label, value, extraInfo }`",
"maxLength": 2048,
"minLength": 1,
"pattern": "^[^?#]+$",
"type": "string"
},
"optionsMethod": {
"description": "How the options are requested: GET (the default) or POST",
"enum": [
"GET",
"POST"
],
"type": "string"
},
"optionsParams": {
"additionalProperties": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"description": "Values for the options request: a `{name}` placeholder of optionsEndpoint takes one, the rest go in the query (GET) or a JSON body (POST). `$name` is the current value of the param `name`",
"maxProperties": 32,
"propertyNames": {
"maxLength": 128,
"type": "string"
},
"type": "object"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "endpoint",
"type": "string"
},
"value": {
"anyOf": [
{
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"items": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"maxItems": 1000,
"type": "array"
}
],
"description": "The default: an option's value, or a list of them for multiSelect (or a comma-separated string)"
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"endpoint": {
"description": "a path or an absolute URL with no `?` and no `#`, which receives the form's inputs as a JSON body; `{name}` takes an input's or a param's value",
"maxLength": 2048,
"minLength": 1,
"pattern": "^[^?#]+$",
"type": "string"
},
"inputParams": {
"description": "The form's fields, each like a param, with no `in`",
"items": {
"discriminator": {
"propertyName": "type"
},
"oneOf": [
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "text",
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "date",
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 64,
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "number",
"type": "string"
},
"value": {
"anyOf": [
{
"anyOf": [
{
"type": "number"
},
{
"maxLength": 64,
"pattern": "^-?\\d*\\.?\\d*$",
"type": "string"
}
]
},
{
"type": "null"
}
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "boolean",
"type": "string"
},
"value": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "button",
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"description": {
"description": "Help shown on hover, which the AI Agent also reads",
"maxLength": 4000,
"type": "string"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"multiSelect": {
"description": "Several values can be chosen; sent joined with commas, or as a list in a body",
"type": "boolean"
},
"options": {
"description": "The choices of a dropdown, as `{ label, value, extraInfo }`",
"items": {
"additionalProperties": false,
"properties": {
"extraInfo": {
"additionalProperties": false,
"description": "Two short texts shown at the right of the choice, which the search also matches: `description`, then `rightOfDescription`. A dropdown of several choices shows them, and so does an endpoint param's list",
"properties": {
"description": {
"maxLength": 200,
"type": "string"
},
"rightOfDescription": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 200,
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"label"
],
"type": "object"
},
"maxItems": 1000,
"type": "array"
},
"optionsEndpoint": {
"description": "a path or an absolute URL with no `?` and no `#`, which answers with the choices as a list of strings or `{ label, value, extraInfo }`",
"maxLength": 2048,
"minLength": 1,
"pattern": "^[^?#]+$",
"type": "string"
},
"optionsMethod": {
"description": "How the options are requested: GET (the default) or POST",
"enum": [
"GET",
"POST"
],
"type": "string"
},
"optionsParams": {
"additionalProperties": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"description": "Values for the options request: a `{name}` placeholder of optionsEndpoint takes one, the rest go in the query (GET) or a JSON body (POST). `$name` is the current value of the param `name`",
"maxProperties": 32,
"propertyNames": {
"maxLength": 128,
"type": "string"
},
"type": "object"
},
"paramName": {
"description": "The name the value is sent under: a query name, a header name or a body key. Unique in the widget; a `{paramName}` placeholder in the endpoint takes the value instead",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"placeholder": {
"description": "Shown in the control while it is empty",
"maxLength": 200,
"type": "string"
},
"roles": {
"description": "`fileSelector`: the param picks the file the widget shows, at most one per widget",
"items": {
"const": "fileSelector",
"type": "string"
},
"maxItems": 1,
"type": "array"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"style": {
"additionalProperties": false,
"description": "`popupWidth`: the width of a dropdown's list, in pixels",
"properties": {
"popupWidth": {
"maximum": 1000,
"minimum": 100,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "endpoint",
"type": "string"
},
"value": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"paramName",
"type"
],
"type": "object"
}
]
},
"maxItems": 32,
"type": "array"
},
"label": {
"description": "The control's label; the paramName by default",
"maxLength": 200,
"type": "string"
},
"method": {
"description": "How the form is sent: POST (the default) or PUT",
"enum": [
"POST",
"PUT"
],
"type": "string"
},
"paramName": {
"description": "A name for the form; it is not sent",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"row": {
"description": "The row of the parameter bar the control is placed in",
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"show": {
"description": "false hides the control; the value is still sent, as when a parameter group or another widget supplies it",
"type": "boolean"
},
"type": {
"const": "form",
"type": "string"
}
},
"required": [
"type",
"endpoint",
"inputParams"
],
"type": "object"
}
]
},
{
"description": "A header param's paramName is the header name: an HTTP token that a browser lets page script set and that the FINOS Workspace does not set itself; its value is printable ASCII",
"if": {
"properties": {
"in": {
"const": "header"
}
},
"required": [
"in"
]
},
"then": {
"properties": {
"paramName": {
"not": {
"pattern": "^(?:[aA][cC][cC][eE][pP][tT]$|[aA][cC][cC][eE][pP][tT]-[cC][hH][aA][rR][sS][eE][tT]$|[aA][cC][cC][eE][pP][tT]-[eE][nN][cC][oO][dD][iI][nN][gG]$|[aA][cC][cC][eE][sS][sS]-[cC][oO][nN][tT][rR][oO][lL]-[rR][eE][qQ][uU][eE][sS][tT]-[hH][eE][aA][dD][eE][rR][sS]$|[aA][cC][cC][eE][sS][sS]-[cC][oO][nN][tT][rR][oO][lL]-[rR][eE][qQ][uU][eE][sS][tT]-[mM][eE][tT][hH][oO][dD]$|[aA][uU][tT][hH][oO][rR][iI][zZ][aA][tT][iI][oO][nN]$|[cC][oO][nN][nN][eE][cC][tT][iI][oO][nN]$|[cC][oO][nN][tT][eE][nN][tT]-[lL][eE][nN][gG][tT][hH]$|[cC][oO][nN][tT][eE][nN][tT]-[tT][yY][pP][eE]$|[cC][oO][oO][kK][iI][eE]$|[dD][aA][tT][eE]$|[dD][nN][tT]$|[eE][xX][pP][eE][cC][tT]$|[hH][oO][sS][tT]$|[kK][eE][eE][pP]-[aA][lL][iI][vV][eE]$|[oO][rR][iI][gG][iI][nN]$|[rR][eE][fF][eE][rR][eE][rR]$|[sS][eE][tT]-[cC][oO][oO][kK][iI][eE]$|[tT][eE]$|[tT][rR][aA][iI][lL][eE][rR]$|[tT][rR][aA][nN][sS][fF][eE][rR]-[eE][nN][cC][oO][dD][iI][nN][gG]$|[uU][pP][gG][rR][aA][dD][eE]$|[vV][iI][aA]$|[xX]-[mM][iI][cC][rR][oO][sS][oO][fF][tT]-[iI][dD]-[tT][oO][kK][eE][nN]$|[xX]-[oO][kK][tT][aA]-[iI][dD]-[tT][oO][kK][eE][nN]$|[xX]-[wW][oO][rR][kK][sS][pP][aA][cC][eE]-[iI][dD][eE][nN][tT][iI][tT][yY]$|[xX]-[wW][oO][rR][kK][sS][pP][aA][cC][eE]-[uU][sS][eE][rR]$|[pP][rR][oO][xX][yY]-|[sS][eE][cC]-)"
},
"pattern": "^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,64}$",
"type": "string"
},
"value": {
"anyOf": [
{
"pattern": "^[\\x20-\\x7E]{0,1024}$",
"type": "string"
},
{
"not": {
"type": "string"
}
}
]
}
}
}
}
]
}PluginConfig_<type>
{
"additionalProperties": false,
"description": "The settings of the widget that handles this type, from the settings schema of its plugin; a widget keeps them at storage.plugin.config",
"properties": {},
"type": "object"
}Widget
{
"oneOf": [
{
"$ref": "#/definitions/Widget_markdown"
},
{
"$ref": "#/definitions/Widget_html"
},
{
"$ref": "#/definitions/Widget_newsfeed"
},
{
"$ref": "#/definitions/Widget_pdf"
},
{
"$ref": "#/definitions/Widget_iframe"
},
{
"$ref": "#/definitions/Widget_plugin_type"
}
]
}Widget_html
{
"additionalProperties": false,
"allOf": [
{
"description": "Body params are sent only with \"method\": \"POST\"",
"if": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
{
"contains": {
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
},
"then": {
"properties": {
"method": {
"const": "POST"
}
},
"required": [
"method"
]
}
},
{
"description": "A widget kept from the Copilot (disableRetrievalForCopilot) cannot opt in to an MCP tool",
"if": {
"properties": {
"disableRetrievalForCopilot": {
"const": true
}
},
"required": [
"disableRetrievalForCopilot"
]
},
"then": {
"not": {
"required": [
"mcp_tool"
]
}
}
},
{
"description": "theme and raw: query params the FINOS Workspace adds to this type's requests",
"not": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"not": {
"properties": {
"in": {
"enum": [
"header",
"body"
]
}
},
"required": [
"in"
]
},
"properties": {
"paramName": {
"enum": [
"theme",
"raw"
]
}
},
"required": [
"paramName"
],
"type": "object"
},
{
"contains": {
"not": {
"properties": {
"in": {
"enum": [
"header",
"body"
]
}
},
"required": [
"in"
]
},
"properties": {
"paramName": {
"enum": [
"theme",
"raw"
]
}
},
"required": [
"paramName"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
}
},
{
"description": "data.rawDataKey and data.rawType describe the rows of raw=true: they need \"raw\": true",
"if": {
"properties": {
"data": {
"anyOf": [
{
"required": [
"rawDataKey"
]
},
{
"required": [
"rawType"
]
}
]
}
},
"required": [
"data"
]
},
"then": {
"properties": {
"raw": {
"const": true
}
},
"required": [
"raw"
]
}
}
],
"properties": {
"category": {
"description": "The group the catalog lists the widget under",
"maxLength": 100,
"type": "string"
},
"data": {
"$ref": "#/definitions/Data_html",
"description": "How Workspace reads and shows the data of this type"
},
"dataUpdateDisplay": {
"description": "When the data changes, as a 5-field cron expression shown to the user",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"description": {
"description": "What the widget shows; the catalog shows it, and the AI Agent finds widgets by it",
"maxLength": 4000,
"type": "string"
},
"disableRetrievalForCopilot": {
"description": "Keeps the widget's data from the AI Agent; such a widget has no `mcp_tool`",
"type": "boolean"
},
"endpoint": {
"description": "a path or an absolute URL with no `?` and no `#` (a static query value is a param with show: false)",
"maxLength": 2048,
"minLength": 1,
"pattern": "^[^?#]+$",
"type": "string"
},
"exportable": {
"description": "false removes Export from the widget's menu",
"type": "boolean"
},
"gridData": {
"additionalProperties": false,
"description": "The default size on a dashboard, in grid units: `w` of 40 columns, and `h` rows",
"properties": {
"h": {
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"w": {
"maximum": 40,
"minimum": 1,
"type": "integer"
}
},
"required": [
"w",
"h"
],
"type": "object"
},
"mcp_tool": {
"$ref": "#/definitions/McpTool",
"description": "The MCP tool of this backend the AI Agent uses to query what the widget shows: a server named in this backend's apps.json mcpServers, and the tool"
},
"method": {
"description": "How FINOS Workspace calls the endpoint: GET (the default) or POST, which a param `in: body` needs",
"enum": [
"GET",
"POST"
],
"type": "string"
},
"name": {
"description": "The title the widget shows",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"params": {
"description": "The widget's parameters; an item that is a list of params is one row of the parameter bar",
"items": {
"else": {
"$ref": "#/definitions/ParamDef"
},
"if": {
"type": "array"
},
"then": {
"items": {
"$ref": "#/definitions/ParamDef"
},
"maxItems": 16,
"type": "array"
}
},
"maxItems": 64,
"type": "array"
},
"raw": {
"description": "The endpoint also answers `raw=true` with the rows the widget shows, as JSON: the AI Agent and MCP get those rows, and the widget's rows button shows them",
"type": "boolean"
},
"refetchInterval": {
"anyOf": [
{
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
},
{
"maxLength": 100,
"minLength": 1,
"type": "string"
}
]
},
{
"type": "null"
}
],
"description": "Fetch again every so many milliseconds, or on a 5-field cron schedule; false never"
},
"runButton": {
"description": "The widget fetches only when the user clicks Run",
"type": "boolean"
},
"showTitle": {
"description": "false leaves the title off the widget",
"type": "boolean"
},
"source": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"items": {
"maxLength": 100,
"type": "string"
},
"maxItems": 16,
"type": "array"
}
],
"description": "Where the data comes from: a label, or a list of labels"
},
"staleTime": {
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
}
],
"description": "Milliseconds a response is reused before it is fetched again; false fetches every time"
},
"subCategory": {
"description": "The subgroup within the category",
"maxLength": 100,
"type": "string"
},
"type": {
"const": "html",
"description": "The widget's type, html",
"type": "string"
}
},
"required": [
"name",
"description",
"endpoint",
"type"
],
"type": "object"
}Widget_iframe
{
"additionalProperties": false,
"allOf": [
{
"description": "Body params are sent only with \"method\": \"POST\"",
"if": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
{
"contains": {
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
},
"then": {
"properties": {
"method": {
"const": "POST"
}
},
"required": [
"method"
]
}
},
{
"description": "A widget kept from the Copilot (disableRetrievalForCopilot) cannot opt in to an MCP tool",
"if": {
"properties": {
"disableRetrievalForCopilot": {
"const": true
}
},
"required": [
"disableRetrievalForCopilot"
]
},
"then": {
"not": {
"required": [
"mcp_tool"
]
}
}
},
{
"description": "This type's params go in the query, not the body or header",
"not": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"properties": {
"in": {
"enum": [
"body",
"header"
]
}
},
"required": [
"in"
],
"type": "object"
},
{
"contains": {
"properties": {
"in": {
"enum": [
"body",
"header"
]
}
},
"required": [
"in"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
}
},
{
"description": "theme: query params the FINOS Workspace adds to this type's requests",
"not": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"not": {
"properties": {
"in": {
"enum": [
"header",
"body"
]
}
},
"required": [
"in"
]
},
"properties": {
"paramName": {
"enum": [
"theme"
]
}
},
"required": [
"paramName"
],
"type": "object"
},
{
"contains": {
"not": {
"properties": {
"in": {
"enum": [
"header",
"body"
]
}
},
"required": [
"in"
]
},
"properties": {
"paramName": {
"enum": [
"theme"
]
}
},
"required": [
"paramName"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
}
}
],
"properties": {
"category": {
"description": "The group the catalog lists the widget under",
"maxLength": 100,
"type": "string"
},
"data": {
"$ref": "#/definitions/Data_iframe",
"description": "How Workspace reads and shows the data of this type"
},
"dataUpdateDisplay": {
"description": "When the data changes, as a 5-field cron expression shown to the user",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"description": {
"description": "What the widget shows; the catalog shows it, and the AI Agent finds widgets by it",
"maxLength": 4000,
"type": "string"
},
"disableRetrievalForCopilot": {
"description": "Keeps the widget's data from the AI Agent; such a widget has no `mcp_tool`",
"type": "boolean"
},
"endpoint": {
"description": "a path or an absolute URL with no `?` and no `#` (a static query value is a param with show: false)",
"maxLength": 2048,
"minLength": 1,
"pattern": "^[^?#]+$",
"type": "string"
},
"exportable": {
"description": "false removes Export from the widget's menu",
"type": "boolean"
},
"gridData": {
"additionalProperties": false,
"description": "The default size on a dashboard, in grid units: `w` of 40 columns, and `h` rows",
"properties": {
"h": {
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"w": {
"maximum": 40,
"minimum": 1,
"type": "integer"
}
},
"required": [
"w",
"h"
],
"type": "object"
},
"mcp_tool": {
"$ref": "#/definitions/McpTool",
"description": "The MCP tool of this backend the AI Agent uses to query what the widget shows: a server named in this backend's apps.json mcpServers, and the tool"
},
"method": {
"description": "How Workspace calls the endpoint: GET",
"enum": [
"GET"
],
"type": "string"
},
"name": {
"description": "The title the widget shows",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"params": {
"description": "The widget's parameters; an item that is a list of params is one row of the parameter bar",
"items": {
"else": {
"$ref": "#/definitions/ParamDef"
},
"if": {
"type": "array"
},
"then": {
"items": {
"$ref": "#/definitions/ParamDef"
},
"maxItems": 16,
"type": "array"
}
},
"maxItems": 64,
"type": "array"
},
"refetchInterval": {
"anyOf": [
{
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
},
{
"maxLength": 100,
"minLength": 1,
"type": "string"
}
]
},
{
"type": "null"
}
],
"description": "Fetch again every so many milliseconds, or on a 5-field cron schedule; false never"
},
"requires_auth": {
"description": "The page needs the backend connection's credentials. The browser then opens it through the FINOS Workspace API, which adds them, in a sandbox without storage. For trusted pages only: the API checks this declaration itself",
"type": "boolean"
},
"runButton": {
"description": "The widget fetches only when the user clicks Run",
"type": "boolean"
},
"showTitle": {
"description": "false leaves the title off the widget",
"type": "boolean"
},
"source": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"items": {
"maxLength": 100,
"type": "string"
},
"maxItems": 16,
"type": "array"
}
],
"description": "Where the data comes from: a label, or a list of labels"
},
"staleTime": {
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
}
],
"description": "Milliseconds a response is reused before it is fetched again; false fetches every time"
},
"storage": {
"additionalProperties": false,
"description": "`mcpUrl`: an MCP server of the page's own, connected for the widget without the backend's credentials",
"properties": {
"mcpUrl": {
"description": "an http or https URL",
"maxLength": 2048,
"pattern": "^https?:\\/\\/\\S+$",
"type": "string"
}
},
"type": "object"
},
"subCategory": {
"description": "The subgroup within the category",
"maxLength": 100,
"type": "string"
},
"type": {
"const": "iframe",
"description": "The widget's type, iframe",
"type": "string"
}
},
"required": [
"name",
"description",
"endpoint",
"type"
],
"type": "object"
}Widget_markdown
{
"additionalProperties": false,
"allOf": [
{
"description": "Body params are sent only with \"method\": \"POST\"",
"if": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
{
"contains": {
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
},
"then": {
"properties": {
"method": {
"const": "POST"
}
},
"required": [
"method"
]
}
},
{
"description": "A widget kept from the Copilot (disableRetrievalForCopilot) cannot opt in to an MCP tool",
"if": {
"properties": {
"disableRetrievalForCopilot": {
"const": true
}
},
"required": [
"disableRetrievalForCopilot"
]
},
"then": {
"not": {
"required": [
"mcp_tool"
]
}
}
},
{
"description": "theme: query params the FINOS Workspace adds to this type's requests",
"not": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"not": {
"properties": {
"in": {
"enum": [
"header",
"body"
]
}
},
"required": [
"in"
]
},
"properties": {
"paramName": {
"enum": [
"theme"
]
}
},
"required": [
"paramName"
],
"type": "object"
},
{
"contains": {
"not": {
"properties": {
"in": {
"enum": [
"header",
"body"
]
}
},
"required": [
"in"
]
},
"properties": {
"paramName": {
"enum": [
"theme"
]
}
},
"required": [
"paramName"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
}
}
],
"properties": {
"category": {
"description": "The group the catalog lists the widget under",
"maxLength": 100,
"type": "string"
},
"data": {
"$ref": "#/definitions/Data_markdown",
"description": "How Workspace reads and shows the data of this type"
},
"dataUpdateDisplay": {
"description": "When the data changes, as a 5-field cron expression shown to the user",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"description": {
"description": "What the widget shows; the catalog shows it, and the AI Agent finds widgets by it",
"maxLength": 4000,
"type": "string"
},
"disableRetrievalForCopilot": {
"description": "Keeps the widget's data from the AI Agent; such a widget has no `mcp_tool`",
"type": "boolean"
},
"endpoint": {
"description": "a path or an absolute URL with no `?` and no `#` (a static query value is a param with show: false)",
"maxLength": 2048,
"minLength": 1,
"pattern": "^[^?#]+$",
"type": "string"
},
"exportable": {
"description": "false removes Export from the widget's menu",
"type": "boolean"
},
"gridData": {
"additionalProperties": false,
"description": "The default size on a dashboard, in grid units: `w` of 40 columns, and `h` rows",
"properties": {
"h": {
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"w": {
"maximum": 40,
"minimum": 1,
"type": "integer"
}
},
"required": [
"w",
"h"
],
"type": "object"
},
"mcp_tool": {
"$ref": "#/definitions/McpTool",
"description": "The MCP tool of this backend the AI Agent uses to query what the widget shows: a server named in this backend's apps.json mcpServers, and the tool"
},
"method": {
"description": "How FINOS Workspace calls the endpoint: GET (the default) or POST, which a param `in: body` needs",
"enum": [
"GET",
"POST"
],
"type": "string"
},
"name": {
"description": "The title the widget shows",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"params": {
"description": "The widget's parameters; an item that is a list of params is one row of the parameter bar",
"items": {
"else": {
"$ref": "#/definitions/ParamDef"
},
"if": {
"type": "array"
},
"then": {
"items": {
"$ref": "#/definitions/ParamDef"
},
"maxItems": 16,
"type": "array"
}
},
"maxItems": 64,
"type": "array"
},
"refetchInterval": {
"anyOf": [
{
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
},
{
"maxLength": 100,
"minLength": 1,
"type": "string"
}
]
},
{
"type": "null"
}
],
"description": "Fetch again every so many milliseconds, or on a 5-field cron schedule; false never"
},
"runButton": {
"description": "The widget fetches only when the user clicks Run",
"type": "boolean"
},
"showTitle": {
"description": "false leaves the title off the widget",
"type": "boolean"
},
"source": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"items": {
"maxLength": 100,
"type": "string"
},
"maxItems": 16,
"type": "array"
}
],
"description": "Where the data comes from: a label, or a list of labels"
},
"staleTime": {
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
}
],
"description": "Milliseconds a response is reused before it is fetched again; false fetches every time"
},
"subCategory": {
"description": "The subgroup within the category",
"maxLength": 100,
"type": "string"
},
"type": {
"const": "markdown",
"description": "The widget's type, markdown",
"type": "string"
}
},
"required": [
"name",
"description",
"endpoint",
"type"
],
"type": "object"
}Widget_newsfeed
{
"additionalProperties": false,
"allOf": [
{
"description": "Body params are sent only with \"method\": \"POST\"",
"if": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
{
"contains": {
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
},
"then": {
"properties": {
"method": {
"const": "POST"
}
},
"required": [
"method"
]
}
},
{
"description": "A widget kept from the Copilot (disableRetrievalForCopilot) cannot opt in to an MCP tool",
"if": {
"properties": {
"disableRetrievalForCopilot": {
"const": true
}
},
"required": [
"disableRetrievalForCopilot"
]
},
"then": {
"not": {
"required": [
"mcp_tool"
]
}
}
}
],
"properties": {
"category": {
"description": "The group the catalog lists the widget under",
"maxLength": 100,
"type": "string"
},
"data": {
"$ref": "#/definitions/Data_newsfeed",
"description": "How Workspace reads and shows the data of this type"
},
"dataUpdateDisplay": {
"description": "When the data changes, as a 5-field cron expression shown to the user",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"description": {
"description": "What the widget shows; the catalog shows it, and the AI Agent finds widgets by it",
"maxLength": 4000,
"type": "string"
},
"disableRetrievalForCopilot": {
"description": "Keeps the widget's data from the AI Agent; such a widget has no `mcp_tool`",
"type": "boolean"
},
"endpoint": {
"description": "a path or an absolute URL with no `?` and no `#` (a static query value is a param with show: false)",
"maxLength": 2048,
"minLength": 1,
"pattern": "^[^?#]+$",
"type": "string"
},
"exportable": {
"description": "false removes Export from the widget's menu",
"type": "boolean"
},
"gridData": {
"additionalProperties": false,
"description": "The default size on a dashboard, in grid units: `w` of 40 columns, and `h` rows",
"properties": {
"h": {
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"w": {
"maximum": 40,
"minimum": 1,
"type": "integer"
}
},
"required": [
"w",
"h"
],
"type": "object"
},
"mcp_tool": {
"$ref": "#/definitions/McpTool",
"description": "The MCP tool of this backend the AI Agent uses to query what the widget shows: a server named in this backend's apps.json mcpServers, and the tool"
},
"method": {
"description": "How FINOS Workspace calls the endpoint: GET (the default) or POST, which a param `in: body` needs",
"enum": [
"GET",
"POST"
],
"type": "string"
},
"name": {
"description": "The title the widget shows",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"params": {
"description": "The widget's parameters; an item that is a list of params is one row of the parameter bar",
"items": {
"else": {
"$ref": "#/definitions/ParamDef"
},
"if": {
"type": "array"
},
"then": {
"items": {
"$ref": "#/definitions/ParamDef"
},
"maxItems": 16,
"type": "array"
}
},
"maxItems": 64,
"type": "array"
},
"refetchInterval": {
"anyOf": [
{
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
},
{
"maxLength": 100,
"minLength": 1,
"type": "string"
}
]
},
{
"type": "null"
}
],
"description": "Fetch again every so many milliseconds, or on a 5-field cron schedule; false never"
},
"runButton": {
"description": "The widget fetches only when the user clicks Run",
"type": "boolean"
},
"showTitle": {
"description": "false leaves the title off the widget",
"type": "boolean"
},
"source": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"items": {
"maxLength": 100,
"type": "string"
},
"maxItems": 16,
"type": "array"
}
],
"description": "Where the data comes from: a label, or a list of labels"
},
"staleTime": {
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
}
],
"description": "Milliseconds a response is reused before it is fetched again; false fetches every time"
},
"subCategory": {
"description": "The subgroup within the category",
"maxLength": 100,
"type": "string"
},
"type": {
"const": "newsfeed",
"description": "The widget's type, newsfeed",
"type": "string"
}
},
"required": [
"name",
"description",
"endpoint",
"type"
],
"type": "object"
}Widget_pdf
{
"additionalProperties": false,
"allOf": [
{
"description": "Body params are sent only with \"method\": \"POST\"",
"if": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
{
"contains": {
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
},
"then": {
"properties": {
"method": {
"const": "POST"
}
},
"required": [
"method"
]
}
},
{
"description": "A widget kept from the Copilot (disableRetrievalForCopilot) cannot opt in to an MCP tool",
"if": {
"properties": {
"disableRetrievalForCopilot": {
"const": true
}
},
"required": [
"disableRetrievalForCopilot"
]
},
"then": {
"not": {
"required": [
"mcp_tool"
]
}
}
}
],
"properties": {
"category": {
"description": "The group the catalog lists the widget under",
"maxLength": 100,
"type": "string"
},
"data": {
"$ref": "#/definitions/Data_pdf",
"description": "How Workspace reads and shows the data of this type"
},
"dataUpdateDisplay": {
"description": "When the data changes, as a 5-field cron expression shown to the user",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"description": {
"description": "What the widget shows; the catalog shows it, and the AI Agent finds widgets by it",
"maxLength": 4000,
"type": "string"
},
"disableRetrievalForCopilot": {
"description": "Keeps the widget's data from the AI Agent; such a widget has no `mcp_tool`",
"type": "boolean"
},
"endpoint": {
"description": "a path or an absolute URL with no `?` and no `#` (a static query value is a param with show: false)",
"maxLength": 2048,
"minLength": 1,
"pattern": "^[^?#]+$",
"type": "string"
},
"exportable": {
"description": "false removes Export from the widget's menu",
"type": "boolean"
},
"gridData": {
"additionalProperties": false,
"description": "The default size on a dashboard, in grid units: `w` of 40 columns, and `h` rows",
"properties": {
"h": {
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"w": {
"maximum": 40,
"minimum": 1,
"type": "integer"
}
},
"required": [
"w",
"h"
],
"type": "object"
},
"mcp_tool": {
"$ref": "#/definitions/McpTool",
"description": "The MCP tool of this backend the AI Agent uses to query what the widget shows: a server named in this backend's apps.json mcpServers, and the tool"
},
"method": {
"description": "How FINOS Workspace calls the endpoint: GET (the default) or POST, which a param `in: body` needs",
"enum": [
"GET",
"POST"
],
"type": "string"
},
"name": {
"description": "The title the widget shows",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"params": {
"description": "The widget's parameters; an item that is a list of params is one row of the parameter bar",
"items": {
"else": {
"$ref": "#/definitions/ParamDef"
},
"if": {
"type": "array"
},
"then": {
"items": {
"$ref": "#/definitions/ParamDef"
},
"maxItems": 16,
"type": "array"
}
},
"maxItems": 64,
"type": "array"
},
"refetchInterval": {
"anyOf": [
{
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
},
{
"maxLength": 100,
"minLength": 1,
"type": "string"
}
]
},
{
"type": "null"
}
],
"description": "Fetch again every so many milliseconds, or on a 5-field cron schedule; false never"
},
"runButton": {
"description": "The widget fetches only when the user clicks Run",
"type": "boolean"
},
"showTitle": {
"description": "false leaves the title off the widget",
"type": "boolean"
},
"source": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"items": {
"maxLength": 100,
"type": "string"
},
"maxItems": 16,
"type": "array"
}
],
"description": "Where the data comes from: a label, or a list of labels"
},
"staleTime": {
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
}
],
"description": "Milliseconds a response is reused before it is fetched again; false fetches every time"
},
"subCategory": {
"description": "The subgroup within the category",
"maxLength": 100,
"type": "string"
},
"type": {
"const": "pdf",
"description": "The widget's type, pdf",
"type": "string"
}
},
"required": [
"name",
"description",
"endpoint",
"type"
],
"type": "object"
}Widget_<type>
{
"additionalProperties": false,
"allOf": [
{
"description": "Body params are sent only with \"method\": \"POST\"",
"if": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
{
"contains": {
"properties": {
"in": {
"const": "body"
}
},
"required": [
"in"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
},
"then": {
"properties": {
"method": {
"const": "POST"
}
},
"required": [
"method"
]
}
},
{
"description": "A widget kept from the Copilot (disableRetrievalForCopilot) cannot opt in to an MCP tool",
"if": {
"properties": {
"disableRetrievalForCopilot": {
"const": true
}
},
"required": [
"disableRetrievalForCopilot"
]
},
"then": {
"not": {
"required": [
"mcp_tool"
]
}
}
},
{
"description": "theme and raw: query params the FINOS Workspace adds to this type's requests",
"not": {
"properties": {
"params": {
"contains": {
"anyOf": [
{
"not": {
"properties": {
"in": {
"enum": [
"header",
"body"
]
}
},
"required": [
"in"
]
},
"properties": {
"paramName": {
"enum": [
"theme",
"raw"
]
}
},
"required": [
"paramName"
],
"type": "object"
},
{
"contains": {
"not": {
"properties": {
"in": {
"enum": [
"header",
"body"
]
}
},
"required": [
"in"
]
},
"properties": {
"paramName": {
"enum": [
"theme",
"raw"
]
}
},
"required": [
"paramName"
],
"type": "object"
},
"type": "array"
}
]
}
}
},
"required": [
"params"
]
}
},
{
"description": "data.rawDataKey and data.rawType describe the rows of raw=true: they need \"raw\": true",
"if": {
"properties": {
"data": {
"anyOf": [
{
"required": [
"rawDataKey"
]
},
{
"required": [
"rawType"
]
}
]
}
},
"required": [
"data"
]
},
"then": {
"properties": {
"raw": {
"const": true
}
},
"required": [
"raw"
]
}
}
],
"properties": {
"category": {
"description": "The group the catalog lists the widget under",
"maxLength": 100,
"type": "string"
},
"data": {
"$ref": "#/definitions/Data_plugin_type",
"description": "How Workspace reads and shows the data of this type"
},
"dataUpdateDisplay": {
"description": "When the data changes, as a 5-field cron expression shown to the user",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"description": {
"description": "What the widget shows; the catalog shows it, and the AI Agent finds widgets by it",
"maxLength": 4000,
"type": "string"
},
"disableRetrievalForCopilot": {
"description": "Keeps the widget's data from the AI Agent; such a widget has no `mcp_tool`",
"type": "boolean"
},
"endpoint": {
"description": "a path or an absolute URL with no `?` and no `#` (a static query value is a param with show: false)",
"maxLength": 2048,
"minLength": 1,
"pattern": "^[^?#]+$",
"type": "string"
},
"exportable": {
"description": "false removes Export from the widget's menu",
"type": "boolean"
},
"gridData": {
"additionalProperties": false,
"description": "The default size on a dashboard, in grid units: `w` of 40 columns, and `h` rows",
"properties": {
"h": {
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"w": {
"maximum": 40,
"minimum": 1,
"type": "integer"
}
},
"required": [
"w",
"h"
],
"type": "object"
},
"mcp_tool": {
"$ref": "#/definitions/McpTool",
"description": "The MCP tool of this backend the AI Agent uses to query what the widget shows: a server named in this backend's apps.json mcpServers, and the tool"
},
"method": {
"description": "How FINOS Workspace calls the endpoint: GET (the default) or POST, which a param `in: body` needs",
"enum": [
"GET",
"POST"
],
"type": "string"
},
"name": {
"description": "The title the widget shows",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"params": {
"description": "The widget's parameters; an item that is a list of params is one row of the parameter bar",
"items": {
"else": {
"$ref": "#/definitions/ParamDef"
},
"if": {
"type": "array"
},
"then": {
"items": {
"$ref": "#/definitions/ParamDef"
},
"maxItems": 16,
"type": "array"
}
},
"maxItems": 64,
"type": "array"
},
"raw": {
"description": "The endpoint also answers `raw=true` with the rows the widget shows, as JSON: the AI Agent and MCP get those rows, and the widget's rows button shows them",
"type": "boolean"
},
"refetchInterval": {
"anyOf": [
{
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
},
{
"maxLength": 100,
"minLength": 1,
"type": "string"
}
]
},
{
"type": "null"
}
],
"description": "Fetch again every so many milliseconds, or on a 5-field cron schedule; false never"
},
"runButton": {
"description": "The widget fetches only when the user clicks Run",
"type": "boolean"
},
"showTitle": {
"description": "false leaves the title off the widget",
"type": "boolean"
},
"source": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"items": {
"maxLength": 100,
"type": "string"
},
"maxItems": 16,
"type": "array"
}
],
"description": "Where the data comes from: a label, or a list of labels"
},
"staleTime": {
"anyOf": [
{
"maximum": 10000000000,
"minimum": 1000,
"type": "number"
},
{
"const": false,
"type": "boolean"
}
],
"description": "Milliseconds a response is reused before it is fetched again; false fetches every time"
},
"subCategory": {
"description": "The subgroup within the category",
"maxLength": 100,
"type": "string"
},
"type": {
"const": "plugin_type",
"description": "The widget's type, plugin_type",
"type": "string"
}
},
"required": [
"name",
"description",
"endpoint",
"type"
],
"type": "object"
}