---
updatedAt: 2026-10-14T21:49:02.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# Create a dashboard

Create a dashboard. The server assigns `id`, `createdAt`, `updatedAt`,
`createdBy`, and `updatedBy`.


# OpenAPI definition

````json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Observe by Snowflake API",
    "description": "# Overview\nWelcome to the Observe API Docs!\n\nThe Observe API is a RESTful API. POST bodies and responses are typically JSON-encoded.\n\n## Authentication\nRequests to the Observe API are authenticated with an API token. The token can be supplied using HTTP Bearer authentication:\n```\n// passing token as bearer token\ncurl -H \"Authorization: Bearer <customerid> <token>\" https://<customerid>.<observe-domain>.com/v1/...\n```\n",
    "version": "1.0.230307"
  },
  "servers": [
    {
      "url": "https://{customerid}.observeinc.com",
      "description": "US west server",
      "variables": {
        "customerid": {
          "default": "OBSERVE_CUSTOMERID",
          "description": "The customer ID for your instance."
        }
      }
    },
    {
      "url": "https://{customerid}.{cluster}.observeinc.com",
      "description": "Specific regional cluster (prod)",
      "variables": {
        "customerid": {
          "default": "OBSERVE_CUSTOMERID",
          "description": "The customer ID for your instance."
        },
        "cluster": {
          "enum": [
            "eu-1",
            "ap-1"
          ],
          "default": "eu-1",
          "description": "For regional clusters, choose one."
        }
      }
    },
    {
      "url": "https://{customerid}.{domain}.com",
      "description": "Specific Observe server",
      "variables": {
        "customerid": {
          "default": "OBSERVE_CUSTOMERID",
          "description": "The customer ID for your instance."
        },
        "domain": {
          "default": "OBSERVE_DOMAIN",
          "description": "The Observe domain for your instance."
        }
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/v1/dashboards": {
      "post": {
        "summary": "Create a dashboard",
        "description": "Create a dashboard. The server assigns `id`, `createdAt`, `updatedAt`,\n`createdBy`, and `updatedBy`.\n",
        "operationId": "CreateDashboard",
        "tags": [
          "Dashboards"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExpandParam"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Dashboard-CreateRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Dashboard created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Dashboard-Resource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ErrorResponse-400"
          },
          "401": {
            "$ref": "#/components/responses/ErrorResponse-401"
          },
          "403": {
            "$ref": "#/components/responses/ErrorResponse-403"
          },
          "409": {
            "$ref": "#/components/responses/ErrorResponse-409"
          },
          "429": {
            "$ref": "#/components/responses/ErrorResponse-429"
          },
          "5XX": {
            "$ref": "#/components/responses/ErrorResponse-5XX"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Authorization: Bearer <customerid> <apitoken>\n"
      }
    },
    "schemas": {
      "ObjectId": {
        "type": "string",
        "format": "ObjectId"
      },
      "User": {
        "title": "User",
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "title": "User Identifier",
            "$ref": "#/components/schemas/ObjectId"
          },
          "label": {
            "title": "User Label",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "locale": {
            "type": "string"
          }
        }
      },
      "ErrorMessage": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A stable, machine-readable identifier for the kind of error."
          },
          "message": {
            "type": "string",
            "description": "Error message"
          }
        },
        "required": [
          "type",
          "message"
        ]
      },
      "Time": {
        "type": "string",
        "format": "RFC3339"
      },
      "ObjectRef": {
        "title": "ObjectRef",
        "type": "object",
        "description": "A reference to another resource. Always carries the id; the optional `record` field carries the brief metadata, populated when expand=true. Brief expansion applies to one layer only — fields inside `record` that are themselves ObjectRefs (e.g. `record.managedBy`) are returned id-only, never with their own `record` populated. CEL filter expressions can deeper-resolve via lazy wrapper resolution if needed.\n",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "record": {
            "$ref": "#/components/schemas/ObjectBrief"
          }
        }
      },
      "ObjectBrief": {
        "title": "ObjectBrief",
        "type": "object",
        "description": "Brief record fields for an ObjectRef. This type is polymorphic: additional fields pointing to specific object types (e.g. dataset, dashboard, monitor) may be added in the future as needed.\n",
        "required": [
          "label",
          "description",
          "iconUrl",
          "managedBy"
        ],
        "properties": {
          "label": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "iconUrl": {
            "type": "string"
          },
          "managedBy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ObjectRef"
              },
              {
                "type": "null"
              }
            ],
            "description": "Owner/manager of this object. Always returned as an id-only ObjectRef even when the parent was requested with expand=true: `expand` populates a single layer of brief data, so `record.managedBy` on a brief is itself never expanded. Pass the inner id back through a separate request (or filter via CEL, which lazily resolves) to access the manager's brief."
          }
        }
      },
      "ObjectTags": {
        "title": "ObjectTags",
        "type": "object",
        "additionalProperties": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "description": "User-applied tags for organization and discovery, as a map of tag key\nto a list of values. For example: {\"env\": [\"prod\", \"staging\"], \"team\": [\"platform\"]}.\n"
      },
      "TimeNano": {
        "type": "string",
        "format": "RFC3339Nano"
      },
      "DurationNanoseconds": {
        "type": "string",
        "format": "int64 nanoseconds"
      },
      "FrontendTimeRangePreset": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "presetType"
        ],
        "properties": {
          "presetType": {
            "type": "string",
            "description": "Named Observe preset. Not a closed enum so newly added\npresets can round-trip without a schema bump.\n"
          }
        }
      },
      "FrontendTimeRangeRelative": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "millisFromCurrentTime"
        ],
        "properties": {
          "millisFromCurrentTime": {
            "type": "number",
            "format": "double",
            "description": "Custom relative window length in milliseconds."
          }
        }
      },
      "FrontendTimeRangeAbsolute": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "startTime",
          "endTime"
        ],
        "properties": {
          "startTime": {
            "$ref": "#/components/schemas/Time",
            "description": "Window start, as a UTC RFC 3339 timestamp."
          },
          "endTime": {
            "$ref": "#/components/schemas/Time",
            "description": "Window end, as a UTC RFC 3339 timestamp."
          }
        }
      },
      "FrontendTimeRange": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind"
        ],
        "description": "A time range, expressed in one of three ways. `kind` selects which of\n`preset`, `relative`, or `absolute` is present; the other two are\nabsent.\n  Preset:   `{ \"kind\": \"preset\", \"preset\": { \"presetType\": \"PAST_15_MINUTES\" } }`\n  Relative: `{ \"kind\": \"relative\", \"relative\": { \"millisFromCurrentTime\": 900000 } }`\n  Absolute: `{ \"kind\": \"absolute\", \"absolute\": { \"startTime\": \"2024-04-30T00:00:00.000Z\", \"endTime\": \"2024-05-01T00:00:00.000Z\" } }`\nKnown preset types include:\n  PAST_5_MINUTES, PAST_10_MINUTES, PAST_15_MINUTES,\n  PAST_30_MINUTES, PAST_60_MINUTES, PAST_2_HOURS,\n  PAST_4_HOURS, PAST_6_HOURS, PAST_12_HOURS,\n  PAST_24_HOURS, PAST_2_DAYS, PAST_3_DAYS, PAST_4_DAYS,\n  PAST_7_DAYS, PAST_14_DAYS, PAST_30_DAYS,\n  TODAY, YESTERDAY, THIS_DAY_LAST_WEEK, LAST_WEEK, LAST_MONTH.\nFor presets, `millisFromCurrentTime` is derivable and is not stored.\n",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "preset",
              "relative",
              "absolute"
            ]
          },
          "preset": {
            "$ref": "#/components/schemas/FrontendTimeRangePreset",
            "description": "Populated when `kind` is `preset`; absent otherwise."
          },
          "relative": {
            "$ref": "#/components/schemas/FrontendTimeRangeRelative",
            "description": "Populated when `kind` is `relative`; absent otherwise."
          },
          "absolute": {
            "$ref": "#/components/schemas/FrontendTimeRangeAbsolute",
            "description": "Populated when `kind` is `absolute`; absent otherwise."
          }
        }
      },
      "ColumnLink": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "label"
        ],
        "description": "The foreign key of a link column. Describes how this dataset joins to\nthe dataset the link points at, so the rule can filter through the link.\n",
        "properties": {
          "label": {
            "type": "string",
            "description": "Foreign-key label, used as the linked-column name in OPAL."
          },
          "targetDatasetId": {
            "$ref": "#/components/schemas/ObjectId",
            "description": "Dataset the link points at."
          },
          "linkType": {
            "type": "string",
            "description": "Foreign-key type (e.g. `linked`)."
          },
          "srcFields": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Source-side key fields on this dataset."
          },
          "dstFields": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Destination-side key fields on the target dataset."
          },
          "targetStageLabel": {
            "type": "string",
            "description": "Label of the target stage the link resolves against. Usually empty."
          }
        }
      },
      "ColumnRef": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "A reference to a column the rule filters on.",
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "description": "The column's OPAL type (e.g. `string`, `int64`, `link`). Used to\ncast the rule's values to the column's type when the filter is\ncompiled to OPAL. Optional: omit to compare the values without\ncasting them.\n"
          },
          "path": {
            "type": "string",
            "description": "Dotted path within an object/variant/JSON column (e.g.\n`data.user.status`). Omit for a whole-column reference.\n"
          },
          "link": {
            "$ref": "#/components/schemas/ColumnLink",
            "description": "Present when the column is a foreign-key / link column."
          }
        }
      },
      "FilterVerb": {
        "type": "string",
        "enum": [
          "filter",
          "ever",
          "always",
          "never",
          "filterLast"
        ],
        "description": "How the predicate is quantified over time. The default, `filter`, keeps\nindividual matching rows and is what event data normally wants. The\nother verbs quantify the predicate over each interval or resource\nlifetime, keeping a whole interval or not at all:\n  - filter     — keep each matching row (default)\n  - ever       — the predicate matched at least once during the interval\n  - always     — the predicate matched for the entire interval\n  - never      — the predicate never matched during the interval\n  - filterLast — the predicate matched at the interval's latest point\nOmit for `filter`.\n"
      },
      "IncludeExcludeValues": {
        "type": "array",
        "description": "A list of discrete values, each either included or excluded. Every value\nis carried as a string: write numbers as decimal strings (which keeps\nfull int64 precision) and booleans as `\"true\"` / `\"false\"`. Values are\ncast back to the column's type when the filter runs. A JSON `null` value\nmatches the OPAL null.\n",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "value",
            "exclude"
          ],
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "exclude": {
              "type": "boolean"
            }
          }
        }
      },
      "PredicateValues": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "values"
        ],
        "description": "Match the column against a list of discrete values.",
        "properties": {
          "values": {
            "$ref": "#/components/schemas/IncludeExcludeValues"
          }
        }
      },
      "TextMatchTerms": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "term"
          ],
          "properties": {
            "term": {
              "type": "string",
              "description": "The match text: a substring, a glob, a regex, a search term, or a\nsingle token, per the enclosing `match`.\n"
            },
            "exclude": {
              "type": "boolean",
              "description": "Exclude rows matching this term instead of keeping them. Default\n`false`. Must be `false` for the `contains` and `tokens` matches,\nwhich support inclusion only.\n"
            }
          }
        }
      },
      "PredicateText": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "match",
          "terms"
        ],
        "description": "Match text against the column, or across the whole row when\n`FilterRule.column` is absent. `match` chooses the syntax — substring,\nglob, regular expression, free-text search, or token lookup — and with\nit the OPAL function the rule compiles to. `match` is always stored\nexplicitly and is never guessed from the shape of the terms.\n",
        "properties": {
          "match": {
            "type": "string",
            "enum": [
              "contains",
              "glob",
              "regex",
              "search",
              "tokens"
            ],
            "description": "- contains — substring via `contains()` (case-sensitive) or `search()` (see `caseSensitive`)\n- glob     — glob `~` / `!~`\n- regex    — regular expression\n- search   — free-text `search()` term (unified search)\n- tokens   — token-index lookup\n"
          },
          "caseSensitive": {
            "type": "boolean",
            "description": "Only for the `contains` match. Default `true`."
          },
          "terms": {
            "$ref": "#/components/schemas/TextMatchTerms"
          },
          "paths": {
            "type": "array",
            "description": "Term groups scoped to individual JSON paths. Only for\n`match: regex` and `match: search`; each entry applies its terms to\none path within the column instead of the column as a whole.\n",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "path",
                "terms"
              ],
              "properties": {
                "path": {
                  "type": "string"
                },
                "terms": {
                  "$ref": "#/components/schemas/TextMatchTerms"
                }
              }
            }
          }
        }
      },
      "PredicateFilterCondition": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "condition"
        ],
        "description": "A raw OPAL boolean condition, for filters the other predicates cannot\nexpress. The condition is stored as an opaque string and is not parsed\nor validated here. Supply the boolean expression on its own, without a\nsurrounding filter verb — the verb comes from the enclosing\n`FilterRule`.\n",
        "properties": {
          "condition": {
            "type": "string",
            "description": "OPAL boolean expression, without a surrounding filter verb."
          },
          "disabledCondition": {
            "type": "string",
            "description": "A condition that is currently turned off, retained in the document\nso it can be restored later.\n"
          }
        }
      },
      "PredicateRange": {
        "type": "object",
        "additionalProperties": false,
        "description": "Keep rows whose column value falls in a numeric, time, or duration\nrange. `start` and `end` are inclusive by default; either may be null\nfor an open-ended range.\n",
        "properties": {
          "start": {
            "type": [
              "number",
              "null"
            ]
          },
          "end": {
            "type": [
              "number",
              "null"
            ]
          },
          "startUnit": {
            "type": "string",
            "description": "OPAL duration unit for `start` on duration columns (e.g. `ns`)."
          },
          "endUnit": {
            "type": "string",
            "description": "OPAL duration unit for `end` on duration columns."
          },
          "startExclusive": {
            "type": "boolean",
            "description": "Use `>` instead of `>=` for `start`. Default `false`."
          },
          "endExclusive": {
            "type": "boolean",
            "description": "Use `<` instead of `<=` for `end`. Default `false`."
          },
          "invert": {
            "type": "boolean",
            "description": "Filter out the range instead (wraps in `not (...)`). Default `false`."
          },
          "toColumnId": {
            "type": "string",
            "description": "Second column, for comparing one interval against another — for\nexample filtering on a resource's validity window, where the range\nspans from `column` to `toColumnId`.\n"
          }
        }
      },
      "PredicateCidr": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "values"
        ],
        "description": "Match an IPv4 address column against CIDR ranges. Each `value` is a\nCIDR string, and each may be included or excluded.\n",
        "properties": {
          "values": {
            "$ref": "#/components/schemas/IncludeExcludeValues"
          }
        }
      },
      "PredicateJsonValues": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "paths"
        ],
        "description": "Match values at one or more JSON paths inside an object, variant, or\nJSON column. Values listed under the same path are OR-ed together;\n`combine` controls how the separate paths combine with each other.\n",
        "properties": {
          "combine": {
            "type": "string",
            "enum": [
              "and",
              "or"
            ],
            "description": "How to combine across paths. Default `and`."
          },
          "paths": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "path",
                "values"
              ],
              "properties": {
                "path": {
                  "type": "string"
                },
                "excludePath": {
                  "type": "boolean",
                  "description": "Exclude (negate) this whole path. Default `false`."
                },
                "values": {
                  "$ref": "#/components/schemas/IncludeExcludeValues"
                }
              }
            }
          }
        }
      },
      "PredicateMultiColumn": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "fields",
          "rows"
        ],
        "description": "Filter on combinations of several columns or paths at once. Each entry in\n`rows` is one allowed combination — or, with `exclude`, one disallowed\ncombination — whose values line up positionally with `fields`.\n",
        "properties": {
          "fields": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "columnId"
              ],
              "properties": {
                "columnId": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              }
            }
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "exclude": {
            "type": "boolean",
            "description": "Exclude the listed tuples instead of including them. Default `false`."
          }
        }
      },
      "PredicateResourceInstance": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "instances"
        ],
        "description": "Narrow the results to specific resource instances. Each instance is\nidentified by its primary-key column/value pairs.\n",
        "properties": {
          "instances": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "resourceId"
              ],
              "properties": {
                "resourceId": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "name",
                      "value"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "value": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  }
                },
                "exclude": {
                  "type": "boolean",
                  "description": "Exclude this instance instead of including it. Default `false`."
                }
              }
            }
          }
        }
      },
      "PredicateParameter": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "parameters"
        ],
        "description": "Bind a column filter to one or more dashboard or worksheet parameters.\nThe values to filter on come from those parameters at query time, so the\nfilter follows whatever a viewer selects.\n",
        "properties": {
          "parameters": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "parameterId"
              ],
              "properties": {
                "parameterId": {
                  "type": "string"
                },
                "columnPath": {
                  "type": "string",
                  "description": "Filter against a path within an object/variant column."
                },
                "resourceInstanceField": {
                  "type": "string",
                  "description": "For a resource-instance parameter, filter against one of its\nkey fields rather than the whole instance.\n"
                }
              }
            }
          },
          "tagId": {
            "type": "string",
            "description": "Correlation-tag id, when the bound filter targets a tag."
          },
          "datasetKind": {
            "type": "string",
            "description": "Kind of the dataset being filtered (e.g. `Event`, `Resource`). The\nrule picks its OPAL filter verb from this, because a resource\ndataset filters differently than an event dataset. Omit for a\nplain row filter.\n"
          },
          "castToColumnType": {
            "type": "boolean",
            "description": "Whether to cast the bound parameter value to the column's type\nbefore comparing. Set `false` to compare the value as it is, with no\ntype coercion. Default `true`. Omit when default.\n"
          }
        }
      },
      "PredicateTag": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "values"
        ],
        "description": "Filter on the values of a correlation tag. Name the tag with `tagName`,\n`tagId`, or both. To negate the filter, mark the individual entries in\n`values` as excluded.\n",
        "properties": {
          "tagName": {
            "type": "string"
          },
          "tagId": {
            "type": "string"
          },
          "values": {
            "$ref": "#/components/schemas/IncludeExcludeValues"
          }
        }
      },
      "JoinField": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "columnId"
        ],
        "properties": {
          "columnId": {
            "type": "string"
          },
          "path": {
            "type": "string",
            "description": "Dotted path within the column, when the join key is a nested field."
          }
        }
      },
      "JoinKey": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "srcFields",
          "dstFields"
        ],
        "description": "Join specification for an `exists` predicate: `srcFields` on this dataset\nmap positionally to `dstFields` on the joined input.\n",
        "properties": {
          "srcFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JoinField"
            }
          },
          "dstFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JoinField"
            }
          }
        }
      },
      "PredicateExists": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "joinKey"
        ],
        "description": "Keep only rows that have a matching row in another dataset. A row is\nkept when it joins, on `joinKey`, to the input named by `inputLabel`.\n",
        "properties": {
          "joinKey": {
            "$ref": "#/components/schemas/JoinKey"
          },
          "inputLabel": {
            "type": "string",
            "description": "Name of the input holding the dataset to join against, as declared\nin the card's list of inputs.\n"
          },
          "streaming": {
            "type": "boolean",
            "description": "Evaluate the join as a streaming existence check. Default `false`.\nOmit when default.\n"
          }
        }
      },
      "PredicatePattern": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "values"
        ],
        "description": "Filter by log or data pattern cluster. Each `value` is a pattern\nidentifier produced by an earlier pattern-extraction stage in the\npipeline.\n",
        "properties": {
          "values": {
            "$ref": "#/components/schemas/IncludeExcludeValues"
          }
        }
      },
      "FilterPredicate": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "operator"
        ],
        "description": "The filter operation. `operator` selects which variant body is\npopulated.\n",
        "properties": {
          "operator": {
            "type": "string",
            "enum": [
              "values",
              "text",
              "range",
              "cidr",
              "jsonValues",
              "multiColumn",
              "resourceInstance",
              "parameter",
              "tag",
              "exists",
              "pattern",
              "filterCondition"
            ]
          },
          "values": {
            "$ref": "#/components/schemas/PredicateValues"
          },
          "text": {
            "$ref": "#/components/schemas/PredicateText"
          },
          "filterCondition": {
            "$ref": "#/components/schemas/PredicateFilterCondition"
          },
          "range": {
            "$ref": "#/components/schemas/PredicateRange"
          },
          "cidr": {
            "$ref": "#/components/schemas/PredicateCidr"
          },
          "jsonValues": {
            "$ref": "#/components/schemas/PredicateJsonValues"
          },
          "multiColumn": {
            "$ref": "#/components/schemas/PredicateMultiColumn"
          },
          "resourceInstance": {
            "$ref": "#/components/schemas/PredicateResourceInstance"
          },
          "parameter": {
            "$ref": "#/components/schemas/PredicateParameter"
          },
          "tag": {
            "$ref": "#/components/schemas/PredicateTag"
          },
          "exists": {
            "$ref": "#/components/schemas/PredicateExists"
          },
          "pattern": {
            "$ref": "#/components/schemas/PredicatePattern"
          }
        }
      },
      "FilterRule": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "predicate"
        ],
        "description": "One filter rule: apply `predicate` to `column`, quantified by `verb`.\nSet `enabled: false` to keep a rule in the document but leave it out of\nthe query.\n",
        "properties": {
          "column": {
            "$ref": "#/components/schemas/ColumnRef",
            "description": "Target column. Absent for predicates that carry their own targets\n(`multiColumn`, `resourceInstance`, `exists`) or that run globally\n(a `text` match with no column).\n"
          },
          "verb": {
            "$ref": "#/components/schemas/FilterVerb"
          },
          "enabled": {
            "type": "boolean",
            "description": "Default `true`. Omit when enabled."
          },
          "predicate": {
            "$ref": "#/components/schemas/FilterPredicate"
          }
        }
      },
      "DatasetFilter": {
        "type": "object",
        "additionalProperties": false,
        "description": "A filterable dataset that acts as a cross-card filter source.\nCards reference it via `Input.source.datasetFilter`. The\ncurrent UI allows creating at most one per dashboard.\nNormally identified by `datasetId`. When that id is absent, or it\ndoes not exist in this environment, the dataset is looked up by\n`name` (or `path`). A document copied between environments keeps\nits names; the ids differ.\n",
        "properties": {
          "id": {
            "type": "string",
            "description": "Stable identity of this dataset filter, used by a card input that\nbinds to one specific filter rather than to the primary one.\nOptional for a document with a single, primary dataset filter.\n"
          },
          "datasetId": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "name": {
            "type": "string",
            "description": "Full dataset name (label), e.g. \"kubernetes/Pod\". Optional but\nencouraged; used to look the dataset up when `datasetId` is absent\nor does not exist in this environment.\n"
          },
          "path": {
            "type": "string",
            "description": "Slash-delimited dataset path. Optional but encouraged."
          },
          "filterActions": {
            "type": "array",
            "description": "The constraints this filter applies, each a `FilterRule`. These are\nthe filters a viewer sees and can change in the filter bar.\n",
            "items": {
              "$ref": "#/components/schemas/FilterRule"
            }
          },
          "preFilterActions": {
            "type": "array",
            "description": "Constraints applied to the dataset before `filterActions`. Same\n`FilterRule` shape, but these are fixed by the document's author and\nare not shown in the filter bar.\n",
            "items": {
              "$ref": "#/components/schemas/FilterRule"
            }
          },
          "autoApply": {
            "type": "boolean",
            "description": "When `true`, the filter is automatically applied to new\ncards added to the dashboard. Default `true`. Omit when\ndefault.\n"
          }
        }
      },
      "ValueKindResource": {
        "type": "object",
        "additionalProperties": false,
        "description": "A resource-instance parameter: the viewer picks one specific\nresource — a row identified by its primary key — from a dataset.\n`datasetId` may be absent for a parameter not yet bound to a\ndataset; such a parameter is stored as-is, but cannot resolve a\nvalue until a dataset is set.\n",
        "properties": {
          "datasetId": {
            "$ref": "#/components/schemas/ObjectId"
          }
        }
      },
      "ValueSourceCustom": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "values"
        ],
        "description": "A fixed list of values, authored by hand.",
        "properties": {
          "values": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Map of value -> display label."
          }
        }
      },
      "ValueSourceDataset": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "datasetId"
        ],
        "description": "Values are the distinct entries of a column in a dataset.\n",
        "properties": {
          "datasetId": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "columnId": {
            "type": "string"
          }
        }
      },
      "ValueSourceCard": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "cardId"
        ],
        "description": "Values are the distinct entries of a column in another card's\nresult.\n",
        "properties": {
          "cardId": {
            "type": "string"
          },
          "columnId": {
            "type": "string"
          }
        }
      },
      "ValueSource": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "source"
        ],
        "properties": {
          "source": {
            "type": "string",
            "enum": [
              "custom",
              "dataset",
              "card"
            ]
          },
          "custom": {
            "$ref": "#/components/schemas/ValueSourceCustom",
            "description": "Populated when `source` is `custom`; absent otherwise."
          },
          "dataset": {
            "$ref": "#/components/schemas/ValueSourceDataset",
            "description": "Populated when `source` is `dataset`; absent otherwise."
          },
          "card": {
            "$ref": "#/components/schemas/ValueSourceCard",
            "description": "Populated when `source` is `card`; absent otherwise."
          }
        }
      },
      "ValueKindScalar": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "scalarType"
        ],
        "description": "Scalar value parameter. The user enters or selects a simple\nvalue (string, number, or boolean).\n",
        "properties": {
          "scalarType": {
            "type": "string",
            "enum": [
              "string",
              "number",
              "bool"
            ]
          },
          "valueSource": {
            "$ref": "#/components/schemas/ValueSource",
            "description": "For select parameters (viewType `singleSelect` / `multiSelect`),\nwhere the dropdown's candidate values come from. Absent for\nfree-entry (`textInput` / `numberInput`) parameters.\n"
          }
        }
      },
      "ValueKindCorrelationTag": {
        "type": "object",
        "additionalProperties": false,
        "description": "Correlation tag parameter. The user selects one or more values\nof a correlation tag (e.g. `k8s.pod.name`). Expressions bind to\nthis parameter via `FilterParameter` actions.\n\n`tagName` may be absent for a parameter not yet bound to a tag,\nthe same way `ValueKindResource.datasetId` may be absent for a\nparameter not yet bound to a dataset. Such a parameter is stored\nas-is: the picker lists no values and cannot auto-bind a column\nuntil a tag is set.\n",
        "properties": {
          "tagName": {
            "type": "string"
          }
        }
      },
      "ValueKind": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "resource",
              "scalar",
              "correlationTag"
            ]
          },
          "resource": {
            "$ref": "#/components/schemas/ValueKindResource",
            "description": "Populated when `kind` is `resource`; absent otherwise."
          },
          "scalar": {
            "$ref": "#/components/schemas/ValueKindScalar",
            "description": "Populated when `kind` is `scalar`; absent otherwise."
          },
          "correlationTag": {
            "$ref": "#/components/schemas/ValueKindCorrelationTag",
            "description": "Populated when `kind` is `correlationTag`; absent otherwise."
          }
        }
      },
      "ParameterDefaultValueDatasetRef": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "datasetId": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "datasetPath": {
            "type": "string"
          },
          "stageId": {
            "type": "string"
          }
        }
      },
      "ParameterDefaultValueCell": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "bool": {
            "type": "boolean"
          },
          "float64": {
            "type": "number",
            "format": "double"
          },
          "int64": {
            "description": "A 64-bit integer. Normally a decimal string, which preserves\nfull precision; may also be a JSON number or `null`.\n",
            "type": [
              "string",
              "number",
              "null"
            ]
          },
          "string": {
            "type": [
              "string",
              "null"
            ]
          },
          "timestamp": {
            "$ref": "#/components/schemas/TimeNano"
          },
          "duration": {
            "$ref": "#/components/schemas/DurationNanoseconds"
          },
          "datasetref": {
            "$ref": "#/components/schemas/ParameterDefaultValueDatasetRef"
          },
          "nullValueType": {
            "type": "string"
          }
        }
      },
      "ParameterDefaultValue": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "bool": {
            "type": "boolean"
          },
          "float64": {
            "type": "number",
            "format": "double"
          },
          "int64": {
            "description": "A 64-bit integer. Normally a decimal string, which preserves\nfull precision; may also be a JSON number or `null`.\n",
            "type": [
              "string",
              "number",
              "null"
            ]
          },
          "string": {
            "type": [
              "string",
              "null"
            ]
          },
          "timestamp": {
            "$ref": "#/components/schemas/TimeNano"
          },
          "duration": {
            "$ref": "#/components/schemas/DurationNanoseconds"
          },
          "array": {
            "description": "A list of values. JSON `null` means empty. Otherwise an object\nwith a `value` array — not a bare JSON array. Items are scalar\ncells; nested arrays and resource links are not allowed.\n",
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": false,
            "properties": {
              "value": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ParameterDefaultValueCell"
                }
              }
            }
          },
          "link": {
            "description": "A resource-instance value, or JSON `null` when unset.\n",
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": false,
            "properties": {
              "datasetId": {
                "$ref": "#/components/schemas/ObjectId"
              },
              "storedLabel": {
                "type": "string"
              },
              "primaryKeyValue": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "value": {
                      "$ref": "#/components/schemas/ParameterDefaultValueCell"
                    }
                  }
                }
              }
            }
          },
          "datasetref": {
            "$ref": "#/components/schemas/ParameterDefaultValueDatasetRef"
          },
          "nullValueType": {
            "type": "string"
          }
        }
      },
      "Parameter": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "label",
          "valueKind"
        ],
        "description": "A viewer-controllable value that cards reference from OPAL as\n`$parameterId`. `valueKind` fixes what sort of value it holds and\n`viewType` chooses the input control. Dashboards can place a parameter\non the grid as a card; worksheets cannot.\n",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "label": {
            "type": "string",
            "minLength": 1
          },
          "viewType": {
            "type": "string",
            "enum": [
              "resourceInput",
              "dropdown",
              "textInput",
              "numberInput",
              "singleSelect",
              "multiSelect"
            ],
            "description": "UI widget hint. Defaults vary by `valueKind.kind`:\n- `resource` → `resourceInput`\n- `scalar` with a `valueSource` → `singleSelect`\n- `scalar` without → `textInput`\nOmit when the default applies.\n"
          },
          "valueKind": {
            "$ref": "#/components/schemas/ValueKind"
          },
          "allowEmpty": {
            "type": "boolean",
            "description": "Default `true`. Omit when default."
          },
          "hidden": {
            "type": "boolean",
            "description": "When `true`, the parameter's input control is not rendered to\nviewers; the parameter still drives queries and (per the\nhide-sections feature) section visibility. Set only at creation\ntime. Default `false`. Omit when default.\n"
          },
          "defaultValue": {
            "description": "The parameter's default value, as a tagged object with exactly\none key naming the value's type. For a string parameter,\n`{ \"string\": null }` means an empty control that encodes as OPAL\nnull, while `{ \"string\": \"\" }` encodes as an empty string. Omit\nwhen there is no default.\n",
            "$ref": "#/components/schemas/ParameterDefaultValue"
          },
          "customEmptyValueLabel": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "InputSourceDataset": {
        "type": "object",
        "additionalProperties": false,
        "minProperties": 1,
        "description": "A dataset binding. Normally identified by `id`, but `id` may be absent\nfor a by-name binding — a mode where the input references a dataset only\nby `name`/`path` (e.g. an input resolved across tenants, where IDs\ndiffer but names match) — in which case `name` or `path` carries the\nreference.\n",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "name": {
            "type": "string",
            "description": "Human-readable dataset name. Optional but\nencouraged — aids cross-tenant migration where\nIDs differ but names match.\n"
          },
          "path": {
            "type": "string",
            "description": "Slash-delimited dataset path, e.g.\n\"kubernetes/Pod\". Optional but encouraged.\n"
          }
        }
      },
      "InputSourceDatasetFilter": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "A binding to one of the additional dataset filters carried in\n`ui.additionalDatasetFilters`, named by `id`. The primary\n`definition.datasetFilter` needs no body: an input binds it by setting\n`type: datasetFilter` and omitting this object.\n",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id of an entry in `ui.additionalDatasetFilters`."
          }
        }
      },
      "InputSource": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "dataset",
              "card",
              "datasetFilter"
            ]
          },
          "dataset": {
            "$ref": "#/components/schemas/InputSourceDataset",
            "description": "Populated when `type` is `dataset`; absent otherwise."
          },
          "card": {
            "type": "string",
            "description": "Populated when `type` is `card`; absent otherwise.\nReferences another card's `id`.\n"
          },
          "datasetFilter": {
            "$ref": "#/components/schemas/InputSourceDatasetFilter",
            "description": "Names which dataset filter to bind, for documents that have more\nthan one. Omit to bind the primary `definition.datasetFilter` —\nin that case `type: datasetFilter` is enough on its own. Absent\nfor other types.\n"
          }
        }
      },
      "Input": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "source"
        ],
        "description": "A named data source for a card's pipeline, bound in OPAL as `@name`.\nThe data itself can come from a dataset, another card's result, or the\ndocument's dataset filter.\n",
        "properties": {
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "Data",
              "Reference"
            ],
            "description": "How the pipeline uses this input. `Data` (the default; omit) is a\nprimary stream of rows. `Reference` is a lookup binding — a\ndataset joined in to enrich the data rather than queried\ndirectly.\n"
          },
          "isUserInput": {
            "type": "boolean",
            "description": "Whether a user added this input explicitly, rather than it being\ngenerated from the pipeline. Editor state only — it does not\naffect how the query runs. Default `false`; omit for generated\ninputs.\n"
          },
          "source": {
            "$ref": "#/components/schemas/InputSource"
          }
        }
      },
      "CardContent": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "pipeline",
          "inputs"
        ],
        "description": "A card's query: the OPAL pipeline, the data it runs over, and — for\ncards built with the visual query builder — the builder's state.\n",
        "properties": {
          "pipeline": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "OPAL source, as an array of lines (one statement / line per\nelement; join with newline to reconstruct the source).\nNewlines are significant in OPAL, so the array form avoids\nembedded escape sequences and produces clean diffs.\nCanonical when `builderDef` is absent. Derived (read-only)\nwhen `builderDef` is present.\n"
          },
          "inputs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Input"
            },
            "description": "Data sources for this card's pipeline. Each input provides\na named binding accessible via `@name` in OPAL.\n"
          },
          "builderDef": {
            "type": "object",
            "additionalProperties": false,
            "description": "State for the visual query builder. This version of the schema\ndoes not give the builder's expression surface a typed shape; it\nis carried opaquely under `ui`.\n\nWhen `builderDef` is present the builder is the source of truth\nand `pipeline` is only a rendering of it, so clients MUST NOT\nedit `pipeline` directly. When `builderDef` is absent, `pipeline`\nis the source of truth.\n",
            "properties": {
              "ui": {
                "type": "object",
                "additionalProperties": true,
                "description": "The builder definition. Opaque: stored and returned\nunchanged, and its contents are not validated.\n"
              }
            }
          }
        }
      },
      "VizType": {
        "type": "string",
        "description": "The chart type. Also selects which `VisualizationOptions`\nvariant applies — `Visualization.type` and\n`VisualizationOptions.type` always match.\n\nTypes suffixed `_deprecated` are superseded by a current type\nof the same shape (for example `line` supersedes\n`timeseries_deprecated`) and SHOULD NOT be used in new\ncontent. The types listed after them are specialized charts\nthat have no current equivalent and are not deprecated.\n\n`anomaly` is read-only. The product has no editor for it, and\nonly the monitor view produces one. Preserve it when updating\na dashboard that already has one, but do not author it.\n",
        "enum": [
          "line",
          "bar",
          "area",
          "scatter",
          "table",
          "singleStat",
          "heatmap",
          "topList",
          "changeOverTime",
          "anomaly",
          "customVega",
          "customVegaLite",
          "pie",
          "timeseries_deprecated",
          "bar_deprecated",
          "stacked_area_deprecated",
          "singlevalue_deprecated",
          "list_deprecated",
          "valueovertime_deprecated",
          "stacked_bar_deprecated",
          "circular",
          "histogram",
          "gantt",
          "force_displacement",
          "dag",
          "geographic_map",
          "choropleth_map",
          "flame",
          "hex",
          "waterfall"
        ]
      },
      "FieldRefNested": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "path"
        ],
        "description": "A field addressed by id and nested path.",
        "properties": {
          "id": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        }
      },
      "FieldRefTag": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "tagId"
        ],
        "description": "A correlation-tag reference.",
        "properties": {
          "tagId": {
            "type": "string"
          }
        }
      },
      "FieldRefSrcField": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "column",
              "nested"
            ]
          },
          "column": {
            "type": "string",
            "description": "Column id. Populated when `type` is `column`; absent otherwise."
          },
          "nested": {
            "$ref": "#/components/schemas/FieldRefNested",
            "description": "Populated when `type` is `nested`; absent otherwise."
          }
        }
      },
      "FieldRefLink": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "srcFields"
        ],
        "description": "A link/resource field composed of one or more source fields, with\nan optional display label.\n",
        "properties": {
          "label": {
            "type": "string"
          },
          "srcFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldRefSrcField"
            }
          }
        }
      },
      "FieldRefPrimaryKey": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "srcFields"
        ],
        "description": "A primary key composed of one or more source fields.",
        "properties": {
          "srcFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldRefSrcField"
            }
          }
        }
      },
      "FieldRef": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "description": "Reference to a column / field. The `column` variant is a plain\ncolumn id; the others cover nested paths, correlation tags,\nlink/resource source fields, and primary keys.\n",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "column",
              "nested",
              "tag",
              "link",
              "primaryKey"
            ]
          },
          "column": {
            "type": "string",
            "description": "Column id. Populated when `type` is `column`; absent otherwise."
          },
          "nested": {
            "$ref": "#/components/schemas/FieldRefNested",
            "description": "Populated when `type` is `nested`; absent otherwise."
          },
          "tag": {
            "$ref": "#/components/schemas/FieldRefTag",
            "description": "Populated when `type` is `tag`; absent otherwise."
          },
          "link": {
            "$ref": "#/components/schemas/FieldRefLink",
            "description": "Populated when `type` is `link`; absent otherwise."
          },
          "primaryKey": {
            "$ref": "#/components/schemas/FieldRefPrimaryKey",
            "description": "Populated when `type` is `primaryKey`; absent otherwise."
          }
        }
      },
      "LegendConfig": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "visible": {
            "type": "boolean",
            "description": "Default `true`. Omit when default."
          },
          "layout": {
            "type": "string",
            "enum": [
              "list",
              "table"
            ],
            "description": "Default `list`. Omit when default."
          },
          "placement": {
            "type": "string",
            "enum": [
              "top",
              "bottom",
              "left",
              "right"
            ],
            "description": "Where the legend sits relative to the chart. There is no\nsingle stored default: the editor falls back to `bottom`\nwhen this is absent, and an older comment says `right`.\nPreserve whatever was stored.\n"
          },
          "showNullAsOption": {
            "type": "string",
            "enum": [
              "null",
              "Empty String",
              "Hidden",
              "Custom"
            ],
            "description": "How a null group key is labeled. Editor fallback is\n`\"null\"` when absent.\n"
          },
          "showNullAsString": {
            "type": "string",
            "description": "Custom label used when `showNullAsOption` is `Custom`.\nAlso stored on its own; keep a non-empty value even when\nthe option is absent.\n"
          },
          "maxRows": {
            "type": "integer",
            "description": "Maximum number of legend rows. A stored `0` is kept."
          },
          "listSort": {
            "type": "object",
            "additionalProperties": false,
            "description": "Sort for a list legend. `type` falls back to `none` and\n`direction` to `asc` when absent.\n",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "none",
                  "alphabetical"
                ]
              },
              "direction": {
                "type": "string",
                "enum": [
                  "asc",
                  "desc"
                ]
              }
            }
          },
          "tableSort": {
            "type": "object",
            "additionalProperties": false,
            "description": "Sort for a table legend. `function` uses the same\naggregate names as `tableAggregates` (`Last`, `Min`,\n`Max`, `Avg`, `Sum`).\n",
            "properties": {
              "direction": {
                "type": "string",
                "enum": [
                  "asc",
                  "desc"
                ]
              },
              "function": {
                "type": "string",
                "enum": [
                  "Last",
                  "Min",
                  "Max",
                  "Avg",
                  "Sum"
                ]
              }
            }
          },
          "tableAggregates": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "For `layout: table`, the per-series summary columns shown in\nthe legend, in order (e.g. \"Last\", \"Min\", \"Max\", \"Avg\",\n\"Sum\"). Absent when the legend shows no summary columns.\n"
          }
        }
      },
      "Threshold": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "value",
          "color"
        ],
        "properties": {
          "value": {
            "type": "number",
            "format": "double"
          },
          "op": {
            "type": "string",
            "enum": [
              "gt",
              "lt"
            ],
            "description": "Default `gt`. Omit when default."
          },
          "color": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "fillRegion": {
            "type": "boolean",
            "description": "Default `false`. Omit when default."
          }
        }
      },
      "ColorSelection": {
        "type": "string",
        "description": "A named swatch color or an arbitrary CSS color string."
      },
      "AnnotationInput": {
        "type": "object",
        "additionalProperties": false,
        "description": "Where the annotation query reads from. At least one of\n`datasetId`, `datasetName`, `datasetPath`, `stageId`, or\n`parameterId` identifies the source. `inputName` is the name\nthe pipeline uses for that binding.\n",
        "properties": {
          "datasetId": {
            "type": "string"
          },
          "datasetName": {
            "type": "string"
          },
          "datasetPath": {
            "type": "string"
          },
          "stageId": {
            "type": "string"
          },
          "parameterId": {
            "type": "string"
          },
          "inputName": {
            "type": "string"
          }
        }
      },
      "AnnotationBinding": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "start"
        ],
        "properties": {
          "start": {
            "$ref": "#/components/schemas/FieldRef",
            "description": "Timestamp field for the marker or the range start."
          },
          "end": {
            "$ref": "#/components/schemas/FieldRef",
            "description": "Timestamp field for the range end."
          }
        }
      },
      "QueryAnnotation": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "input"
        ],
        "description": "Each row of `input` is one mark. A timestamp column places it\non the x-axis. Two timestamp columns draw a range; one draws\na marker.\n",
        "properties": {
          "input": {
            "$ref": "#/components/schemas/AnnotationInput"
          },
          "binding": {
            "$ref": "#/components/schemas/AnnotationBinding",
            "description": "Timestamp columns that place the marks. Omit to use the\ndataset's valid-from column, and valid-to when that\ncolumn exists.\n"
          },
          "selectedTooltipFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldRef"
            },
            "description": "Columns shown in the tooltip. Omit to show every column.\nEach entry is a column, a link, a tag, a nested path, or\na primary key.\n"
          }
        }
      },
      "AnnotationPosition": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "value",
              "text"
            ]
          },
          "value": {
            "type": "number",
            "format": "double",
            "description": "Populated when `type` is `value`; absent otherwise."
          },
          "text": {
            "type": "string",
            "description": "Populated when `type` is `text`; absent otherwise."
          }
        }
      },
      "AnnotationInfo": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "key"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "description": "Tooltip cell value. A string, number, boolean, or null."
          },
          "type": {
            "type": "string",
            "description": "Field type used to format `value`."
          }
        }
      },
      "StaticAnnotation": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind",
          "orientation",
          "color"
        ],
        "description": "A marker or a range drawn at a fixed position. `kind` selects\nwhich position fields apply: `at` for a marker, `start` and\n`end` for a range.\n",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "marker",
              "range"
            ]
          },
          "orientation": {
            "type": "string",
            "enum": [
              "x",
              "y"
            ],
            "description": "`x` draws a vertical mark. `y` draws a horizontal mark."
          },
          "color": {
            "$ref": "#/components/schemas/ColorSelection"
          },
          "title": {
            "type": "string"
          },
          "alwaysVisible": {
            "type": "boolean",
            "description": "Drawn at full opacity even when other marks are faded.\nDefault `false`. Omit when default.\n"
          },
          "backgroundColor": {
            "type": "string",
            "description": "Fill behind a range. Meaningful when `kind` is `range`."
          },
          "at": {
            "$ref": "#/components/schemas/AnnotationPosition",
            "description": "Marker position. Present when `kind` is `marker`."
          },
          "start": {
            "type": "number",
            "format": "double",
            "description": "Range start. Present when `kind` is `range`."
          },
          "end": {
            "type": "number",
            "format": "double",
            "description": "Range end. Present when `kind` is `range`."
          },
          "info": {
            "type": "array",
            "description": "Extra rows shown in the tooltip.",
            "items": {
              "$ref": "#/components/schemas/AnnotationInfo"
            }
          }
        }
      },
      "AnnotationSource": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "query",
              "static"
            ]
          },
          "query": {
            "$ref": "#/components/schemas/QueryAnnotation",
            "description": "Populated when `type` is `query`; absent otherwise."
          },
          "static": {
            "$ref": "#/components/schemas/StaticAnnotation",
            "description": "Populated when `type` is `static`; absent otherwise."
          }
        }
      },
      "Annotation": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "source"
        ],
        "description": "A mark drawn on the chart. `source` is either another query,\nwhich draws one mark per row, or a fixed position.\n",
        "properties": {
          "enabled": {
            "type": "boolean",
            "description": "Whether the annotation is drawn. Default `true`. Omit\nwhen default.\n"
          },
          "label": {
            "type": "string",
            "description": "Text shown with the annotation. On a query source it is\nprepended to the row's label.\n"
          },
          "color": {
            "$ref": "#/components/schemas/ColorSelection"
          },
          "source": {
            "$ref": "#/components/schemas/AnnotationSource"
          }
        }
      },
      "AxisBounds": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "start": {
            "type": "number",
            "format": "double"
          },
          "end": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "SequentialColorScale": {
        "type": "string",
        "enum": [
          "Blues",
          "Greens",
          "Greys",
          "Oranges",
          "Purples",
          "Reds",
          "BuGn",
          "BuPu",
          "GnBu",
          "OrRd",
          "PuBu",
          "PuBuGn",
          "PuRd",
          "RdPu",
          "YlGn",
          "YlGnBu",
          "YlOrBr",
          "YlOrRd",
          "Viridis",
          "Inferno",
          "Magma",
          "Plasma",
          "Warm",
          "Cool",
          "Cubehelix",
          "Turbo",
          "Cividis"
        ]
      },
      "DivergingColorScale": {
        "type": "string",
        "enum": [
          "BrBG",
          "PRGn",
          "PiYG",
          "PuOr",
          "RdBu",
          "RdGy",
          "RdYlBu",
          "RdYlGn",
          "Spectral"
        ]
      },
      "DivergingScaleMidpoint": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "preset",
              "value"
            ]
          },
          "preset": {
            "type": "string",
            "enum": [
              "average",
              "zero",
              "midpointLowerUpper"
            ],
            "description": "Populated when `type` is `preset`; absent otherwise."
          },
          "value": {
            "type": "number",
            "format": "double",
            "description": "Populated when `type` is `value`; absent otherwise."
          }
        }
      },
      "ColorScaleConfig": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "colorScaleType"
        ],
        "properties": {
          "colorScaleType": {
            "type": "string",
            "enum": [
              "Sequential",
              "Diverging"
            ]
          },
          "bounds": {
            "$ref": "#/components/schemas/AxisBounds"
          },
          "sequentialColorScale": {
            "$ref": "#/components/schemas/SequentialColorScale"
          },
          "divergingColorScale": {
            "$ref": "#/components/schemas/DivergingColorScale"
          },
          "divergingScaleMidpoint": {
            "$ref": "#/components/schemas/DivergingScaleMidpoint"
          },
          "reverseColors": {
            "type": "boolean"
          },
          "target": {
            "type": "string",
            "enum": [
              "text",
              "fill",
              "pill"
            ],
            "description": "Cell color target (table / single-stat contexts)."
          },
          "ignoreMinimum": {
            "type": "boolean"
          }
        }
      },
      "ThresholdsConfig": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "startingColor"
        ],
        "description": "Banded coloring driven by numeric thresholds: each band colors\nvalues above its `value`. This is separate from\n`Visualization.thresholds[]`, which draws threshold lines and\nregions on a chart.\n",
        "properties": {
          "startingColor": {
            "$ref": "#/components/schemas/ColorSelection"
          },
          "defaultColor": {
            "$ref": "#/components/schemas/ColorSelection"
          },
          "thresholds": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "value",
                "exceedsColor"
              ],
              "properties": {
                "value": {
                  "type": "number",
                  "format": "double"
                },
                "exceedsColor": {
                  "$ref": "#/components/schemas/ColorSelection"
                }
              }
            }
          },
          "drawType": {
            "type": "string",
            "enum": [
              "Lines",
              "Dashed lines",
              "Filled regions",
              "Filled regions & lines",
              "Filled regions & dashed lines"
            ]
          },
          "mode": {
            "type": "string",
            "enum": [
              "Value",
              "Percentage"
            ]
          },
          "visible": {
            "type": "boolean"
          },
          "target": {
            "type": "string",
            "enum": [
              "text",
              "fill",
              "pill"
            ],
            "description": "Cell color target (table contexts)."
          }
        }
      },
      "ColumnFormatting": {
        "type": "object",
        "additionalProperties": false,
        "description": "Formatting rules for a single column.",
        "properties": {
          "valueColors": {
            "type": "array",
            "description": "Map specific values to colors.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "value",
                "color"
              ],
              "properties": {
                "value": {
                  "type": "string"
                },
                "color": {
                  "type": "string"
                }
              }
            }
          },
          "colorTarget": {
            "type": "string",
            "enum": [
              "pill",
              "text",
              "fill"
            ],
            "description": "Where to apply value colors. Default `pill`. Omit when\ndefault.\n"
          },
          "colorScale": {
            "$ref": "#/components/schemas/ColorScaleConfig",
            "description": "Continuous color scale for numeric cells in this column.\nUses the shared `ColorScaleConfig` so both the sequential\nand diverging scale selections, the diverging midpoint,\nbounds, and the `reverseColors` / `ignoreMinimum` toggles\nround-trip losslessly.\n"
          },
          "numberFormat": {
            "type": "object",
            "additionalProperties": true,
            "description": "Intl.NumberFormat options for the column (e.g. notation,\nmaximumSignificantDigits).\n"
          },
          "thresholds": {
            "$ref": "#/components/schemas/ThresholdsConfig",
            "description": "Banded conditional coloring for numeric cells in this column.\n"
          },
          "prefix": {
            "type": "string"
          },
          "suffix": {
            "type": "string"
          }
        }
      },
      "TableConfig": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "viewType": {
            "type": "string",
            "enum": [
              "auto",
              "flexible",
              "compact",
              "log"
            ],
            "description": "Row density and layout of the table. Default `auto`,\nwhich picks a density based on the result. Omit when\ndefault.\n"
          },
          "columnWidths": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "double",
              "minimum": 1
            }
          },
          "columnVisibility": {
            "type": "object",
            "additionalProperties": {
              "type": "boolean"
            }
          },
          "columnOrder": {
            "type": "array",
            "description": "User column order. Each entry places `column` at\n`index`. Indexes may be sparse and are not rewritten\nto 0..n-1.\n",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "index",
                "column"
              ],
              "properties": {
                "index": {
                  "type": "number"
                },
                "column": {
                  "type": "string"
                }
              }
            }
          },
          "conditionalFormatting": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/ColumnFormatting"
            },
            "description": "Per-column conditional formatting rules. Keys are column\nnames. Absent columns have no special formatting.\n"
          },
          "sort": {
            "type": "array",
            "description": "How the table's rows are sorted. Each entry sorts by one\nresult column, and earlier entries take precedence. This\nsorts the presented result and does not change the card's\nOPAL pipeline. Omit to leave the result in its natural\norder.\n",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "column",
                "ascending"
              ],
              "properties": {
                "column": {
                  "type": "string"
                },
                "ascending": {
                  "type": "boolean"
                }
              }
            }
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of rows to show. This limits the presented\nresult and does not add a `limit` verb to the card's OPAL\npipeline. Omit to use the view default.\n"
          }
        }
      },
      "LogScale": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "use": {
            "type": "boolean"
          },
          "base": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "CellNumberFormat": {
        "type": "object",
        "additionalProperties": false,
        "description": "Number formatting for a value axis or table cell. `options`\nextends `Intl.NumberFormat` options with Observe metric units.\n",
        "properties": {
          "options": {
            "type": "object",
            "additionalProperties": true,
            "description": "Intl.NumberFormat options (notation, maximumSignificantDigits,\netc.) plus `metricUnit`, `metricUnitPrecision`, `isCustomUnit`.\n"
          },
          "locale": {
            "type": "string"
          },
          "colorScale": {
            "$ref": "#/components/schemas/ColorScaleConfig"
          },
          "thresholds": {
            "$ref": "#/components/schemas/ThresholdsConfig"
          }
        }
      },
      "AxisConfig": {
        "type": "object",
        "additionalProperties": false,
        "description": "Configuration for a single axis: whether it is shown, its label,\nbounds, scale, and number formatting. On a value axis\n`valueFormat` uses all of `CellNumberFormat`; on category and\ntime axes only its `options` apply.\n",
        "properties": {
          "show": {
            "type": "boolean"
          },
          "label": {
            "type": "string"
          },
          "domain": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "range": {
                "$ref": "#/components/schemas/AxisBounds"
              },
              "type": {
                "type": "string",
                "enum": [
                  "Query Window",
                  "Fit to Data"
                ]
              }
            }
          },
          "scaleType": {
            "$ref": "#/components/schemas/LogScale"
          },
          "valueFormat": {
            "$ref": "#/components/schemas/CellNumberFormat"
          },
          "hideGridLines": {
            "type": "boolean"
          },
          "orient": {
            "type": "string",
            "enum": [
              "left",
              "right",
              "top",
              "bottom"
            ]
          }
        }
      },
      "ColorConfig": {
        "type": "object",
        "additionalProperties": false,
        "description": "Color encoding. `field` selects the column driving color (often\nthe same series as `Visualization.groupBy`); `config` carries the\nstyling.\n",
        "properties": {
          "field": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "config": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "colorConfigType": {
                "type": "string",
                "enum": [
                  "Color",
                  "Threshold",
                  "Mapping",
                  "Range"
                ]
              },
              "color": {
                "$ref": "#/components/schemas/ColorSelection"
              },
              "thresholds": {
                "$ref": "#/components/schemas/ThresholdsConfig"
              },
              "colorMapping": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "key",
                    "color"
                  ],
                  "properties": {
                    "key": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "color": {
                      "$ref": "#/components/schemas/ColorSelection"
                    },
                    "matchType": {
                      "type": "string",
                      "enum": [
                        "regex"
                      ]
                    }
                  }
                }
              },
              "colorScale": {
                "$ref": "#/components/schemas/ColorScaleConfig"
              }
            }
          }
        }
      },
      "LineCurveType": {
        "type": "string",
        "enum": [
          "Linear",
          "Curve",
          "Step"
        ]
      },
      "ChartAreaFillType": {
        "type": "string",
        "enum": [
          "SolidFill",
          "TranslucentFill",
          "GradientFill",
          "NoFill"
        ]
      },
      "LineConfig": {
        "type": "object",
        "additionalProperties": false,
        "description": "Line / area drawing options.",
        "properties": {
          "showPoints": {
            "type": "boolean"
          },
          "showValues": {
            "type": "boolean"
          },
          "curve": {
            "$ref": "#/components/schemas/LineCurveType"
          },
          "areaFillType": {
            "$ref": "#/components/schemas/ChartAreaFillType"
          }
        }
      },
      "ExtensionsBag": {
        "type": "object",
        "additionalProperties": true,
        "description": "An escape hatch for visualization settings that do not yet have\na typed field of their own. Contents are stored and returned\nunchanged and are not validated, so newer clients can round-trip\nsettings this version of the schema does not name.\n"
      },
      "LineOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "xConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "yConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "colorConfig": {
            "$ref": "#/components/schemas/ColorConfig"
          },
          "lineConfig": {
            "$ref": "#/components/schemas/LineConfig"
          },
          "horizontal": {
            "type": "boolean"
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "StackMode": {
        "type": "string",
        "enum": [
          "zero",
          "center",
          "normalize"
        ]
      },
      "BarOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "x2": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "xConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "yConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "colorConfig": {
            "$ref": "#/components/schemas/ColorConfig"
          },
          "barConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "showValues": {
                "type": "boolean"
              },
              "areaFillType": {
                "$ref": "#/components/schemas/ChartAreaFillType"
              },
              "horizontal": {
                "type": "boolean"
              },
              "grouped": {
                "type": "boolean"
              }
            }
          },
          "stack": {
            "$ref": "#/components/schemas/StackMode"
          },
          "histogram": {
            "type": "boolean"
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "AreaOptions": {
        "type": "object",
        "additionalProperties": false,
        "description": "Stacked-area chart options.",
        "properties": {
          "xConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "yConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "colorConfig": {
            "$ref": "#/components/schemas/ColorConfig"
          },
          "areaConfig": {
            "$ref": "#/components/schemas/LineConfig"
          },
          "horizontal": {
            "type": "boolean"
          },
          "stack": {
            "$ref": "#/components/schemas/StackMode"
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "ScatterOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "xConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "yConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "colorConfig": {
            "$ref": "#/components/schemas/ColorConfig"
          },
          "labelConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "field": {
                "$ref": "#/components/schemas/FieldRef"
              }
            }
          },
          "radiusConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "field": {
                "$ref": "#/components/schemas/FieldRef"
              },
              "range": {
                "$ref": "#/components/schemas/AxisBounds"
              },
              "scaleType": {
                "type": "string",
                "enum": [
                  "log",
                  "linear"
                ]
              },
              "fillType": {
                "type": "string",
                "enum": [
                  "solid",
                  "none",
                  "translucent"
                ]
              }
            }
          },
          "horizontal": {
            "type": "boolean"
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "TableOptions": {
        "type": "object",
        "additionalProperties": false,
        "description": "Table presentation lives in `Visualization.tableConfig`; this\nvariant only carries the extensions escape hatch.\n",
        "properties": {
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "SingleStatOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "yConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "domain": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "range": {
                    "$ref": "#/components/schemas/AxisBounds"
                  }
                }
              },
              "format": {
                "$ref": "#/components/schemas/CellNumberFormat"
              },
              "color": {
                "$ref": "#/components/schemas/ColorConfig"
              },
              "showRaw": {
                "type": "boolean"
              }
            }
          },
          "style": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "textMode": {
                "type": "string",
                "enum": [
                  "value",
                  "name"
                ]
              },
              "textAlignment": {
                "type": "string",
                "enum": [
                  "center"
                ]
              },
              "colorMode": {
                "type": "string",
                "enum": [
                  "value",
                  "none"
                ]
              },
              "chartMode": {
                "type": "string",
                "enum": [
                  "none",
                  "line"
                ]
              },
              "showPercentChange": {
                "type": "boolean"
              },
              "label": {
                "type": "string"
              },
              "valueFontSize": {
                "type": "number",
                "format": "double"
              },
              "groupFontSize": {
                "type": "number",
                "format": "double"
              }
            }
          },
          "facet": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "sort": {
                "type": "string",
                "enum": [
                  "value-ascending",
                  "value-descending",
                  "name-ascending",
                  "name-descending"
                ]
              },
              "limit": {
                "type": "integer",
                "minimum": 1
              }
            }
          },
          "aggregation": {
            "type": "string",
            "enum": [
              "last-non-null",
              "last",
              "first-non-null",
              "first"
            ]
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "HeatmapOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "fieldValue": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "autobinTemporalAxis": {
            "type": "boolean"
          },
          "xBinSize": {
            "type": "number",
            "format": "double"
          },
          "yBinSize": {
            "type": "number",
            "format": "double"
          },
          "useLogColorScale": {
            "type": "boolean"
          },
          "colorScale": {
            "$ref": "#/components/schemas/SequentialColorScale"
          },
          "useReverseColorScale": {
            "type": "boolean"
          },
          "showValueText": {
            "type": "boolean"
          },
          "aggregate": {
            "type": "string",
            "description": "Vega-Lite non-arg aggregate op (e.g. \"count\", \"sum\", \"mean\")."
          },
          "valueFormattingConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "TopValueConfig": {
        "type": "object",
        "additionalProperties": false,
        "description": "Value-axis config for TopList / ChangeOverTime.",
        "properties": {
          "range": {
            "$ref": "#/components/schemas/AxisBounds"
          },
          "scaleType": {
            "$ref": "#/components/schemas/LogScale"
          },
          "format": {
            "$ref": "#/components/schemas/CellNumberFormat"
          },
          "color": {
            "$ref": "#/components/schemas/ColorConfig"
          },
          "showAxis": {
            "type": "boolean"
          },
          "label": {
            "type": "string"
          },
          "aggregate": {
            "type": "string",
            "description": "Optional aggregate op (TopList only)."
          }
        }
      },
      "TopListOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "key": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "value": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "viewConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "useSingleStatOnSingleGroup": {
                "type": "boolean"
              }
            }
          },
          "keyConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "label": {
                "type": "string"
              },
              "order": {
                "type": "string",
                "enum": [
                  "descending",
                  "ascending"
                ]
              },
              "showOthers": {
                "type": "boolean"
              },
              "limit": {
                "type": "integer",
                "minimum": 1
              }
            }
          },
          "valueConfig": {
            "$ref": "#/components/schemas/TopValueConfig"
          },
          "barConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "bandSize": {
                "type": "number",
                "format": "double"
              }
            }
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "ChangeOverTimeOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "key": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "value": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "keyConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "label": {
                "type": "string"
              },
              "order": {
                "type": "string",
                "enum": [
                  "descending",
                  "ascending"
                ]
              }
            }
          },
          "valueConfig": {
            "$ref": "#/components/schemas/TopValueConfig"
          },
          "barConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "bandSize": {
                "type": "number",
                "format": "double"
              }
            }
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "AnomalyOptions": {
        "type": "object",
        "additionalProperties": false,
        "description": "Settings for the anomaly chart: which column marks anomalous\npoints, which one separates the series, and how the two axes\nare drawn.\n\nThis chart type is read-only. The product has no editor for\nit, and only the monitor view produces one. Preserve these\nsettings when updating a dashboard that already has one, but\ndo not author them.\n",
        "properties": {
          "redPointField": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "seriesField": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "xConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "yConfig": {
            "$ref": "#/components/schemas/AxisConfig"
          },
          "curve": {
            "$ref": "#/components/schemas/LineCurveType"
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "CustomVegaOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "spec": {
            "type": "object",
            "additionalProperties": true,
            "description": "Full Vega specification (JSON)."
          },
          "prompt": {
            "type": "string",
            "description": "Editor metadata; renderers ignore it."
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "CustomVegaLiteOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "spec": {
            "type": "object",
            "additionalProperties": true,
            "description": "Full Vega-Lite specification (JSON)."
          },
          "prompt": {
            "type": "string",
            "description": "Editor metadata; renderers ignore it."
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "PieOptions": {
        "type": "object",
        "additionalProperties": false,
        "description": "Pie / donut chart options. `key` picks the column that divides the\ncircle into slices and `value` the column that sizes them, so the\nencoding is the key/value pair TopList uses rather than x/y.\n",
        "properties": {
          "key": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "value": {
            "$ref": "#/components/schemas/FieldRef"
          },
          "keyConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "order": {
                "type": "string",
                "enum": [
                  "descending",
                  "ascending"
                ]
              },
              "showOthers": {
                "type": "boolean",
                "description": "Collapse the slices beyond `limit` into a single\n\"Other\" slice instead of dropping them.\n"
              },
              "limit": {
                "type": "integer",
                "minimum": 1
              },
              "color": {
                "$ref": "#/components/schemas/ColorConfig"
              }
            }
          },
          "valueConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "format": {
                "$ref": "#/components/schemas/CellNumberFormat"
              }
            }
          },
          "pieConfig": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "innerRadius": {
                "type": "number",
                "format": "double",
                "description": "Hole size as a fraction of the outer radius. `0`\n(the default) is a full pie; any larger value\nrenders a donut.\n"
              },
              "showValues": {
                "type": "boolean"
              }
            }
          },
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "LegacyD3Options": {
        "type": "object",
        "additionalProperties": true,
        "description": "Options for the legacy chart types — both the deprecated\nvariants of a current chart type and the specialized charts\nthat have no current equivalent. These charts predate the typed\noptions above, so their settings vary by chart type and are\nonly loosely validated: whatever is sent is preserved\nunchanged under `extensions`.\n\nNew content SHOULD NOT use a deprecated type. Where a current\nequivalent exists (for example `line` in place of\n`timeseries_deprecated`), author that instead.\n",
        "properties": {
          "extensions": {
            "$ref": "#/components/schemas/ExtensionsBag"
          }
        }
      },
      "VisualizationOptions": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "$ref": "#/components/schemas/VizType"
          },
          "line": {
            "$ref": "#/components/schemas/LineOptions"
          },
          "bar": {
            "$ref": "#/components/schemas/BarOptions"
          },
          "area": {
            "$ref": "#/components/schemas/AreaOptions"
          },
          "scatter": {
            "$ref": "#/components/schemas/ScatterOptions"
          },
          "table": {
            "$ref": "#/components/schemas/TableOptions"
          },
          "singleStat": {
            "$ref": "#/components/schemas/SingleStatOptions"
          },
          "heatmap": {
            "$ref": "#/components/schemas/HeatmapOptions"
          },
          "topList": {
            "$ref": "#/components/schemas/TopListOptions"
          },
          "changeOverTime": {
            "$ref": "#/components/schemas/ChangeOverTimeOptions"
          },
          "anomaly": {
            "$ref": "#/components/schemas/AnomalyOptions"
          },
          "customVega": {
            "$ref": "#/components/schemas/CustomVegaOptions"
          },
          "customVegaLite": {
            "$ref": "#/components/schemas/CustomVegaLiteOptions"
          },
          "pie": {
            "$ref": "#/components/schemas/PieOptions"
          },
          "legacyD3": {
            "$ref": "#/components/schemas/LegacyD3Options",
            "description": "Populated for every deprecated / D3-only `type`\n(timeseries_deprecated, histogram, gantt, ...).\n"
          }
        }
      },
      "Visualization": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "description": "How a query card's results are rendered. `type` picks the chart\ntype; `x`, `y`, and `groupBy` map result columns onto the\nchart's axes and series; `legend`, `thresholds`, and\n`annotations` apply to every chart type; and `options` carries\nthe settings specific to the chosen `type`.\n",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/VizType"
          },
          "x": {
            "$ref": "#/components/schemas/FieldRef",
            "description": "The result column plotted on the x-axis. Usually a plain\ncolumn id (`{type: column, column: \"<id>\"}`); use the\n`link` form when the axis groups by a link or resource\nrather than a single column.\n"
          },
          "y": {
            "type": "array",
            "description": "The result column or columns plotted on the y-axis.\nUsually plain column ids\n(`{type: column, column: \"<id>\"}`); an entry may use the\n`link` form to address a link or resource by its source\nfields.\n",
            "items": {
              "$ref": "#/components/schemas/FieldRef"
            }
          },
          "groupBy": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "legend": {
            "$ref": "#/components/schemas/LegendConfig"
          },
          "thresholds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Threshold"
            }
          },
          "annotations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Annotation"
            }
          },
          "tableConfig": {
            "$ref": "#/components/schemas/TableConfig",
            "description": "Meaningful only when `type == \"table\"`."
          },
          "options": {
            "$ref": "#/components/schemas/VisualizationOptions",
            "description": "Settings specific to the chosen chart type — axis, color,\nline, and bar configuration and so on. `options.type`\nselects the variant and always matches\n`Visualization.type`.\n\nAnything that applies to every chart type lives at the\ntop level instead and is not repeated here: the `x`,\n`y`, and `groupBy` encodings and the `legend`,\n`thresholds`, and `annotations` settings. Each variant\nalso carries an `extensions` object for settings that do\nnot yet have a typed field.\n"
          }
        }
      },
      "LinkTargetUrl": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "url"
        ],
        "description": "A link to an arbitrary URL.",
        "properties": {
          "url": {
            "type": "string"
          },
          "icon": {
            "type": "string",
            "description": "Icon name for the URL link in card chrome. Default `link`.\nOmit when default.\n"
          }
        }
      },
      "LinkTargetDashboard": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "targetDashboardId"
        ],
        "properties": {
          "targetDashboardId": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "targetDashboardName": {
            "type": "string",
            "description": "Cached display name of the destination dashboard. Optional but\nencouraged — used as the chrome label when `Drilldown.name` is\nomitted.\n"
          }
        }
      },
      "LinkTargetLogExplorer": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "targetDatasetId": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "targetDatasetName": {
            "type": "string"
          }
        }
      },
      "LinkTargetTraceExplorer": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "targetDatasetId": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "targetDatasetName": {
            "type": "string"
          }
        }
      },
      "LinkTargetMetricsExplorer": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "targetDatasetId": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "targetDatasetName": {
            "type": "string"
          },
          "targetMetricName": {
            "type": "string",
            "description": "Optional metric to preselect in the metrics explorer."
          }
        }
      },
      "LinkTargetServiceExplorer": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "targetDatasetId": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "targetDatasetName": {
            "type": "string"
          }
        }
      },
      "LinkTarget": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "kind"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "link",
              "dashboard",
              "logExplorer",
              "traceExplorer",
              "metricsExplorer",
              "serviceExplorer"
            ]
          },
          "link": {
            "$ref": "#/components/schemas/LinkTargetUrl"
          },
          "dashboard": {
            "$ref": "#/components/schemas/LinkTargetDashboard"
          },
          "logExplorer": {
            "$ref": "#/components/schemas/LinkTargetLogExplorer"
          },
          "traceExplorer": {
            "$ref": "#/components/schemas/LinkTargetTraceExplorer"
          },
          "metricsExplorer": {
            "$ref": "#/components/schemas/LinkTargetMetricsExplorer"
          },
          "serviceExplorer": {
            "$ref": "#/components/schemas/LinkTargetServiceExplorer"
          }
        }
      },
      "DrilldownTimeRange": {
        "type": "string",
        "enum": [
          "current",
          "default",
          "none"
        ],
        "description": "Which time range the destination opens with. `current` (the default)\ncarries over the source card's selected range. `default` uses the\ntarget dashboard's own default range. `none` sends no time range at\nall. Omit when `current`.\n"
      },
      "DrilldownSourceParameter": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "sourceName"
        ],
        "properties": {
          "sourceName": {
            "type": "string",
            "description": "Name of the source dashboard parameter."
          }
        }
      },
      "DrilldownSourceGrouping": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "columnId"
        ],
        "properties": {
          "columnId": {
            "type": "string",
            "description": "Column name (or dataset id for resource groupings)."
          }
        }
      },
      "DrilldownSourceCustom": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "value"
        ],
        "properties": {
          "value": {
            "type": "string"
          }
        }
      },
      "DrilldownSourceSelectionResource": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        }
      },
      "DrilldownSourceSelectionTag": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "tag"
        ],
        "properties": {
          "tag": {
            "type": "string"
          }
        }
      },
      "DrilldownSource": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "parameter",
              "grouping",
              "custom",
              "selection-resource",
              "selection-tag"
            ]
          },
          "parameter": {
            "$ref": "#/components/schemas/DrilldownSourceParameter"
          },
          "grouping": {
            "$ref": "#/components/schemas/DrilldownSourceGrouping"
          },
          "custom": {
            "$ref": "#/components/schemas/DrilldownSourceCustom"
          },
          "selectionResource": {
            "$ref": "#/components/schemas/DrilldownSourceSelectionResource"
          },
          "selectionTag": {
            "$ref": "#/components/schemas/DrilldownSourceSelectionTag"
          }
        }
      },
      "DrilldownParameter": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "destinationName",
          "source"
        ],
        "properties": {
          "destinationName": {
            "type": "string"
          },
          "isRequiredCorrelationTag": {
            "type": "boolean",
            "description": "When `true` and source is `parameter` pointing to a\ncorrelation tag parameter, the destination will receive\na `requiredTag-` prefixed query parameter. Default `false`.\nOmit when default.\n"
          },
          "isColumnFilter": {
            "type": "boolean",
            "description": "When `true`, generation serializes the mapping with a\n`filter-<destinationName>=` query key instead of `tag-` /\n`requiredTag-`. Used for column/resource filter mappings on\nexplorer destinations. Default `false`. Omit when default.\n"
          },
          "source": {
            "$ref": "#/components/schemas/DrilldownSource"
          }
        }
      },
      "Drilldown": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "trigger",
          "target"
        ],
        "description": "A link from a card to somewhere else — another dashboard, one of the\nexplorers, or an external URL — optionally carrying the card's time\nrange and parameter values across to the destination.\n",
        "properties": {
          "trigger": {
            "type": "string",
            "enum": [
              "card",
              "row"
            ],
            "description": "What the viewer interacts with to follow the link.\n`card` — a link offered on the card itself.\n`row`  — a drilldown from clicking a data point or table row.\n"
          },
          "target": {
            "$ref": "#/components/schemas/LinkTarget"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Authored label for the link. Omit when unnamed; clients may fall\nback to naming the destination (URL, dashboard name, explorer\ndataset). Empty string is invalid — absence is omission.\n"
          },
          "timeRange": {
            "$ref": "#/components/schemas/DrilldownTimeRange"
          },
          "includeFilteredDataset": {
            "type": "boolean",
            "description": "When `true`, explorer destinations also receive the source\ndocument's current dataset-filter query params. Default `false`.\nOmit when default.\n"
          },
          "openInNewTab": {
            "type": "boolean",
            "description": "Default `true`. Omit when default."
          },
          "parameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DrilldownParameter"
            }
          }
        }
      },
      "Query": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "content"
        ],
        "description": "A query card: an OPAL pipeline run over one or more data inputs and\nrendered as a visualization. This is the default card type in both\ndashboards and worksheets.\n\nA card carries either a single `visualization` or, when each\nexpression in the query is charted separately, a `multiVisualization`\narray. Exactly one of the two is present.\n",
        "properties": {
          "type": {
            "const": "query",
            "description": "Default `query`. May be omitted."
          },
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Stable identifier for this query. Any non-empty string; the\nformat is not constrained. Ids are stored exactly as sent, so\nreferences from other cards stay valid.\n"
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "description": "Optional. User-authored card title. Omit when the card is\nunnamed; clients synthesize a display name (e.g. \"Untitled\nStage N\") and must not persist that placeholder. Empty\nstring is invalid — absence is omission. Hidden / base\nqueries are identified by `id`, not by label. (Grid\nplacement lives on the wrapping `Card.geometry`, not here.)\n"
          },
          "timeRange": {
            "$ref": "#/components/schemas/FrontendTimeRange"
          },
          "content": {
            "$ref": "#/components/schemas/CardContent"
          },
          "visualization": {
            "$ref": "#/components/schemas/Visualization"
          },
          "multiVisualization": {
            "type": "array",
            "description": "One visualization per expression, for a card whose query has\nseveral expressions and charts each one separately. Each entry\npairs an expression id (`A`, `B`, ...) with its visualization —\nfor example a dual-axis chart where `A` is a line and `B` is a\nbar. Present instead of `visualization`.\n",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "expression",
                "visualization"
              ],
              "properties": {
                "expression": {
                  "type": "string",
                  "description": "The expression id this visualization renders."
                },
                "visualization": {
                  "$ref": "#/components/schemas/Visualization"
                }
              }
            }
          },
          "drilldowns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Drilldown"
            }
          },
          "ui": {
            "type": "object",
            "description": "Opaque card-level UI state, stored and returned unchanged. Must be\na JSON object; its contents are not validated.\n",
            "additionalProperties": true
          }
        }
      },
      "Geometry": {
        "type": "object",
        "additionalProperties": false,
        "description": "A card's placement within its section's grid, measured from the\nsection's top-left corner. `x` and `w` are in grid columns (the\ngrid is 12 columns wide); `y` and `h` are in grid rows.\n",
        "required": [
          "x",
          "y",
          "w",
          "h"
        ],
        "properties": {
          "x": {
            "type": "integer",
            "minimum": 0
          },
          "y": {
            "type": "integer",
            "minimum": 0
          },
          "w": {
            "type": "integer",
            "minimum": 1
          },
          "h": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "MarkdownCard": {
        "type": "object",
        "additionalProperties": false,
        "description": "A text card. Renders formatted prose rather than data.",
        "required": [
          "body"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "body": {
            "type": "string",
            "description": "CommonMark text rendered in the card."
          }
        }
      },
      "ImageCard": {
        "type": "object",
        "additionalProperties": false,
        "description": "A static image card. Renders the image at `url` inside the\ncard's grid placement.\n",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "description": "Image source URL."
          },
          "stretch": {
            "type": "boolean",
            "description": "When `true`, the image stretches to fill the card. Default\n`false`. Omit when default.\n"
          },
          "resizeBehavior": {
            "type": "string",
            "enum": [
              "height",
              "width",
              "fill",
              "contain"
            ],
            "description": "How the image is fitted within the card bounds."
          },
          "backgroundFillColor": {
            "type": "string",
            "description": "CSS color painted behind the image (letterboxing)."
          }
        }
      },
      "Card": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "type",
          "geometry"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "query",
              "parameter",
              "markdown",
              "image"
            ]
          },
          "geometry": {
            "$ref": "#/components/schemas/Geometry"
          },
          "query": {
            "$ref": "#/components/schemas/Query",
            "description": "Populated when `type` is `query`; absent otherwise."
          },
          "parameter": {
            "$ref": "#/components/schemas/Parameter",
            "description": "The parameter definition rendered as an input control.\nPopulated when `type` is `parameter`; absent otherwise.\n"
          },
          "markdown": {
            "$ref": "#/components/schemas/MarkdownCard",
            "description": "Populated when `type` is `markdown`; absent otherwise."
          },
          "image": {
            "$ref": "#/components/schemas/ImageCard",
            "description": "Populated when `type` is `image`; absent otherwise."
          }
        }
      },
      "Section": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "title",
          "cards"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "collapsed": {
            "type": "boolean",
            "description": "Default `false`. Omit when default."
          },
          "hideParameter": {
            "type": "string",
            "description": "Id of a parameter that controls this section's visibility\n(the \"hide sections\" feature). When that parameter has a\ntruthy value the section is hidden from viewers. Absent when\nthe section is always shown.\n"
          },
          "cards": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Card"
            }
          }
        }
      },
      "Layout": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "sections"
        ],
        "description": "Sections are laid out in a 12-column grid. The grid width is a\nfixed UI convention, not a stored field.\n",
        "properties": {
          "sections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Section"
            }
          }
        }
      },
      "DashboardContent": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "layout"
        ],
        "description": "The dashboard body — what the dashboard shows — kept separate\nfrom the identity, audit, and governance metadata on the\ndashboard itself so the two can evolve independently. This is\nthe object governed by `schemaVersion`.\n",
        "properties": {
          "defaultTimeRange": {
            "$ref": "#/components/schemas/FrontendTimeRange"
          },
          "datasetFilter": {
            "$ref": "#/components/schemas/DatasetFilter",
            "description": "Optional filterable dataset that acts as a cross-card filter\nsource. Cards reference it via `Input.source.datasetFilter`.\nThe current UI allows at most one per dashboard.\n"
          },
          "inputFilter": {
            "type": "string",
            "description": "Boolean OPAL statement applied as a filter to every\nquery input before that query's own pipeline. Absent\nwhen the input-filter bar is not shown. An empty\nstring means the bar is shown but blank. Omit the field\nonly when the bar is absent — an empty string and an\nomitted field are different states.\n"
          },
          "hiddenParameters": {
            "type": "array",
            "description": "Parameters that are not placed on the grid as a\nparameter card in any section. They still drive the\ndashboard's queries. This is separate from\n`Parameter.hidden`, which hides the input control of a\nparameter that *is* placed.\n",
            "items": {
              "$ref": "#/components/schemas/Parameter"
            }
          },
          "hiddenQueries": {
            "type": "array",
            "description": "Data-only query cards that are not displayed in any section.\nTypically shared base queries referenced as inputs by visible\ncards (`Input.source.card`).\n",
            "items": {
              "$ref": "#/components/schemas/Query"
            }
          },
          "ui": {
            "type": "object",
            "additionalProperties": true,
            "description": "Opaque dashboard-level UI state, stored and returned\nunchanged. Must be a JSON object; its contents are not\nvalidated. Recognized keys include\n`liveMode` (auto-refresh enabled), `autoPack`,\n`selectedCardId`, and `additionalDatasetFilters`, which\nholds any filterable datasets beyond the primary\n`datasetFilter`.\n"
          },
          "layout": {
            "$ref": "#/components/schemas/Layout"
          }
        }
      },
      "Dashboard-Resource": {
        "title": "DashboardResource",
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "schemaVersion",
          "name",
          "description",
          "createdAt",
          "updatedAt",
          "createdBy",
          "updatedBy",
          "managedBy",
          "visibility",
          "objectTags",
          "definition"
        ],
        "description": "Dashboard resource returned by List, Get, Create, and Update.\n\n`definition` is `null` in list responses (envelope metadata only) and\npopulated for Get, Create, and Update.\n\nWhen `expand=true`, `createdBy` and `updatedBy` include display\nfields (e.g. `label`); `managedBy.record` is populated. Without\n`expand`, references contain only `id`.\n",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ObjectId",
            "readOnly": true
          },
          "schemaVersion": {
            "type": "integer",
            "enum": [
              2
            ],
            "description": "Dashboard document schema version. Always `2` on the wire."
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "$ref": "#/components/schemas/Time"
          },
          "updatedAt": {
            "$ref": "#/components/schemas/Time"
          },
          "createdBy": {
            "$ref": "#/components/schemas/User"
          },
          "updatedBy": {
            "$ref": "#/components/schemas/User"
          },
          "managedBy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ObjectRef"
              },
              {
                "type": "null"
              }
            ],
            "description": "The app or other object that manages this dashboard, or `null` when\nit is not managed. Returned only — it cannot be set through this\nAPI.\n"
          },
          "visibility": {
            "type": "string",
            "enum": [
              "Listed",
              "Hidden"
            ]
          },
          "objectTags": {
            "$ref": "#/components/schemas/ObjectTags"
          },
          "definition": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DashboardContent"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "Dashboard-CreateRequest": {
        "title": "DashboardCreateRequest",
        "type": "object",
        "additionalProperties": false,
        "required": [
          "schemaVersion",
          "name",
          "definition"
        ],
        "description": "Request body for creating a dashboard. Identity and audit fields are\nassigned by the server.\n",
        "properties": {
          "schemaVersion": {
            "type": "integer",
            "enum": [
              2
            ],
            "description": "Must be `2`."
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "visibility": {
            "type": "string",
            "enum": [
              "Listed",
              "Hidden"
            ],
            "description": "Default `Listed` when omitted."
          },
          "objectTags": {
            "$ref": "#/components/schemas/ObjectTags"
          },
          "definition": {
            "$ref": "#/components/schemas/DashboardContent"
          }
        }
      }
    },
    "parameters": {
      "ExpandParam": {
        "name": "expand",
        "in": "query",
        "description": "Whether to expand resources referenced in the response to include additional fields",
        "schema": {
          "type": "boolean"
        }
      }
    },
    "responses": {
      "ErrorResponse-400": {
        "description": "Bad request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-401": {
        "description": "Unauthorized",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-403": {
        "description": "Forbidden",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-429": {
        "description": "Rate limit reached",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-5XX": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-409": {
        "description": "Conflict",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      }
    }
  }
}
````