Skip to main content
Glama

Create calculated metric

create_calculated_metric

Create a calculated metric — a custom KPI from a formula over other metrics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesMetric name (e.g. "CTR")
symbolYesDisplay format: numbers, decimal, % or currency
formulaYesFormula as an ARRAY of tokens in evaluation order. CTR = clicks ÷ impressions × 100 is: [{id:"t1",type:"METRIC",query:{datasource_id:"gadw",data_view:"ACCOUNT",metrics:[{value:"clicks"}]}}, {id:"t2",type:"OPERATOR",operator:"÷"}, {id:"t3",type:"METRIC",query:{datasource_id:"gadw",data_view:"ACCOUNT",metrics:[{value:"impressions"}]}}, {id:"t4",type:"OPERATOR",operator:"×"}, {id:"t5",type:"NUMBER",number:100}]

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoThe new calculated metric — id, name, formula and symbol.
successYesTrue when the call succeeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "surnex",
      -                    "clickup",
      -                    "make",
      -                    "freshdesk",
      -                    "chart-mogul",
      -                    "amplitude",
      -                    "harvest",
      -                    "zoho-crm",
      -                    "clockify",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "clickup",
      +                    "make",
      +                    "freshdesk",
      +                    "chart-mogul",
      +                    "amplitude",
      +                    "harvest",
      +                    "zoho-crm",
      +                    "clockify",
      +                    "adtraction",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "surnex",
      -                    "clickup",
      -                    "make",
      -                    "freshdesk",
      -                    "chart-mogul",
      -                    "amplitude",
      -                    "harvest",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "clickup",
      +                    "make",
      +                    "freshdesk",
      +                    "chart-mogul",
      +                    "amplitude",
      +                    "harvest",
      +                    "zoho-crm",
      +                    "clockify",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "surnex",
      -                    "clickup",
      -                    "make",
      -                    "freshdesk",
      -                    "chart-mogul",
      -                    "amplitude",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "clickup",
      +                    "make",
      +                    "freshdesk",
      +                    "chart-mogul",
      +                    "amplitude",
      +                    "harvest",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "surnex",
      -                    "clickup",
      -                    "make",
      -                    "freshdesk",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "clickup",
      +                    "make",
      +                    "freshdesk",
      +                    "chart-mogul",
      +                    "amplitude",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "surnex",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "clickup",
      +                    "make",
      +                    "freshdesk",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  7. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / properties / success / description
      Previous value: -"True when the call succeeded. A failure comes back as an error result instead."New value: +"True when the call succeeded."
  8. First observed

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the agent knows this is a non-destructive, closed-world write. The description adds only the conceptual nature of what is created; it does not mention dependencies (referencing existing metric ids from describe_datasource) or side effects. With annotations carrying the safety profile, this is adequate but thin.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, front-loaded sentence with the verb+resource leading and the defining clause trailing; nothing is padded. It is tightly written, though the trailing clause is mildly redundant with the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the schema fully documents parameters. However, for a create tool with a complex nested formula, the description supplies no prerequisites or workflow context (e.g. that metric/datasource ids come from describe_datasource). Minimal but passable given the rich schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the formula parameter even ships a worked CTR example, so the schema does the heavy lifting. The description's phrase 'formula over other metrics' gestures at the formula semantics but adds no syntax, token ordering, or format detail beyond the schema. Baseline 3 is correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Create) and resource (calculated metric), and the em-dash clause defines what a calculated metric is (a custom KPI from a formula over other metrics). This distinguishes it from widget siblings like add_calculated_metric_widget. It stops short of naming the nearest alternatives (update_/duplicate_calculated_metric), so it is clear but not sibling-differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent can infer you use this when you need a custom KPI built from a formula. There is no explicit when-to-use vs update_calculated_metric/duplicate_calculated_metric guidance and no prerequisites (e.g. that the underlying metrics must exist). Implied-but-unstated usage maps to a 3.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources